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

[features]
default = []
sys-locale = ["dep:sys-locale"]

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

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

[[test]]
name = "error_tests"
path = "tests/error_tests.rs"

[[test]]
name = "export_tests"
path = "tests/export_tests.rs"

[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"

[[test]]
name = "kam_toml_tests"
path = "tests/kam_toml_tests.rs"

[[test]]
name = "toml_tests"
path = "tests/toml_tests.rs"

[[test]]
name = "utils_tests"
path = "tests/utils_tests.rs"

[[test]]
name = "version_tests"
path = "tests/version_tests.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.61"

[dependencies.colored]
version = "3.0.0"

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

[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.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.openssl]
version = "0.10"
features = ["vendored"]

[dependencies.rand]
version = "0.9.2"

[dependencies.rcgen]
version = "0.14.5"

[dependencies.regex]
version = "1.12.2"

[dependencies.reqwest]
version = "0.12.25"
features = [
    "blocking",
    "rustls-tls",
    "json",
]

[dependencies.rpassword]
version = "7.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.145"

[dependencies.serde_yaml]
version = "0.9.33"

[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.sys-locale]
version = "0.3"
optional = true

[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 = [
    "rt",
    "macros",
]

[dependencies.toml]
version = "0.9.8"

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

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

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

[dependencies.walkdir]
version = "2.3.3"

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

[dependencies.zip]
version = "6.0.0"

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