async-snmp 0.2.0

Modern async-first SNMP client library for Rust
Documentation
[[bench]]
harness = false
name = "ber"
path = "benches/ber.rs"

[[bench]]
harness = false
name = "client"
path = "benches/client.rs"

[[bench]]
harness = false
name = "oid"
path = "benches/oid.rs"

[[bench]]
harness = false
name = "transport_comparison"
path = "benches/transport_comparison.rs"

[[bench]]
harness = false
name = "v3"
path = "benches/v3.rs"

[[bin]]
name = "asnmp-get"
path = "src/bin/asnmp_get.rs"
required-features = ["cli"]

[[bin]]
name = "asnmp-set"
path = "src/bin/asnmp_set.rs"
required-features = ["cli"]

[[bin]]
name = "asnmp-walk"
path = "src/bin/asnmp_walk.rs"
required-features = ["cli"]

[dependencies.aes]
version = "0.8.4"

[dependencies.bytes]
version = "1.11.0"

[dependencies.cbc]
version = "0.1.2"

[dependencies.cfb-mode]
version = "0.8.2"

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

[dependencies.des]
version = "0.8.1"

[dependencies.digest]
version = "0.10.7"

[dependencies.futures-core]
version = "0.3.31"

[dependencies.hmac]
version = "0.12.1"

[dependencies.md-5]
version = "0.10.6"

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

[dependencies.serde_json]
optional = true
version = "1"

[dependencies.sha1]
version = "0.10.6"

[dependencies.sha2]
version = "0.10.9"

[dependencies.smallvec]
version = "1.15.1"

[dependencies.socket2]
features = ["all"]
version = "0.6"

[dependencies.subtle]
version = "2.6"

[dependencies.thiserror]
version = "2.0.17"

[dependencies.tokio]
features = ["net", "time", "sync", "rt", "rt-multi-thread", "macros", "io-util"]
version = "1.48.0"

[dependencies.tokio-util]
version = "0.7"

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-subscriber]
features = ["env-filter"]
optional = true
version = "0.3"

[dependencies.zeroize]
features = ["derive"]
version = "1.8"

[dev-dependencies.criterion]
features = ["async_tokio"]
version = "0.8"

[dev-dependencies.dirs]
version = "6.0"

[dev-dependencies.futures]
version = "0.3"

[dev-dependencies.hdrhistogram]
version = "7"

[dev-dependencies.libc]
version = "0.2"

[dev-dependencies.proptest]
version = "1.9"

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.testcontainers]
version = "0.26"

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

[[example]]
name = "basic_client"
path = "examples/basic_client.rs"

[[example]]
name = "notification_receiver"
path = "examples/notification_receiver.rs"

[[example]]
name = "shared_transport"
path = "examples/shared_transport.rs"

[[example]]
name = "simple_agent"
path = "examples/simple_agent.rs"

[[example]]
name = "snmpv3_client"
path = "examples/snmpv3_client.rs"

[[example]]
name = "tcp_client"
path = "examples/tcp_client.rs"

[[example]]
name = "walk_subtree"
path = "examples/walk_subtree.rs"

[features]
cli = ["dep:clap", "serde", "dep:serde_json", "dep:tracing-subscriber"]
default = []
dtls = []
serde = ["dep:serde"]
testing = []
tls = []

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

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["network-programming", "asynchronous"]
description = "Modern async-first SNMP client library for Rust"
documentation = "https://docs.rs/async-snmp"
edition = "2024"
keywords = ["snmp", "network", "async", "monitoring"]
license = "MIT OR Apache-2.0"
name = "async-snmp"
readme = "README.md"
repository = "https://github.com/async-snmp/async-snmp"
rust-version = "1.88"
version = "0.2.0"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

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

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

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

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