ntex-extras/ntex-session/Cargo.toml
leone b89f611c12
chore: upgrade to ntex 2.0 (#14)
* chore: upgrade to ntex 2.0

* bump version to 2.0
2024-05-28 17:38:47 +02:00

34 lines
850 B
TOML

[package]
name = "ntex-session"
version = "2.0.0"
authors = ["ntex contributors <team@ntex.rs>"]
description = "Session for ntex web framework."
readme = "README.md"
keywords = ["http", "web", "framework", "async", "futures"]
homepage = "https://ntex.rs"
repository = "https://github.com/ntex-rs/ntex-extras.git"
documentation = "https://docs.rs/ntex-session/"
license = "MIT"
edition = "2018"
[lib]
name = "ntex_session"
path = "src/lib.rs"
[features]
default = ["cookie-session"]
# sessions feature, session require "ring" crate and c compiler
cookie-session = ["cookie/secure", "ntex/cookie"]
[dependencies]
ntex = "2"
cookie = "0.18"
derive_more = "0.99"
futures = "0.3"
serde = "1.0"
serde_json = "1.0"
time = { version = "0.3", default-features = false, features = ["std"] }
[dev-dependencies]
ntex = { version = "2", features=["tokio"] }