# 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" name = "rmodbus" version = "0.9.10" authors = ["Serhij S. "] autoexamples = false description = "Fast and platform-independent Modbus server framework" readme = "README.md" keywords = [ "modbus", "server", "hardware", "nostd", ] license = "Apache-2.0" repository = "https://github.com/alttch/rmodbus" [package.metadata.docs.rs] features = [] [package.metadata.playground] features = [] [lib] name = "rmodbus" path = "src/lib.rs" [[example]] name = "app" path = "examples/app.rs" required-features = [ "std", "with_bincode", ] [[example]] name = "tcpserver" path = "examples/tcpserver.rs" required-features = ["std"] [[example]] name = "udpserver" path = "examples/udpserver.rs" required-features = ["std"] [[example]] name = "rtuserver" path = "examples/rtuserver.rs" required-features = ["std"] [[example]] name = "asciiserver" path = "examples/asciiserver.rs" required-features = ["std"] [[example]] name = "tcpclient" path = "examples/tcpclient.rs" required-features = ["std"] [dependencies.bincode] version = "2.0.0-rc.2" optional = true [dependencies.defmt] version = "0.3.0" optional = true [dependencies.fixedvec] version = "0.2.4" optional = true [dependencies.heapless] version = "0.8.0" optional = true [dependencies.ieee754] version = "0.2.6" [dependencies.serde] version = "1.0" features = ["derive"] optional = true default-features = false [dependencies.serde_arrays] version = "0.1.0" optional = true [dev-dependencies.bincode] version = "2.0.0-rc.2" [dev-dependencies.crc16] version = "0.4.0" [dev-dependencies.fixedvec] version = "0.2.4" [dev-dependencies.once_cell] version = "1.19.0" [dev-dependencies.rand] version = "0.7.3" [dev-dependencies.serial] version = "0.4.0" [dev-dependencies.spin] version = "0.5.2" [features] alloc = [] default = ["std"] defmt = ["dep:defmt"] std = [] with_bincode = ["bincode"] with_serde = [ "serde", "serde_arrays", ]