# 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 = "rantz_random" version = "1.2.1" authors = ["Robert Gardner'"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Mostly just a wrapper around fastrand for a bunch of types. Supports bevy and rantz_spatial2d." homepage = "https://github.com/BobG1983/rantz_suite" readme = "README.md" keywords = [ "gamedev", "bevy", ] categories = ["game-engines"] license = "MIT OR Apache-2.0" repository = "https://github.com/BobG1983/rantz_suite" [lib] name = "rantz_random" path = "src/lib.rs" [[test]] name = "weighted_table" path = "tests/weighted_table.rs" [dependencies.bevy] version = "0.14" optional = true [dependencies.fastrand] version = "2.1" [features] bevy = ["dep:bevy"] default = ["bevy"] [lints.clippy] doc_markdown = "warn" manual_let_else = "warn" match_same_arms = "warn" ptr_as_ptr = "warn" ptr_cast_constness = "warn" redundant_closure_for_method_calls = "warn" redundant_else = "warn" ref_as_ptr = "warn" semicolon_if_nothing_returned = "warn" too_many_arguments = "allow" type_complexity = "allow" undocumented_unsafe_blocks = "warn" unwrap_or_default = "warn" [lints.rust] missing_docs = "warn" unsafe_code = "deny" unsafe_op_in_unsafe_fn = "warn"