# 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 = "dce-session" version = "1.0.0" authors = ["Drunk Tan "] description = "A session lib with user binding and renewable." homepage = "https://drunkce.com" documentation = "https://docs.rs/dce-session" readme = "README.md" keywords = [ "session", "dce", "api", ] categories = [ "network-programming", "web-programming", ] license = "MIT" repository = "https://github.com/idrunk/dce-rust" [lib] crate-type = ["lib"] [[test]] name = "basic" required-features = [ "test", "redis-user-async", ] [[test]] name = "user" required-features = [ "test", "redis-user-async", ] [dependencies.async-trait] version = "0.1.77" optional = true [dependencies.dce-util] version = "1.*" [dependencies.futures] version = "0.3.30" features = ["std"] optional = true [dependencies.log] version = "0.4.20" [dependencies.rand] version = "0.8.5" [dependencies.redis] version = "0.25.2" features = ["tokio-comp"] optional = true [dependencies.serde] version = "1.0.197" features = ["derive"] [dependencies.serde_json] version = "1.0.114" [dependencies.sha2] version = "0.10.8" [dev-dependencies.redis-test] version = "0.4.0" features = ["aio"] [dev-dependencies.tokio] version = "1.32.0" features = ["full"] [features] async = [ "async-trait", "futures", ] auto-renew = [] connection = [] redis-connection = [ "redis-user", "connection", ] redis-connection-async = [ "redis-user-async", "connection", ] redis-connection-async-auto = [ "redis-user-async-auto", "connection", ] redis-user = [ "user", "redis", ] redis-user-async = [ "redis-user", "async", ] redis-user-async-auto = [ "redis-user-async", "auto-renew", ] redis-user-auto = [ "redis-user", "auto-renew", ] test = [] user = []