/ let-engine / Cargo.toml
Cargo.toml
1 [package] 2 name = "let-engine" 3 authors = ["let"] 4 readme = "../README.md" 5 description = "game engine" 6 7 version = { workspace = true } 8 edition = { workspace = true } 9 repository = { workspace = true } 10 homepage = { workspace = true } 11 keywords = { workspace = true } 12 license = { workspace = true } 13 14 15 [package.metadata.docs.rs] 16 default-target = "x86_64-unknown-linux-gnu" 17 18 [dependencies] 19 foldhash = { workspace = true } 20 parking_lot = { workspace = true } 21 anyhow = { workspace = true } 22 thiserror = { workspace = true } 23 derive_builder = { workspace = true } 24 crossbeam = { workspace = true } 25 atomic_float = "1.1" 26 spin_sleep = "1.3" 27 log = "0.4" 28 ctrlc = "3.4" 29 concurrent-slotmap = "0.2.0-alpha.1" 30 31 [dependencies.rkyv] 32 workspace = true 33 optional = true 34 35 [dependencies.bytemuck] 36 workspace = true 37 features = ["derive", "min_const_generics"] 38 39 [dependencies.smol] 40 workspace = true 41 optional = true 42 43 [dependencies.futures] 44 workspace = true 45 optional = true 46 47 [dependencies.rand] 48 workspace = true 49 optional = true 50 51 [dependencies.local-ip-address] 52 version = "0.6" 53 optional = true 54 55 [dependencies.vulkano] 56 # version = "0.35" 57 git = "https://github.com/vulkano-rs/vulkano.git" 58 branch = "master" 59 optional = true 60 61 [dependencies.egui] 62 workspace = true 63 optional = true 64 65 [dependencies.egui_winit_vulkano] 66 git = "https://github.com/LukeP0WERS/egui_winit_vulkano.git" 67 branch = "master" 68 optional = true 69 70 [dependencies.vulkano-taskgraph] 71 git = "https://github.com/vulkano-rs/vulkano.git" 72 branch = "master" 73 optional = true 74 75 [dependencies.winit] 76 workspace = true 77 optional = true 78 79 [dependencies.image] 80 workspace = true 81 optional = true 82 83 [dependencies.glam] 84 workspace = true 85 features = ["bytemuck"] 86 87 [dependencies.rapier2d] 88 workspace = true 89 # features = ["simd-stable"] 90 optional = true 91 92 [dependencies.let-engine-asset-system] 93 version = "0.11.0" 94 path = "../asset-system" 95 optional = true 96 97 [dependencies.let-engine-core] 98 version = "0.11.0" 99 path = "../core" 100 101 [dev-dependencies] 102 # egui_demo_lib = "0.31" 103 simple_logger = "5.0" 104 let-engine-widgets = { path = "../widgets" } 105 image = { workspace = true } 106 rand = { workspace = true } 107 108 [[example]] 109 name = "circle" 110 path = "examples/client/circle.rs" 111 required-features = ["client", "default_gpu_backend"] 112 113 [[example]] 114 name = "shapes" 115 path = "examples/client/shapes.rs" 116 required-features = ["client", "default_gpu_backend"] 117 118 [[example]] 119 name = "menu" 120 path = "examples/client/menu.rs" 121 required-features = ["client", "default_gpu_backend"] 122 123 [[example]] 124 name = "texture" 125 path = "examples/client/texture.rs" 126 required-features = ["client", "default_gpu_backend"] 127 128 [[example]] 129 name = "pong" 130 path = "examples/client/pong.rs" 131 required-features = ["client", "physics", "default_gpu_backend"] 132 133 [features] 134 default = ["client", "physics", "default_gpu_backend"] 135 136 egui = ["dep:egui_winit_vulkano", "dep:egui", "client", "let-engine-core/egui"] 137 client = ["dep:winit", "dep:image", "let-engine-core/client"] 138 default_gpu_backend = ["dep:vulkano", "dep:vulkano-taskgraph", "client"] 139 default_networking_backend = [ 140 "dep:local-ip-address", 141 "glam/rkyv", 142 "glam/bytecheck", 143 "dep:rkyv", 144 "dep:smol", 145 "dep:futures", 146 "dep:rand", 147 ] 148 vulkan_debug = ["default_gpu_backend"] 149 physics = ["dep:rapier2d", "let-engine-core/physics"] 150 asset_system = ["dep:let-engine-asset-system"] 151 152 rand = ["glam/rand", "let-engine-core/rand"] 153 fast-math = ["glam/fast-math", "let-engine-core/fast-math"] 154 155 # asset system compression algorithms 156 deflate = ["let-engine-asset-system/deflate"] 157 bzip2 = ["let-engine-asset-system/bzip2"] 158 zstd = ["let-engine-asset-system/zstd"] 159 lzma = ["let-engine-asset-system/lzma"] 160 lz4 = ["let-engine-asset-system/lz4"]