feat: Migrate SAL to Cargo workspace
Some checks failed
Rhai Tests / Run Rhai Tests (push) Has been cancelled
Rhai Tests / Run Rhai Tests (pull_request) Has been cancelled

- Migrate individual modules to independent crates
- Refactor dependencies for improved modularity
- Update build system and testing infrastructure
- Update documentation to reflect new structure
This commit is contained in:
Mahmoud-Emad
2025-06-24 12:39:18 +03:00
parent 8012a66250
commit e125bb6511
54 changed files with 1196 additions and 1582 deletions

View File

@@ -9,23 +9,19 @@ license = "Apache-2.0"
[dependencies]
# Core dependencies for process management
tempfile = "3.5"
rhai = { version = "1.12.0", features = ["sync"] }
anyhow = "1.0.98"
tempfile = { workspace = true }
rhai = { workspace = true }
anyhow = { workspace = true }
# SAL dependencies
sal-text = { path = "../text" }
# Optional features for specific OS functionality
[target.'cfg(unix)'.dependencies]
nix = "0.30.1"
nix = { workspace = true }
[target.'cfg(windows)'.dependencies]
windows = { version = "0.61.1", features = [
"Win32_Foundation",
"Win32_System_Threading",
"Win32_Storage_FileSystem",
] }
windows = { workspace = true }
[dev-dependencies]
tempfile = "3.5"
tempfile = { workspace = true }