# 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 = "kam"
version = "0.6.0"
build = "build.rs"
exclude = [
    "/tmpl",
    "ModuleWebUI",
    "dist",
    "hooks",
    "src/Kam",
    "target",
    "templates",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Powerful CLI for scaffolding and packaging Magisk/Kernelsu/APU/Anykernel3/... modules."
homepage = "https://github.com/MemDeco-WG/Kam"
documentation = "https://github.com/MemDeco-WG/Kam/blob/main/README.md"
readme = "README.md"
keywords = [
    "ap",
    "cli",
    "kernelsu",
    "magisk",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/MemDeco-WG/Kam"

[package.metadata]
authors = ["LightJunction"]

[features]
default = []

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

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

[dependencies.base64]
version = "0.22.1"

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

[dependencies.clap]
version = "4.5.53"
features = ["derive"]

[dependencies.clap_complete]
version = "4.5.64"

[dependencies.colored]
version = "3.0.0"

[dependencies.comfy-table]
version = "7.2.1"

[dependencies.crossbeam-channel]
version = "0.5"

[dependencies.dialoguer]
version = "0.12.0"

[dependencies.dirs]
version = "6.0.0"

[dependencies.dotenvy]
version = "0.15.7"

[dependencies.flate2]
version = "1.1.5"

[dependencies.fluent]
version = "0.17.0"

[dependencies.fluent-bundle]
version = "0.16.0"

[dependencies.fluent-templates]
version = "0.13.2"

[dependencies.git2]
version = "0.20.3"

[dependencies.glob]
version = "0.3.3"

[dependencies.hex]
version = "0.4.3"

[dependencies.hmac]
version = "0.12"

[dependencies.http]
version = "1.4.0"

[dependencies.ignore]
version = "0.4.25"

[dependencies.indicatif]
version = "0.18.3"
features = ["unicode-width"]
default-features = false

[dependencies.keyring]
version = "3.6.3"

[dependencies.lazy_static]
version = "1.5.0"

[dependencies.once_cell]
version = "1.21.3"

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

[dependencies.rand]
version = "0.9.2"

[dependencies.rcgen]
version = "0.14.6"

[dependencies.regex]
version = "1.12.2"

[dependencies.reqwest]
version = "0.13.0"
features = [
    "blocking",
    "json",
]

[dependencies.rpassword]
version = "7.4.0"

[dependencies.rust-embed]
version = "8.9.0"

[dependencies.semver]
version = "1.0"

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

[dependencies.serde_json]
version = "1.0.148"

[dependencies.serde_yaml]
version = "0.9.34"

[dependencies.sha2]
version = "0.10"

[dependencies.sigstore-sign]
version = "0.6.0"

[dependencies.sigstore-tsa]
version = "0.6.0"

[dependencies.sigstore-types]
version = "0.6.0"

[dependencies.sysinfo]
version = "0.37.2"

[dependencies.tar]
version = "0.4.44"

[dependencies.tempfile]
version = "3"

[dependencies.tera]
version = "1.20"

[dependencies.terminal_size]
version = "0.4.3"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.48"
features = [
    "macros",
    "rt",
]

[dependencies.toml]
version = "0.9.10"

[dependencies.toml_edit]
version = "0.24.0"
features = ["serde"]

[dependencies.tree-sitter]
version = "0.26.3"

[dependencies.tree-sitter-bash]
version = "0.25.1"

[dependencies.unic-langid]
version = "0.9"

[dependencies.walkdir]
version = "2.5.0"

[dependencies.x509-parser]
version = "0.18.0"

[dependencies.zeroize]
version = "1.8.2"

[dependencies.zip]
version = "7.0.0"

[dev-dependencies.serial_test]
version = "3.2.0"

[build-dependencies.regex]
version = "1"

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
debug = 0
panic = "abort"
strip = true
