feat: initialize cargo workspace with voltex_math, voltex_platform, voltex_renderer
Phase 1 Task 1 - workspace scaffolding with stub crates Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2642
Cargo.lock
generated
Normal file
2642
Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
19
Cargo.toml
Normal file
19
Cargo.toml
Normal file
@@ -0,0 +1,19 @@
|
||||
[workspace]
|
||||
resolver = "2"
|
||||
members = [
|
||||
"crates/voltex_math",
|
||||
"crates/voltex_platform",
|
||||
"crates/voltex_renderer",
|
||||
"examples/triangle",
|
||||
]
|
||||
|
||||
[workspace.dependencies]
|
||||
voltex_math = { path = "crates/voltex_math" }
|
||||
voltex_platform = { path = "crates/voltex_platform" }
|
||||
voltex_renderer = { path = "crates/voltex_renderer" }
|
||||
wgpu = "28.0"
|
||||
winit = "0.30"
|
||||
bytemuck = { version = "1", features = ["derive"] }
|
||||
pollster = "0.4"
|
||||
env_logger = "0.11"
|
||||
log = "0.4"
|
||||
8
crates/voltex_math/Cargo.toml
Normal file
8
crates/voltex_math/Cargo.toml
Normal file
@@ -0,0 +1,8 @@
|
||||
[package]
|
||||
name = "voltex_math"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
|
||||
[dev-dependencies]
|
||||
1
crates/voltex_math/src/lib.rs
Normal file
1
crates/voltex_math/src/lib.rs
Normal file
@@ -0,0 +1 @@
|
||||
// Voltex Math Library - Phase 1
|
||||
9
crates/voltex_platform/Cargo.toml
Normal file
9
crates/voltex_platform/Cargo.toml
Normal file
@@ -0,0 +1,9 @@
|
||||
[package]
|
||||
name = "voltex_platform"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
voltex_math.workspace = true
|
||||
winit.workspace = true
|
||||
log.workspace = true
|
||||
2
crates/voltex_platform/src/lib.rs
Normal file
2
crates/voltex_platform/src/lib.rs
Normal file
@@ -0,0 +1,2 @@
|
||||
// Voltex Platform - Phase 1
|
||||
// Modules will be added in Task 3
|
||||
13
crates/voltex_renderer/Cargo.toml
Normal file
13
crates/voltex_renderer/Cargo.toml
Normal file
@@ -0,0 +1,13 @@
|
||||
[package]
|
||||
name = "voltex_renderer"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
voltex_math.workspace = true
|
||||
voltex_platform.workspace = true
|
||||
wgpu.workspace = true
|
||||
winit.workspace = true
|
||||
bytemuck.workspace = true
|
||||
pollster.workspace = true
|
||||
log.workspace = true
|
||||
2
crates/voltex_renderer/src/lib.rs
Normal file
2
crates/voltex_renderer/src/lib.rs
Normal file
@@ -0,0 +1,2 @@
|
||||
// Voltex Renderer - Phase 1
|
||||
// Modules will be added in Task 4
|
||||
15
examples/triangle/Cargo.toml
Normal file
15
examples/triangle/Cargo.toml
Normal file
@@ -0,0 +1,15 @@
|
||||
[package]
|
||||
name = "triangle"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
voltex_math.workspace = true
|
||||
voltex_platform.workspace = true
|
||||
voltex_renderer.workspace = true
|
||||
wgpu.workspace = true
|
||||
winit.workspace = true
|
||||
bytemuck.workspace = true
|
||||
pollster.workspace = true
|
||||
env_logger.workspace = true
|
||||
log.workspace = true
|
||||
4
examples/triangle/src/main.rs
Normal file
4
examples/triangle/src/main.rs
Normal file
@@ -0,0 +1,4 @@
|
||||
// examples/triangle/src/main.rs
|
||||
fn main() {
|
||||
println!("Voltex Triangle Demo");
|
||||
}
|
||||
Reference in New Issue
Block a user