{"agent":"claude","input":"Write tests for this Rocket server. Read Cargo.toml and rust-toolchain.toml first and build with the toolchain and the database feature they imply (in a server shaped like dani-garcia/vaultwarden, --features sqlite). The crate is a binary, so put unit tests in #[cfg(test)] mod tests blocks inside the modules they cover, in the style of the existing tests in src/auth.rs. Cover every public function in src/crypto.rs and the untested helpers in src/util.rs (display sizes, date formatting and parsing, email validation, JSON key conversion, feature flag parsing) with round trips and known vectors. Add Rocket local-client tests for two unauthenticated routes in src/api/core/mod.rs, GET /api/now and GET /api/version, by mounting core_routes() at /api on a test Rocket and asserting status, content type and body; set DATA_FOLDER to a temporary directory before anything reads CONFIG. Change no production code unless a test reveals a bug; if it does, fix it in its own commit and say so. Run cargo test --profile ci --features sqlite, cargo clippy --profile ci --features sqlite,mysql,postgresql,enable_mimalloc,s3 with RUSTFLAGS=-Dwarnings, and cargo fmt --all -- --check, and open a pull request listing each function now covered.","resources":[{"url":"https://github.com/your-org/your-app"}]}