[workspace] resolver = "2" members = [ "blade-asset", "blade-egui", "blade-graphics", "blade-macros", "blade-render", ] exclude = [] [workspace.dependencies] base64 = "0.21" bitflags = "2" bytemuck = { version = "1", features = ["derive"] } choir = "0.7" egui = "0.26" glam = { version = "0.25", features = ["mint"] } gltf = { version = "1.1", default-features = false } log = "0.4" mint = "0.5" naga = { version = "0.14", features = ["wgsl-in", "span", "validate"] } profiling = "1" slab = "0.4" strum = { version = "0.25", features = ["derive"] } web-sys = "0.3.60" [lib] [package] name = "blade" description = "Sharp and simple graphics library" version = "0.2.0" edition = "2021" rust-version = "1.65" keywords = ["graphics"] license = "MIT" repository = "https://github.com/kvark/blade" readme = "docs/README.md" [features] [dependencies] blade-asset = { version = "0.2", path = "blade-asset" } blade-egui = { version = "0.3", path = "blade-egui" } blade-graphics = { version = "0.4", path = "blade-graphics" } blade-render = { version = "0.3", path = "blade-render" } base64 = { workspace = true } choir = { workspace = true } colorsys = "0.6" egui = { workspace = true } gltf = { workspace = true } nalgebra = { version = "0.32", features = ["mint"] } log = { workspace = true } mint = { workspace = true, features = ["serde"] } num_cpus = "1" profiling = { workspace = true } rapier3d = { version = "0.18", features = ["debug-render"] } serde = { version = "1", features = ["serde_derive"] } slab = "0.4" strum = { workspace = true } winit = { version = "0.29", features = ["rwh_05"] } [dev-dependencies] blade-macros = { version = "0.2", path = "blade-macros" } bytemuck = { workspace = true } choir = { workspace = true } egui = { workspace = true } egui-gizmo = "0.16" egui_plot = "0.26" egui-winit = "0.26" env_logger = "0.10" del-msh = "=0.1.25" # not following semver :( glam = { workspace = true } log = { workspace = true } mint = { workspace = true, features = ["serde"] } naga = { workspace = true } nanorand = { version = "0.7", default-features = false, features = ["wyrand"] } profiling = { workspace = true } ron = "0.8" serde = { version = "1", features = ["serde_derive"] } strum = { workspace = true } [target.'cfg(target_arch = "wasm32")'.dev-dependencies] console_error_panic_hook = "0.1.7" console_log = "1" web-sys = { workspace = true, features = ["Window"] } [target.'cfg(any(target_os = "windows", target_os = "linux"))'.dev-dependencies] renderdoc = "0.11" # This is too slow in Debug [profile.dev.package.texpresso] opt-level = 3 [package.metadata.cargo_check_external_types] #TODO: reconsider `egui`/`epaint` and `winit` here allowed_external_types = ["egui::*", "epaint::*", "mint::*", "profiling::*", "serde::*", "winit::*"]