# 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 = "2024"
name = "sa-token-plugin-rocket"
version = "0.1.10"
authors = ["金书记"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rocket framework integration for sa-token-rust - All-in-one package"
homepage = "https://github.com/llc-993/sa-token-rust"
documentation = "https://docs.rs/sa-token-rust"
readme = "README.md"
keywords = [
    "authentication",
    "authorization",
    "token",
    "security",
    "web",
]
categories = [
    "authentication",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/llc-993/sa-token-rust"
resolver = "2"

[features]
database = ["sa-token-storage-database"]
default = ["memory"]
full = [
    "memory",
    "redis",
    "database",
]
memory = ["sa-token-storage-memory"]
redis = ["sa-token-storage-redis"]

[lib]
name = "sa_token_plugin_rocket"
path = "src/lib.rs"

[dependencies.async-trait]
version = "0.1"

[dependencies.rocket]
version = "0.5"

[dependencies.sa-token-adapter]
version = "0.1.10"

[dependencies.sa-token-core]
version = "0.1.10"

[dependencies.sa-token-macro]
version = "0.1.10"

[dependencies.sa-token-storage-database]
version = "0.1.10"
optional = true

[dependencies.sa-token-storage-memory]
version = "0.1.10"
optional = true

[dependencies.sa-token-storage-redis]
version = "0.1.10"
optional = true

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.tokio]
version = "1.35"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dependencies.urlencoding]
version = "2.1.3"
