[package] name = "bevy_tape_drive" version = "0.1.0" 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] default = ["force_tlas_through_wgpu_core"] # 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"] force_tlas_through_wgpu_core = [ "bevy_tape_drive_solari/force_tlas_through_wgpu_core", ] [dependencies] bevy_tape_drive_solari = { path = "crates/bevy_tape_drive_solari" } bevy_tape_load = { path = "crates/bevy_tape_load" } [dev-dependencies] bevy = { git = "https://github.com/bevyengine/bevy.git", rev = "59fed6a181902d40ccd739dd8f7c97d6d5714f42", default-features = false, features = [ "default_app", "3d_bevy_render", "scene", "picking", "ui_api", "ui_bevy_render", "bevy_ui_widgets", "default_font", "https", "free_camera", "dev", "std", "bevy_gilrs", "bevy_winit", "bevy_clipboard", "multi_threaded", "webgl2", "x11", #"wayland", "custom_cursor", "sysinfo_plugin", ] } # Bevy # 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" [patch.'https://github.com/bevyengine/bevy.git'] bevy = { path = "../bevy" } bevy_anti_alias = { path = "../bevy/crates/bevy_anti_alias" } bevy_app = { path = "../bevy/crates/bevy_app" } bevy_asset = { path = "../bevy/crates/bevy_asset" } bevy_camera = { path = "../bevy/crates/bevy_camera" } bevy_color = { path = "../bevy/crates/bevy_color" } bevy_core_pipeline = { path = "../bevy/crates/bevy_core_pipeline" } bevy_derive = { path = "../bevy/crates/bevy_derive" } bevy_diagnostic = { path = "../bevy/crates/bevy_diagnostic" } bevy_ecs = { path = "../bevy/crates/bevy_ecs" } bevy_light = { path = "../bevy/crates/bevy_light" } bevy_image = { path = "../bevy/crates/bevy_image" } bevy_log = { path = "../bevy/crates/bevy_log" } bevy_material = { path = "../bevy/crates/bevy_material" } bevy_math = { path = "../bevy/crates/bevy_math" } bevy_mesh = { path = "../bevy/crates/bevy_mesh" } bevy_pbr = { path = "../bevy/crates/bevy_pbr" } bevy_platform = { path = "../bevy/crates/bevy_platform" } bevy_reflect = { path = "../bevy/crates/bevy_reflect" } bevy_render = { path = "../bevy/crates/bevy_render" } bevy_shader = { path = "../bevy/crates/bevy_shader" } bevy_shape = { path = "../bevy/crates/bevy_shape" } bevy_transform = { path = "../bevy/crates/bevy_transform" } bevy_utils = { path = "../bevy/crates/bevy_utils" }