# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "seance" version = "0.12.0" authors = ["Ross Nomann "] description = "A session library" documentation = "https://docs.rs/seance" readme = "README.md" license = "MIT" repository = "https://github.com/rossnomann/seance" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "nightly", ] [[test]] name = "fs" required-features = ["fs-backend"] [[test]] name = "redis" required-features = ["redis-backend"] [dependencies.futures-util] version = "0.3" [dependencies.log] version = "0.4" [dependencies.redis] version = "0.25" features = ["tokio-comp"] optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.tokio] version = "1.38" features = [ "sync", "time", ] default-features = false [dev-dependencies.tempfile] version = "3.10" [dev-dependencies.tokio] version = "1.38" features = [ "sync", "time", "macros", "rt-multi-thread", ] default-features = false [features] fs-backend = ["tokio/fs"] redis-backend = ["dep:redis"] [lints.rust.unexpected_cfgs] level = "warn" priority = 0