# 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.74" name = "collision2d" version = "0.2.2" authors = ["Jonathan Cornaz"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A simple 2d collision detection library " readme = "README.md" keywords = [ "no_std", "gamedev", "collision", "2d", "geometry", ] categories = [ "no-std", "game-development", ] license = "Unlicense" repository = "https://github.com/jcornaz/collision2d" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "collision2d" path = "src/lib.rs" [[test]] name = "aabb_collision_spec" path = "tests/aabb_collision_spec.rs" [dependencies.libm] version = "0.2.8" optional = true default-features = false [dev-dependencies.rstest] version = "0.22.0" default-features = false [features] aabb = [] default = [ "std", "aabb", ] libm = ["dep:libm"] std = [] [badges.maintenance] status = "actively-developed" [lints.clippy] exhaustive_enums = "warn" exhaustive_structs = "warn" [lints.clippy.pedantic] level = "warn" priority = -1 [lints.rust] missing_docs = "warn" private_bounds = "warn" private_interfaces = "warn" unsafe_code = "deny"