Documentation
# 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 = "kamft"
version = "0.0.8"
authors = ["shawn <kamft@qq.com>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "tools"
homepage = "https://cnb.cool/kamft/sprs.git"
readme = "README.md"
keywords = ["kamft"]
categories = ["config"]
license = "MIT"
repository = "https://cnb.cool/kamft/sprs.git"
resolver = "2"

[package.metadata]
category = "config"
exclude = [
    "publish.sh",
    ".env",
    ".env.*",
    "docker-compose.yaml",
    "docker.sh",
    "Dockerfile",
]

[features]
default = ["seaorm"]
seaorm = ["seaorm_page"]
seaorm_page = []

[lib]
name = "kamft"
path = "src/lib.rs"
proc-macro = false

[[bin]]
name = "kamft"
path = "src/main.rs"

[dependencies.alipay-rs]
version = "0.4.6"

[dependencies.alipay_params]
version = "0.1.2"

[dependencies.argon2]
version = "0.5.3"

[dependencies.base64]
version = "0.22.1"

[dependencies.chrono]
version = "0.4.43"

[dependencies.fache]
version = "0.1.349"

[dependencies.hmac]
version = "0.12.1"

[dependencies.kagou]
version = "0.1.45"

[dependencies.proc-macro2]
version = "1.0"

[dependencies.quote]
version = "1.0"

[dependencies.rand]
version = "0.9.2"

[dependencies.reqwest]
version = "0.12.28"
features = [
    "json",
    "multipart",
    "gzip",
]

[dependencies.rsa]
version = "0.9.10"

[dependencies.sea-orm]
version = "1.1.19"
features = [
    "runtime-tokio-rustls",
    "debug-print",
]

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.sha2]
version = "0.10.9"

[dependencies.syn]
version = "2.0.104"
features = [
    "full",
    "extra-traits",
]

[dependencies.uuid]
version = "1.19.0"
features = ["v4"]

[lints.rust]
dead_code = "allow"
missing_debug_implementations = "warn"
unused_assignments = "allow"
unused_imports = "allow"
unused_mut = "allow"