# 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.77.0" name = "nexosim" version = "0.3.0-beta.0" authors = ["Serge Barral "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = """ A high performance asychronous compute framework for system simulation. """ readme = "README.md" keywords = [ "simulation", "discrete-event", "systems", "cyberphysical", "real-time", ] categories = [ "simulation", "aerospace", "science", ] license = "MIT OR Apache-2.0" repository = "https://github.com/asynchronics/nexosim" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "nexosim" path = "src/lib.rs" [[example]] name = "assembly" path = "examples/assembly.rs" [[example]] name = "espresso_machine" path = "examples/espresso_machine.rs" [[example]] name = "external_input" path = "examples/external_input.rs" [[example]] name = "power_supply" path = "examples/power_supply.rs" [[example]] name = "stepper_motor" path = "examples/stepper_motor.rs" [[test]] name = "integration" path = "tests/integration/main.rs" [dependencies.async-event] version = "0.2.1" [dependencies.bytes] version = "1" optional = true default-features = false [dependencies.ciborium] version = "0.2.2" optional = true [dependencies.crossbeam-utils] version = "0.8" [dependencies.diatomic-waker] version = "0.2.3" [dependencies.dyn-clone] version = "1.0" [dependencies.futures-channel] version = "0.3" [dependencies.futures-task] version = "0.3" [dependencies.multishot] version = "0.3.2" [dependencies.num_cpus] version = "1.13" [dependencies.parking] version = "2" [dependencies.pin-project] version = "1" [dependencies.prost] version = "0.13" optional = true [dependencies.prost-types] version = "0.13" optional = true [dependencies.recycle-box] version = "0.2" [dependencies.serde] version = "1" optional = true [dependencies.slab] version = "0.4" [dependencies.spin_sleep] version = "1" [dependencies.st3] version = "0.4" [dependencies.tai-time] version = "0.3.3" [dependencies.tokio] version = "1.0" features = [ "net", "rt-multi-thread", ] optional = true [dependencies.tonic] version = "0.12" features = [ "codegen", "prost", "server", ] optional = true default-features = false [dependencies.tracing] version = "0.1.40" features = ["std"] optional = true default-features = false [dependencies.tracing-subscriber] version = "0.3.18" optional = true [dev-dependencies.futures-executor] version = "0.3" [dev-dependencies.futures-util] version = "0.3" [dev-dependencies.tracing-subscriber] version = "0.3.18" features = ["env-filter"] [features] dev-hooks = [] grpc = [ "dep:bytes", "dep:ciborium", "dep:prost", "dep:prost-types", "dep:serde", "dep:tonic", "dep:tokio", "dep:tonic", ] tracing = [ "dep:tracing", "dep:tracing-subscriber", ] [target."cfg(nexosim_grpc_codegen)".build-dependencies.tonic-build] version = "0.12" [target."cfg(nexosim_loom)".dev-dependencies.loom] version = "0.7" [target."cfg(nexosim_loom)".dev-dependencies.waker-fn] version = "1.1" [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = [ "cfg(nexosim_loom)", "cfg(nexosim_grpc_codegen)", ]