[package] name = "bevy_tape_drive" version = "0.20.0-dev" edition = "2024" authors = ["molive "] categories = ["game-engines", "graphics", "rendering"] description = "Provides Tape Drive support for Bevy" exclude = ["assets/", "tools/", ".github/", "crates/", "examples/wasm/assets/"] homepage = "https://mo.molive.live" keywords = ["graphics", "bevy", "tape-drive"] license = "Apache-2.0" repository = "https://git.stargaze.group/molive/bevy-tape-drive" rust-version = "1.96.0" [workspace] resolver = "3" members = [ # All of Bevy's official crates are within the `crates` folder! "crates/*", ] [workspace.lints.clippy] doc_markdown = "warn" manual_let_else = "warn" match_same_arms = "warn" redundant_closure_for_method_calls = "warn" redundant_else = "warn" semicolon_if_nothing_returned = "warn" type_complexity = "allow" undocumented_unsafe_blocks = "warn" unwrap_or_default = "warn" needless_lifetimes = "allow" too_many_arguments = "allow" nonstandard_macro_braces = "warn" print_stdout = "warn" print_stderr = "warn" ptr_as_ptr = "warn" ptr_cast_constness = "warn" ref_as_ptr = "warn" # see: https://github.com/bevyengine/bevy/pull/15375#issuecomment-2366966219 too_long_first_doc_paragraph = "allow" # currently falsely fires on std::io, even tho core::io is unstable # https://github.com/rust-lang/rust-clippy/issues/13158#issuecomment-4373196346 std_instead_of_core = "allow" std_instead_of_alloc = "warn" alloc_instead_of_core = "warn" allow_attributes = "warn" allow_attributes_without_reason = "warn" [workspace.lints.rust] # missing_docs = "warn" unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docsrs_dep)'] } unsafe_code = "deny" unsafe_op_in_unsafe_fn = "warn" unused_qualifications = "warn" # Unfortunately, cargo does not currently support overriding workspace lints # inside a particular crate. See https://github.com/rust-lang/cargo/issues/13157 # # We require an override for cases like `std_instead_of_core`, which are intended # for the library contributors and not for how users should consume Bevy. # To ensure examples aren't subject to these lints, below is a duplication of the # workspace lints, with the "overrides" applied. # # [lints] # workspace = true [lints.clippy] doc_markdown = "warn" manual_let_else = "warn" match_same_arms = "warn" redundant_closure_for_method_calls = "warn" redundant_else = "warn" semicolon_if_nothing_returned = "warn" type_complexity = "allow" undocumented_unsafe_blocks = "warn" unwrap_or_default = "warn" needless_lifetimes = "allow" too_many_arguments = "allow" nonstandard_macro_braces = "warn" ptr_as_ptr = "warn" ptr_cast_constness = "warn" ref_as_ptr = "warn" too_long_first_doc_paragraph = "allow" std_instead_of_core = "allow" std_instead_of_alloc = "allow" alloc_instead_of_core = "allow" allow_attributes = "warn" allow_attributes_without_reason = "warn" [lints.rust] missing_docs = "warn" unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docsrs_dep)'] } unsafe_code = "deny" unsafe_op_in_unsafe_fn = "warn" unused_qualifications = "warn" [features] # Use `--features dlss` to enable denoising with DLSS Ray Reconstruction in Solari. It # is off by default because a build with it needs the DLSS SDK. dlss = ["bevy_tape_drive_solari/dlss"] force_disable_dlss = ["bevy_tape_drive_solari/force_disable_dlss"] [dependencies] bevy_tape_drive_solari = { path = "crates/bevy_tape_drive_solari" } bevy_tape_load = { path = "crates/bevy_tape_load" } [dev-dependencies] # Bevy bevy = { git = "https://github.com/bevyengine/bevy.git", rev = "0f38358f573a7dc6ea961076f6151be662142010", features = [ "default_font", "https", "free_camera", "dev", ] } # Others rand = "0.10.0" chacha20 = { version = "0.10.0", default-features = false, features = ["rng"] } ron = "0.12" flate2 = "1.0" serde = { version = "1", features = ["derive"] } serde_json = "1.0.140" bytemuck = "1" # Needed to poll Task examples futures-lite = "2.0.1" futures-timer = { version = "3", features = ["wasm-bindgen", "gloo-timers"] } crossbeam-channel = "0.5.0" argh = "0.1.12" thiserror = "2.0" event-listener = "5.3.0" anyhow = "1" accesskit = "0.25" nonmax = "0.5" gltf = "1.4" indexmap = "2" [target.'cfg(not(target_family = "wasm"))'.dev-dependencies] ureq = { version = "3.0.8", features = ["json"] } [target.'cfg(target_arch = "wasm32")'.dev-dependencies] getrandom = { version = "0.4", default-features = false, features = [ "wasm_js", ] } wasm-bindgen = { version = "0.2" } web-sys = { version = "0.3", features = ["Window"] } [[example]] name = "pica_pica" path = "examples/pica_pica.rs"