# 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 = "rocketsim_rs" version = "0.33.3" build = "build.rs" exclude = [ ".git*", "CMake*", "collision_meshes", "rustfmt.toml", "*.py", "python", "tests", "MANIFEST.in", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Rust bindings for the RocketSim project" readme = "README.md" license = "MIT" repository = "https://github.com/VirxEC/rocketsim-rs" [profile.release] lto = true codegen-units = 1 panic = "abort" [lib] name = "rocketsim_rs" path = "src/lib.rs" [[example]] name = "ball_bench" path = "examples/ball_bench.rs" [[example]] name = "basic_loop" path = "examples/basic_loop.rs" [[example]] name = "cpu_bench" path = "examples/cpu_bench.rs" [[example]] name = "dump_ball" path = "examples/dump_ball.rs" [[example]] name = "init_from_bin" path = "examples/init_from_bin.rs" [[example]] name = "real_bench" path = "examples/real_bench.rs" [[example]] name = "rlviser_socket" path = "examples/rlviser_socket.rs" required-features = ["bin"] [[example]] name = "specific" path = "examples/specific.rs" [[example]] name = "stat_tracker" path = "examples/stat_tracker.rs" [[example]] name = "thread_bench" path = "examples/thread_bench.rs" [dependencies.cxx] version = "1.0.83" features = ["c++20"] [dependencies.glam] version = "0.29.0" optional = true [dependencies.serde] version = "1.0.195" features = ["derive"] optional = true [dev-dependencies.byteorder] version = "1.4.3" [dev-dependencies.ctrlc] version = "3.3.1" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.serde_json] version = "1.0.111" [build-dependencies.cc] version = "1.0.83" features = ["parallel"] [build-dependencies.cxx-build] version = "1.0.122" [build-dependencies.glob] version = "0.3.0" [features] bin = [] debug_logging = [] default = [ "debug_logging", "bin", ] glam = ["dep:glam"] serde_utils = ["serde"] [target.'cfg(not(any(target_arch = "x86", target_arch = "x86_64")))'.dependencies.glam] version = "0.29.0" features = ["core-simd"] optional = true