# 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 = "rodbus" version = "1.4.0" authors = ["Step Function I/O LLC >"] description = "A high-performance async implementation of the Modbus protocol using tokio" homepage = "https://stepfunc.io/products/libraries/modbus/" readme = "README.md" keywords = [ "dnp3", "ics", "scada", "security", ] categories = ["network-programming"] license-file = "LICENSE.txt" repository = "https://github.com/stepfunc/rodbus" [dependencies.crc] version = "3.0" [dependencies.rx509] version = "^0.2" optional = true [dependencies.scursor] version = "0.2.0" [dependencies.sfio-rustls-config] version = "0.3.2" optional = true [dependencies.tokio] version = "1.37.0" 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" optional = true default-features = false [dependencies.tracing] version = "0.1.40" [dev-dependencies.clap] version = "4.1.8" features = ["derive"] [dev-dependencies.sfio-tokio-mock-io] version = "0.2" [dev-dependencies.tokio-stream] version = "0.1" [dev-dependencies.tokio-test] version = "0.4.2" [dev-dependencies.tokio-util] version = "0.7" features = ["codec"] [dev-dependencies.tracing-subscriber] version = "0.3.18" [features] default = [ "tls", "serial", ] ffi = [] serial = ["tokio-serial"] tls = [ "rx509", "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