# 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 = "packc"
version = "0.4.6"
authors = ["Greentic <engineering@greentic.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Greentic pack builder CLI"
homepage = "https://github.com/greentic-ai/greentic-pack"
documentation = "https://docs.greentic.ai/"
readme = "README.md"
keywords = [
    "greentic",
    "cli",
    "pack",
    "wasm",
]
categories = ["development-tools"]
license = "MIT"
repository = "https://github.com/greentic/greentic-pack"
resolver = "2"

[features]
default = []
openssl = []
pem = []

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

[[bin]]
name = "packc"
path = "bin/packc.rs"

[[bin]]
name = "packc_schema"
path = "src/bin/packc_schema.rs"

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.base64]
version = "0.22"

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

[dependencies.ed25519-dalek]
version = "2"
features = [
    "pkcs8",
    "rand_core",
]

[dependencies.greentic-flow]
version = "0.4"

[dependencies.greentic-pack]
version = "0.4"

[dependencies.greentic-telemetry]
version = "0.4"
features = ["otlp"]

[dependencies.greentic-types]
version = "0.4"

[dependencies.hex]
version = "0.4"

[dependencies.ignore]
version = "0.4"

[dependencies.pack_component_template]
version = "0.4"

[dependencies.pkcs8]
version = "0.10"
features = ["pem"]

[dependencies.rand_core_06]
version = "0.6"
features = ["std"]
package = "rand_core"

[dependencies.schemars]
version = "1"

[dependencies.semver]
version = "1"
features = ["serde"]

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

[dependencies.serde_cbor]
version = "0.11"

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml_bw]
version = "2"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.time]
version = "0.3"
features = [
    "macros",
    "serde",
    "formatting",
    "parsing",
]

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
    "rt-multi-thread",
]

[dependencies.toml]
version = "0.9"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "registry",
    "std",
]
default-features = false

[dependencies.walkdir]
version = "2"

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.indoc]
version = "2"

[dev-dependencies.tempfile]
version = "3"
