# 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 = "2021"
name = "narrowlink-agent"
version = "0.1.3"
authors = ["Narrowlink <opensource@narrowlink.com>"]
include = [
    "Cargo.toml",
    "LICENSE",
    "sample_agent.yaml",
    "src/**/*",
    "*help.arg",
]
description = "Narrowlink Agent"
homepage = "https://narrowlink.com"
readme = "README.md"
keywords = ["narrowlink"]
license = "MPL-2.0"
repository = "https://github.com/narrowlink/narrowlink/"
resolver = "1"

[dependencies.clap_lex]
version = "0.5.0"
default-features = false

[dependencies.dirs]
version = "5.0.1"
default-features = false

[dependencies.env_logger]
version = "0.10.0"

[dependencies.futures-channel]
version = "0.3.28"
features = ["sink"]

[dependencies.futures-util]
version = "0.3.28"
default-features = false

[dependencies.hmac]
version = "0.12.1"
default-features = false

[dependencies.log]
version = "0.4.20"

[dependencies.narrowlink-network]
version = "0.1.2"

[dependencies.narrowlink-types]
version = "0.1.2"

[dependencies.native-tls]
version = "0.2.11"
optional = true
default-features = false

[dependencies.serde]
version = "1.0.183"
features = ["derive"]
default-features = false

[dependencies.serde_json]
version = "1.0.104"
default-features = false

[dependencies.serde_yaml]
version = "0.9.25"
default-features = false

[dependencies.sha3]
version = "0.10.8"
default-features = false

[dependencies.sysinfo]
version = "0.29.7"
default-features = false

[dependencies.tokio]
version = "1.31.0"
features = [
    "macros",
    "rt",
    "time",
    "rt-multi-thread",
]
default-features = false

[dependencies.tokio-native-tls]
version = "0.3.1"
optional = true
default-features = false

[dependencies.tokio-rustls]
version = "0.24.1"
optional = true
default-features = false

[dependencies.tokio-util]
version = "0.7.8"
default-features = false

[dependencies.udp-stream]
version = "0.0.9"
default-features = false

[dependencies.uuid]
version = "1.4.1"
default-features = false

[dependencies.webpki-roots]
version = "0.25.2"
optional = true
default-features = false

[features]
default = ["rustls"]
native-tls = [
    "dep:tokio-native-tls",
    "dep:native-tls",
    "narrowlink-network/native-tls",
]
rustls = [
    "dep:tokio-rustls",
    "dep:webpki-roots",
    "narrowlink-network/rustls",
]
