# 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" rust-version = "1.75" name = "dnp3" version = "1.6.0" authors = ["Step Function I/O LLC "] exclude = ["codegen"] description = "Rust implementation of DNP3 (IEEE 1815) with idiomatic bindings for C, C++, .NET, and Java" homepage = "https://stepfunc.io/products/libraries/dnp3/" readme = "README.md" keywords = [ "dnp3", "ics", "scada", "security", ] categories = ["network-programming"] license-file = "LICENSE.txt" repository = "https://github.com/stepfunc/dnp3" [dependencies.chrono] version = "0.4" [dependencies.scursor] version = "0.2.0" [dependencies.serde] version = "^1.0" features = ["derive"] optional = true default-features = false [dependencies.sfio-rustls-config] version = "0.3.2" optional = true [dependencies.tokio] version = "1" features = [ "net", "sync", "io-util", "io-std", "time", "rt", "rt-multi-thread", "macros", ] [dependencies.tokio-rustls] version = "0.26.0" features = ["tls12"] optional = true default-features = false [dependencies.tokio-serial] version = "=5.4.3" optional = true default-features = false [dependencies.tracing] version = "0.1" [dependencies.xxhash-rust] version = "0.8" features = ["xxh64"] [dev-dependencies.assert_matches] version = "1.2" [dev-dependencies.clap] version = "4.0" features = ["derive"] [dev-dependencies.futures] version = "0.3.24" [dev-dependencies.rand] version = "0.8" [dev-dependencies.serde_json] version = "1.0.96" [dev-dependencies.sfio-tokio-mock-io] version = "0.2.0" [dev-dependencies.tokio] version = "1" features = ["test-util"] [dev-dependencies.tokio-stream] version = "0.1.1" [dev-dependencies.tokio-util] version = "0.7" features = ["codec"] [dev-dependencies.tracing-subscriber] version = "0.3" [features] default = [ "tls", "serial", ] ffi = [] serial = ["tokio-serial"] serialization = ["serde"] tls = [ "sfio-rustls-config", "tokio-rustls", ] [lints.rust] missing_copy_implementations = "deny" missing_docs = "deny" non_ascii_idents = "deny" trivial_casts = "deny" unreachable_pub = "deny" unsafe_code = "forbid" [lints.rust.unused] level = "deny" priority = -1