{"agent":"claude","input":"Add rate limiting to this Rocket API. Read Cargo.toml, rust-toolchain, src/lib.rs, src/config.rs, src/auth.rs, src/errors.rs, src/routes/users.rs, tests/common.rs and .travis.yml first. Add a request guard backed by the governor crate, keyed on the client address, with its quota read from environment variables in config.rs with sensible defaults, held in managed state like AppState. Apply it to the registration and login routes only. Answer 429 with the same JSON shape as the existing 404 catcher and a Retry-After header. Keep the existing tests passing: they share one client and log in on every test, so set a high limit for the suite and write a separate test that builds its own rocket with a small quota and asserts the 429, the header and recovery after the window. Install Postgres, seed it with init.sql and run the Diesel migrations as .travis.yml does, then run cargo test on the pinned nightly. Document the variables in .env and README.md, add a CHANGELOG line, and open a pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}