# 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 = "foxtive-ntex"
version = "0.26.0"
authors = ["ahmard"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Micro-Framework Based on Ntex"
readme = "README.md"
license = "MIT"
repository = "https://github.com/foxtive/foxtive-ntex"

[features]
database = ["foxtive/database"]
jwt = [
    "foxtive/jwt",
    "dep:jsonwebtoken",
]
multipart = ["foxtive-ntex-multipart"]
static = ["dep:ntex-files"]
strum = ["dep:strum"]
validator = ["dep:validator"]

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

[dependencies.chrono]
version = "0.4.43"
features = ["serde"]
default-features = false

[dependencies.foxtive]
version = "0.20.0"
features = ["http"]
default-features = false

[dependencies.foxtive-ntex-multipart]
version = "0"
optional = true
default-features = false

[dependencies.futures-util]
version = "0.3.31"
default-features = false

[dependencies.jsonwebtoken]
version = "10.3.0"
features = ["rust_crypto"]
optional = true

[dependencies.mime]
version = "0.3.17"

[dependencies.ntex]
version = "3.0.1"
default-features = false

[dependencies.ntex-cors]
version = "3.2.1"

[dependencies.ntex-files]
version = "3.1.0"
optional = true

[dependencies.serde]
version = "1.0.228"
default-features = false

[dependencies.serde_json]
version = "1.0.149"
default-features = false

[dependencies.strum]
version = "0.27.2"
optional = true
default-features = false

[dependencies.thiserror]
version = "2.0.18"
default-features = false

[dependencies.tokio]
version = "1.49.0"
default-features = false

[dependencies.tracing]
version = "0.1.44"

[dependencies.uuid]
version = "1.20.0"
default-features = false

[dependencies.validator]
version = "0.20.0"
features = ["derive"]
optional = true

[dev-dependencies.ntex]
version = "3.0.1"
features = ["tokio"]
default-features = false

[dev-dependencies.tokio]
version = "1.49.0"
features = [
    "test-util",
    "macros",
]
