ruts 0.7.1

A middleware for tower sessions
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
fn main() {
    #[cfg(feature = "redis-store")]
    {
        #[cfg(not(any(feature = "bincode", feature = "messagepack")))]
        compile_error!(
            "redis-store feature requires either 'bincode' or 'messagepack' feature to be enabled"
        );

        #[cfg(all(feature = "bincode", feature = "messagepack"))]
        compile_error!("Cannot enable both 'bincode' and 'messagepack' features simultaneously");
    }
}