# 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 = "ant-node-manager"
version = "0.14.1"
authors = ["MaidSafe Developers <dev@maidsafe.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A command-line application for installing, managing and operating antnode as a service."
homepage = "https://maidsafe.net"
readme = "README.md"
license = "GPL-3.0"
repository = "https://github.com/maidsafe/autonomi"
resolver = "2"

[features]
chaos = []
default = ["quic"]
nightly = []
open-metrics = []
otlp = []
quic = []
statemap = []
tcp = []
websockets = []

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

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

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

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

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

[dependencies.ant-bootstrap]
version = "0.2.13"

[dependencies.ant-build-info]
version = "0.1.29"

[dependencies.ant-evm]
version = "0.1.18"

[dependencies.ant-logging]
version = "0.3.0"

[dependencies.ant-protocol]
version = "1.0.10"

[dependencies.ant-releases]
version = "0.4.3"

[dependencies.ant-service-management]
version = "0.5.1"

[dependencies.anyhow]
version = "1.0.98"

[dependencies.chrono]
version = "~0.4.19"

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

[dependencies.color-eyre]
version = "0.6.3"

[dependencies.colored]
version = "2.0.4"

[dependencies.dirs-next]
version = "2.0.0"

[dependencies.evmlib]
version = "0.4.6"

[dependencies.indicatif]
version = "0.17.5"
features = ["tokio"]

[dependencies.libp2p]
version = "0.56.0"
features = []

[dependencies.libp2p-identity]
version = "0.2.12"
features = ["rand"]

[dependencies.prost]
version = "0.9"

[dependencies.rand]
version = "0.8.5"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
default-features = false

[dependencies.semver]
version = "1.0.20"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.service-manager]
version = "0.10.0"

[dependencies.sysinfo]
version = "0.30.12"

[dependencies.thiserror]
version = "1.0.23"

[dependencies.tokio]
version = "1.43"
features = ["full"]

[dependencies.tonic]
version = "0.6.2"

[dependencies.tracing]
version = "~0.1.26"

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

[dependencies.which]
version = "6.0.1"

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

[dev-dependencies.assert_fs]
version = "1.0.13"

[dev-dependencies.assert_matches]
version = "1.5.0"

[dev-dependencies.async-trait]
version = "0.1"

[dev-dependencies.mockall]
version = "0.12.1"

[dev-dependencies.predicates]
version = "3.1.0"

[dev-dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
default-features = false

[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies.nix]
version = "0.27.1"
features = [
    "fs",
    "user",
]

[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies.users]
version = "0.11"

[target.'cfg(target_os = "windows")'.dependencies.which]
version = "6.0.1"

[lints.clippy]
clone_on_ref_ptr = "warn"
expect_used = "warn"
panic = "warn"
unicode_not_nfc = "warn"
uninlined_format_args = "warn"
unused_async = "warn"
unwrap_used = "warn"

[lints.rust]
arithmetic_overflow = "forbid"
mutable_transmutes = "forbid"
no_mangle_const_items = "forbid"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unknown_crate_types = "forbid"
unsafe_code = "warn"
unused_extern_crates = "warn"
unused_import_braces = "warn"
