chore: Initialize workspace structure

- Add workspace Cargo.toml with members
- Add .gitignore for Rust projects
This commit is contained in:
2026-01-10 23:54:41 +09:00
commit 671cc2f497
2 changed files with 51 additions and 0 deletions

21
.gitignore vendored Normal file
View File

@@ -0,0 +1,21 @@
# Rust build artifacts
/target/
**/target/
# Cargo lock (optional - can be committed for binaries)
# Cargo.lock
# IDE
.idea/
.vscode/
*.swp
*.swo
*~
# OS
.DS_Store
Thumbs.db
# Backup files
*.bak
*.orig

30
Cargo.toml Normal file
View File

@@ -0,0 +1,30 @@
[workspace]
resolver = "2"
members = [
"simul-core",
"simul-euclidean",
"simul",
]
[workspace.package]
version = "0.1.0"
edition = "2021"
license = "MIT"
repository = "https://github.com/example/simul"
[workspace.dependencies]
# Core dependencies
nalgebra = "0.33"
thiserror = "2"
rand = "0.8"
rand_distr = "0.4"
# Parallelization
rayon = "1.10"
# Testing
approx = "0.5"
# Internal crates
simul-core = { path = "simul-core" }
simul-euclidean = { path = "simul-euclidean" }