[[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.getrandom]
version = "0.3"
[dependencies.hmac]
version = "0.12.1"
[dependencies.md-5]
version = "0.10.6"
[dependencies.quinn-udp]
version = "0.5"
[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]
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.dhat]
version = "0.3"
[dev-dependencies.dirs]
version = "6.0"
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.hdrhistogram]
version = "7"
[dev-dependencies.parking_lot]
version = "0.12"
[dev-dependencies.proptest]
version = "1.9"
[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 = "snmpv3_client"
path = "examples/snmpv3_client.rs"
[[example]]
name = "tcp_client"
path = "examples/tcp_client.rs"
[[example]]
name = "value_extraction"
path = "examples/value_extraction.rs"
[[example]]
name = "walk_subtree"
path = "examples/walk_subtree.rs"
[features]
cli = ["dep:clap", "dep:serde", "dep:serde_json", "dep:tracing-subscriber"]
default = []
dtls = []
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/lukeod/async-snmp"
rust-version = "1.88"
version = "0.5.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[profile.profiling]
debug = 2
inherits = "release"
[[test]]
name = "client_batching"
path = "tests/client_batching.rs"
[[test]]
name = "client_get"
path = "tests/client_get.rs"
[[test]]
name = "client_retry"
path = "tests/client_retry.rs"
[[test]]
name = "client_v3"
path = "tests/client_v3.rs"
[[test]]
name = "client_walk"
path = "tests/client_walk.rs"
[[test]]
name = "interop"
path = "tests/interop.rs"
[[test]]
name = "kat"
path = "tests/kat.rs"
[[test]]
name = "proptest"
path = "tests/proptest.rs"