# 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 = "sawp-modbus" version = "0.13.1" authors = ["Canadian Centre for Cyber Security "] build = false include = [ "Cargo.toml", "../LICENSE", "../README.md", "src/**/*.rs", ] autobins = false autoexamples = false autotests = false autobenches = false description = "SAWP Protocol Parser for Modbus" homepage = "https://github.com/CybercentreCanada/sawp" readme = "README.md" keywords = [ "modbus", "parser", "protocol", "hardware", "automation", ] categories = [ "parsing", "network-programming", ] license = "MIT" repository = "https://github.com/CybercentreCanada/sawp" [[package.metadata.release.pre-release-replacements]] file = "../README.md" replace = 'sawp-modbus = "{{version}}"' search = "sawp-modbus = .*" [lib] name = "sawp_modbus" crate-type = [ "staticlib", "rlib", "cdylib", ] path = "src/lib.rs" [dependencies.nom] version = "7.1.1" [dependencies.num_enum] version = "0.5.1" [dependencies.sawp] version = "^0.13.1" [dependencies.sawp-ffi] version = "^0.13.1" optional = true [dependencies.sawp-flags] version = "^0.13.1" [dev-dependencies.rstest] version = "0.6.4" [build-dependencies.cbindgen] version = "0.15" optional = true [features] ffi = [ "cbindgen", "sawp/ffi", "sawp-ffi", ] verbose = ["sawp/verbose"]