# 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"
rust-version = "1.95.0"
name = "cnm-cli"
version = "0.10.5"
authors = ["Glenn Gore <glenn@affinidi.com>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CLI Tool for Verified Trust Agents operating in Verified Trust Communities"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/OpenVTC/verifiable-trust-infrastructure"

[features]
azure-secrets = ["vta-sdk/azure-secrets"]
config-session = ["vta-sdk/config-session"]
default = ["keyring"]
keyring = ["vta-sdk/keyring"]

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

[dependencies.affinidi-did-resolver-cache-sdk]
version = "0.8"
features = ["network"]

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

[dependencies.dialoguer]
version = "0.12"

[dependencies.dirs]
version = "6"

[dependencies.reqwest]
version = "0.13"
features = ["json"]

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

[dependencies.serde_json]
version = "1"

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

[dependencies.toml]
version = "1"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "json",
]

[dependencies.vta-cli-common]
version = "0.10"

[dependencies.vta-sdk]
version = "0.18"
features = [
    "session",
    "crypto-provider",
]

[lints.clippy]
needless_pass_by_value = "allow"
too_many_arguments = "allow"
type_complexity = "allow"

[lints.rust]
unsafe_op_in_unsafe_fn = "warn"
