chore: Initialize workspace structure
- Add workspace Cargo.toml with members - Add .gitignore for Rust projects
This commit is contained in:
21
.gitignore
vendored
Normal file
21
.gitignore
vendored
Normal 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
30
Cargo.toml
Normal 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" }
|
||||
Reference in New Issue
Block a user