# 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.17"
authors = ["金书记"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rocket framework integration for sa-token-rust (facade over versioned bindings)"
homepage = "https://github.com/sa-tokens/sa-token-rust.git"
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/sa-tokens/sa-token-rust.git"
resolver = "2"

[features]
database = ["sa-token-plugin-rocket-v05?/database"]
default = [
    "v05",
    "memory",
]
full = [
    "memory",
    "redis",
    "database",
]
memory = ["sa-token-plugin-rocket-v05?/memory"]
redis = ["sa-token-plugin-rocket-v05?/redis"]
v05 = ["dep:sa-token-plugin-rocket-v05"]

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

[dependencies.sa-token-plugin-rocket-v05]
version = "0.1.17"
optional = true
