# 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_tools" version = "0.1.1" build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Tools for experimenting with CMRInet" readme = "README.md" keywords = [ "CMRInet", "CMRI", "CMRI", "model-railway", ] categories = ["network-programming"] license-file = "LICENSE.md" repository = "https://github.com/RobertGauld/cmri-rs/tree/main/cmri_tools" resolver = "2" [lib] name = "cmri_tools" path = "src/lib.rs" [[bin]] name = "controller" path = "src/bin/controller/main.rs" [[bin]] name = "hub" path = "src/bin/hub/main.rs" [[bin]] name = "monitor" path = "src/bin/monitor/main.rs" [[bin]] name = "node" path = "src/bin/node/main.rs" [[bin]] name = "nodes" path = "src/bin/nodes/main.rs" [dependencies.anyhow] version = "1.0" features = ["backtrace"] [dependencies.clap] version = "4.5" features = ["cargo"] [dependencies.cmri] version = "0.1.1" features = [ "std", "serde", ] [dependencies.dirs] version = "5.0" [dependencies.egui] version = "0.29.1" [dependencies.egui-modal] version = "0.5.0" [dependencies.egui_extras] version = "0.29.1" [dependencies.egui_plot] version = "0.29.0" [dependencies.readable] version = "0.16.0" features = ["num"] [dependencies.readable_byte] version = "0.1.14" [dependencies.rfd] version = "0.15.0" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.tokio] version = "1.39" features = [ "tracing", "rt-multi-thread", "sync", "time", "net", "io-util", "macros", ] [dependencies.tokio-serial] version = "5.4" [dependencies.tracing] version = "0.1.40" [dependencies.tracing-subscriber] version = "0.3.18" features = [ "fmt", "ansi", "env-filter", "tracing-log", ] default-features = false [dev-dependencies.indoc] version = "2.0" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.tokio-test] version = "0.4.4" [build-dependencies.clap] version = "4.5" features = ["cargo"] [build-dependencies.clap_complete] version = "4.5" [features] experimenter = ["cmri/experimenter"] [target.'cfg(not(target_os = "macos"))'.dependencies.eframe] version = "0.29.1" [target.'cfg(target_os = "macos")'.dependencies.eframe] version = "0.29.1" features = [ "default_fonts", "glow", ] default-features = false [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"