Something went wrong. Try again.
Web frontend and supporting services for lance.blue
Something went wrong. Try again.
667 B · 13 lines
Rust
1234567891011121314//! Library target for this package, alongside its `main.rs` binary.//!//! Exists only so a dev-only binary under `src/bin/` can reuse the real//! `Db` and `SessionSigner` rather than reimplementing them — hand-signing//! a session cookie once, by re-deriving the HMAC-over-JSON scheme from//! reading `session.rs`, produced a cookie the server correctly rejected; a//! copy of code this easy to get subtly wrong is worse than none.//! `main.rs` does not depend on this crate — it keeps its own private `mod`//! declarations exactly as before, so the production binary's compilation//! is unchanged by this existing at all.
pub mod db;pub mod session;