| Crates.io | s |
| lib.rs | s |
| version | 0.1.2 |
| created_at | 2025-07-19 08:42:05.1703+00 |
| updated_at | 2025-07-19 09:12:40.787575+00 |
| description | AI Optimized Rust Utilities Crate |
| homepage | |
| repository | https://github.com/rustcrate/s |
| max_upload_size | |
| id | 1760012 |
| size | 4,778 |
A simple Rust system utilities crate with functions to:
Add this to your Cargo.toml:
[dependencies]
s = "0.1"
Then in your code:
fn main() {
let cores = s::ncpu();
println!("Number of CPU cores: {}", cores);
println!("Current timestamp: {}", s::time());
}