sal/os/Cargo.toml
Mahmoud-Emad c4cdb8126c
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
feat: Add support for new OS package
- Add a new `sal-os` package containing OS interaction utilities.
- Update workspace members to include the new package.
- Add README and basic usage examples for the new package.
2025-06-21 15:45:43 +03:00

37 lines
940 B
TOML

[package]
name = "sal-os"
version = "0.1.0"
edition = "2021"
authors = ["PlanetFirst <info@incubaid.com>"]
description = "SAL OS - Operating system interaction utilities with cross-platform abstraction"
repository = "https://git.threefold.info/herocode/sal"
license = "Apache-2.0"
keywords = ["system", "os", "filesystem", "download", "package-management"]
categories = ["os", "filesystem", "api-bindings"]
[dependencies]
# Core dependencies for file system operations
dirs = "6.0.0"
glob = "0.3.1"
libc = "0.2"
# Error handling
thiserror = "2.0.12"
# Rhai scripting support
rhai = { version = "1.12.0", features = ["sync"] }
# Optional features for specific OS functionality
[target.'cfg(unix)'.dependencies]
nix = "0.30.1"
[target.'cfg(windows)'.dependencies]
windows = { version = "0.61.1", features = [
"Win32_Foundation",
"Win32_System_Threading",
"Win32_Storage_FileSystem",
] }
[dev-dependencies]
tempfile = "3.5"