# 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 = "neocrates"
version = "0.1.17"
authors = ["hamerkillers@gmail.com"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A comprehensive Rust library for various utilities and helpers"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/ooiai/neocrates.git"

[package.metadata.rust-analyzer.cargo]
features = ["full"]

[features]
aws = [
    "awss3",
    "awssts",
    "dep:aws-config",
    "dep:aws-types",
    "dep:reqwest",
    "dep:url",
    "dep:hmac",
    "dep:sha2",
]
awss3 = [
    "dep:aws-sdk-s3",
    "dep:aws-config",
    "dep:aws-types",
]
awssts = [
    "dep:aws-sdk-sts",
    "dep:aws-config",
    "dep:aws-types",
    "dep:reqwest",
    "dep:url",
    "dep:hmac",
    "dep:sha2",
]
crypto = [
    "dep:argon2",
    "dep:hmac",
    "dep:ring",
    "dep:sha2",
]
default = []
diesel = [
    "dep:diesel",
    "dep:deadpool",
    "dep:deadpool-diesel",
    "dep:diesel_migrations",
    "dep:url",
]
full = [
    "web",
    "aws",
    "awss3",
    "awssts",
    "diesel",
    "redis",
    "crypto",
    "sms",
    "logger",
]
logger = ["dep:tracing-subscriber"]
redis = [
    "dep:redis",
    "dep:bb8",
    "dep:bb8-redis",
    "dep:moka",
]
sms = []
web = [
    "dep:axum",
    "dep:tower",
    "dep:tower-http",
    "dep:hyper",
    "dep:reqwest",
    "dep:url",
    "dep:urlencoding",
]

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

[dependencies.anyhow]
version = "1.0"

[dependencies.argon2]
version = "0.5"
optional = true

[dependencies.async-stream]
version = "0.3"

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

[dependencies.aws-config]
version = "1.1.7"
features = ["behavior-version-latest"]
optional = true

[dependencies.aws-sdk-s3]
version = "1.83.0"
optional = true

[dependencies.aws-sdk-sts]
version = "1.66.0"
optional = true

[dependencies.aws-types]
version = "1.3.7"
optional = true

[dependencies.axum]
version = "0.8"
features = ["macros"]
optional = true

[dependencies.axum-extra]
version = "0.10"
features = ["typed-header"]
optional = true

[dependencies.base64]
version = "0.22"

[dependencies.bb8]
version = "0.9"
optional = true

[dependencies.bb8-redis]
version = "0.24"
optional = true

[dependencies.bon]
version = "3.8"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.crockford]
version = "1.2"

[dependencies.dashmap]
version = "6.1"

[dependencies.deadpool]
version = "0.12"
optional = true

[dependencies.deadpool-diesel]
version = "0.6"
features = ["postgres"]
optional = true

[dependencies.diesel]
version = "2"
features = [
    "chrono",
    "serde_json",
]
optional = true

[dependencies.diesel_migrations]
version = "2"
optional = true

[dependencies.env_logger]
version = "0.11"

[dependencies.flate2]
version = "1.0"

[dependencies.hex]
version = "0.4"

[dependencies.hmac]
version = "0.12"
optional = true

[dependencies.hyper]
version = "1.6"
features = ["full"]
optional = true

[dependencies.image]
version = "0.25"

[dependencies.imageproc]
version = "0.25"

[dependencies.indexmap]
version = "2"

[dependencies.lazy_static]
version = "1.5"

[dependencies.log]
version = "0.4"

[dependencies.md5]
version = "0.7"

[dependencies.moka]
version = "0.12"
features = ["future"]
optional = true

[dependencies.once_cell]
version = "1.21"

[dependencies.openssl]
version = "0.10"
features = ["vendored"]

[dependencies.password-hash]
version = "0.5"
features = [
    "rand_core",
    "std",
]

[dependencies.percent-encoding]
version = "2.3.1"

[dependencies.prometheus]
version = "0.14.0"

[dependencies.rand]
version = "0.9"

[dependencies.rand_core]
version = "0.9"
features = ["std"]

[dependencies.rayon]
version = "1.10"

[dependencies.redis]
version = "0.32"
optional = true

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = [
    "gzip",
    "json",
]
optional = true

[dependencies.ring]
version = "0.17.14"
optional = true

[dependencies.rust_decimal]
version = "1.38"

[dependencies.schemars]
version = "1"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sha1]
version = "0.10.6"

[dependencies.sha2]
version = "0.10"
optional = true

[dependencies.snowflaker]
version = "0.3"

[dependencies.sonyflake]
version = "0.4"

[dependencies.stream_throttle]
version = "0.5"

[dependencies.strum]
version = "0.27"

[dependencies.strum_macros]
version = "0.27"

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "2.0"

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

[dependencies.tower]
version = "0.5"
features = ["full"]
optional = true

[dependencies.tower-http]
version = "0.6"
features = ["full"]
optional = true

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
optional = true

[dependencies.url]
version = "2.5.4"
optional = true

[dependencies.urlencoding]
version = "2.1.3"
optional = true

[dependencies.uuid]
version = "1.18"
features = [
    "v4",
    "fast-rng",
]

[dependencies.validator]
version = "0.20"

[dependencies.zstd]
version = "0.13"
