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:
2026-03-24 17:47:02 +09:00
parent 40cb38fdc5
commit c5b71b32b7
10 changed files with 2715 additions and 0 deletions

2642
Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

19
Cargo.toml Normal file
View 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"

View File

@@ -0,0 +1,8 @@
[package]
name = "voltex_math"
version = "0.1.0"
edition = "2021"
[dependencies]
[dev-dependencies]

View File

@@ -0,0 +1 @@
// Voltex Math Library - Phase 1

View 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

View File

@@ -0,0 +1,2 @@
// Voltex Platform - Phase 1
// Modules will be added in Task 3

View 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

View File

@@ -0,0 +1,2 @@
// Voltex Renderer - Phase 1
// Modules will be added in Task 4

View 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

View File

@@ -0,0 +1,4 @@
// examples/triangle/src/main.rs
fn main() {
println!("Voltex Triangle Demo");
}