# 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.80.0" name = "bevy_trackball" version = "0.8.0" authors = ["Rouven Spreckels "] build = false include = [ "src/**/*.rs", "examples/**/*.rs", "Cargo.toml", "README.md", "RELEASES.md", "LICENSES/*.md", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Coherent virtual trackball controller/camera plugin for Bevy" homepage = "https://qu1x.dev/bevy_trackball" documentation = "https://doc.qu1x.dev/bevy_trackball" readme = "README.md" keywords = [ "virtual-trackball", "exponential-map", "coherent-rotation", "pan-orbit", "bevy-camera", ] categories = [ "graphics", "rendering", "game-engines", "science", ] license = "MIT OR Apache-2.0" repository = "https://github.com/qu1x/bevy_trackball" [package.metadata.docs.rs] features = ["serialize"] rustdoc-args = [ "--cfg", "docsrs", ] [profile.wasm-release] opt-level = "z" lto = "fat" codegen-units = 1 inherits = "release" [lib] name = "bevy_trackball" path = "src/lib.rs" [[example]] name = "constellation_clamp" path = "examples/constellation_clamp.rs" required-features = [ "bevy/bevy_ui", "bevy/default_font", ] [[example]] name = "egui" path = "examples/egui.rs" required-features = ["bevy_egui/default_fonts"] [[example]] name = "exponential_map" path = "examples/exponential_map.rs" required-features = [] [[example]] name = "gliding_clamp" path = "examples/gliding_clamp.rs" required-features = [ "bevy/bevy_ui", "bevy/default_font", ] [[example]] name = "scaling_modes" path = "examples/scaling_modes.rs" required-features = [] [dependencies.bevy] version = "0.14.2" features = ["bevy_render"] default-features = false [dependencies.bevy_egui] version = "0.30.0" features = ["render"] optional = true default-features = false [dependencies.trackball] version = "0.14.0" features = ["glam"] [dev-dependencies.bevy] version = "0.14.2" features = [ "bevy_winit", "bevy_core_pipeline", "bevy_pbr", "ktx2", "zstd", "tonemapping_luts", "wayland", "webgl2", ] default-features = false [features] bevy_egui = ["dep:bevy_egui"] c11-orbit = ["trackball/cc"] serialize = [ "bevy/serialize", "trackball/serde", ] [lints.clippy] module-name-repetitions = "allow" tabs-in-doc-comments = "allow" [lints.clippy.all] level = "deny" priority = -1 [lints.clippy.nursery] level = "deny" priority = -1 [lints.clippy.pedantic] level = "deny" priority = -1 [lints.rust] missing-docs = "forbid" unsafe-code = "forbid" [lints.rustdoc] broken-intra-doc-links = "forbid"