71 lines
1.8 KiB
TOML
71 lines
1.8 KiB
TOML
# 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 believe there's an error in this file please file an
|
|
# issue against the rust-lang/cargo repository. If you're
|
|
# editing this file be aware that the upstream Cargo.toml
|
|
# will likely look very different (and much more reasonable)
|
|
|
|
[package]
|
|
edition = "2018"
|
|
name = "cookie"
|
|
version = "0.16.0"
|
|
authors = ["Sergio Benitez <sb@sergio.bz>", "Alex Crichton <alex@alexcrichton.com>"]
|
|
build = "build.rs"
|
|
description = "HTTP cookie parsing and cookie jar management. Supports signed and private\n(encrypted, authenticated) jars.\n"
|
|
documentation = "https://docs.rs/cookie"
|
|
readme = "README.md"
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/SergioBenitez/cookie-rs"
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
[dependencies.aes-gcm]
|
|
version = "0.9.0"
|
|
optional = true
|
|
|
|
[dependencies.base64]
|
|
version = "0.13"
|
|
optional = true
|
|
|
|
[dependencies.hkdf]
|
|
version = "0.12.0"
|
|
optional = true
|
|
|
|
[dependencies.hmac]
|
|
version = "0.12.0"
|
|
optional = true
|
|
|
|
[dependencies.percent-encoding]
|
|
version = "2.0"
|
|
optional = true
|
|
|
|
[dependencies.rand]
|
|
version = "0.8"
|
|
optional = true
|
|
|
|
[dependencies.sha2]
|
|
version = "0.10.0"
|
|
optional = true
|
|
|
|
[dependencies.subtle]
|
|
version = "2.3"
|
|
optional = true
|
|
|
|
[dependencies.time]
|
|
version = "0.3"
|
|
features = ["std", "parsing", "formatting", "macros"]
|
|
default-features = false
|
|
[build-dependencies.version_check]
|
|
version = "0.9"
|
|
|
|
[features]
|
|
key-expansion = ["sha2", "hkdf"]
|
|
percent-encode = ["percent-encoding"]
|
|
private = ["aes-gcm", "base64", "rand", "subtle"]
|
|
secure = ["private", "signed", "key-expansion"]
|
|
signed = ["hmac", "sha2", "base64", "rand", "subtle"]
|