snmp2 0.5.0

SNMP v1/v2/v3 sync/async client library with traps and MIB support
Documentation
# 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 = "snmp2"
version = "0.5.0"
authors = ["Serhij S. <div@altertech.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SNMP v1/v2/v3 sync/async client library with traps and MIB support"
readme = "README.md"
keywords = [
    "networking",
    "snmp",
    "monitoring",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/roboplc/snmp2"

[package.metadata.docs.rs]
features = ["full"]

[package.metadata.playground]
features = [
    "v3",
    "tokio",
]

[features]
crypto-openssl = [
    "v3",
    "openssl",
]
crypto-rust = [
    "v3",
    "md-5",
    "sha1",
    "digest",
    "sha2",
    "aes",
    "cipher",
    "des",
    "hmac",
    "cbc",
    "cfb-mode",
    "rand",
]
default = [
    "tokio",
    "crypto-rust",
]
full = [
    "mibs",
    "tokio",
    "v3",
    "crypto-rust",
]
heap_buffers = []
mibs = ["dep:snmptools"]
tokio = ["dep:tokio"]
v3 = []

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

[dependencies.aes]
version = "0.8"
optional = true

[dependencies.asn1-rs]
version = "0.6"

[dependencies.cbc]
version = "0.1"
optional = true

[dependencies.cfb-mode]
version = "0.8"
optional = true

[dependencies.cipher]
version = "0.4"
optional = true

[dependencies.des]
version = "0.8"
optional = true

[dependencies.digest]
version = "0.10"
optional = true

[dependencies.hmac]
version = "0.12"
optional = true

[dependencies.md-5]
version = "0.10"
optional = true

[dependencies.openssl]
version = "0.10"
optional = true

[dependencies.rand]
version = "0.9"
optional = true

[dependencies.sha1]
version = "0.10"
optional = true

[dependencies.sha2]
version = "0.10"
optional = true

[dependencies.snmptools]
version = "^0.1.2"
optional = true

[dependencies.tokio]
version = "1.47"
features = ["net"]
optional = true

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