# 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.81" name = "cmri" version = "0.1.1" build = "build.rs" exclude = ["test.sh"] autobins = false autoexamples = false autotests = false autobenches = false description = "Pure-Rust decoding/encoding of packets for CMRInet" documentation = "https://docs.rs/cmri/latest/cmri" readme = "README.md" keywords = [ "CMRInet", "CMRI", "model-railway", ] categories = [ "no-std", "no-std::no-alloc", "network-programming", ] license-file = "LICENSE.md" repository = "https://github.com/RobertGauld/cmri-rs/tree/main/cmri" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "cmri" path = "src/lib.rs" [dependencies.bitflags] version = "2.6" [dependencies.const_for] version = "0.1.5" [dependencies.log] version = "0.4.0" [dependencies.paste] version = "1.0" [dependencies.serde] version = "1.0" features = ["derive"] optional = true default-features = false [dependencies.thiserror] version = "2.0" package = "thiserror-no-std" [dev-dependencies.serde_test] version = "1.0" [features] default = ["std"] experimenter = [] std = ["serde?/std"] [lints.clippy] cargo = "warn" nursery = "warn" pedantic = "warn" [lints.clippy.expect_used] level = "allow" priority = 10 [lints.clippy.missing_const_for_fn] level = "warn" priority = 10 [lints.clippy.unwrap_used] level = "warn" priority = 10 [lints.rust] missing_debug_implementations = "warn" missing_docs = "warn"