sa-token-plugin-ntex 0.2.0

Ntex framework integration for sa-token-rust (facade over versioned bindings)
# 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"
rust-version = "1.85"
name = "sa-token-plugin-ntex"
version = "0.2.0"
authors = ["金书记"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ntex 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"

[package.metadata.docs.rs]
features = [
    "v4",
    "v5",
    "memory",
    "redis",
    "database",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

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

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

[dependencies.sa-token-plugin-ntex-v212]
version = "0.2.0"
optional = true

[lints.clippy]
dbg_macro = "deny"
expect_used = "warn"
float_cmp = "deny"
indexing_slicing = "warn"
mem_forget = "deny"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
panic = "warn"
print_stderr = "deny"
print_stdout = "deny"
todo = "deny"
too_many_lines = "allow"
unimplemented = "deny"
unwrap_in_result = "warn"
unwrap_used = "warn"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "allow"
priority = -1

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_lifetimes = "deny"
unused_must_use = "deny"
unused_qualifications = "warn"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1