Crates.io | sprinkles-rs |
lib.rs | sprinkles-rs |
version | 0.15.2 |
source | src |
created_at | 2024-05-20 13:07:23.721925 |
updated_at | 2024-06-05 10:07:00.123078 |
description | A Rust based abstraction layer for Scoop |
homepage | https://github.com/winpax/sprinkles |
repository | https://github.com/winpax/sprinkles |
max_upload_size | |
id | 1245718 |
size | 315,400 |
View the latest documentation at docs.rs, or on Github Pages.
Please note this library is currently in an early stage of development, and is not recommended for use in production. There are likely to be breaking changes in the future, and there is no guarantee that the API will remain stable until v1.0.
Sprinkles is a library for interacting with Scoop, the Windows package manager.
It provides a high-level API for interacting with Scoop, such as installing, updating, and removing packages.
If you want a more in depth example of how to use the library, check out the sfsu project.
use sprinkles::contexts::{User, ScoopContext};
let ctx = User::new();
let apps = ctx.installed_apps().unwrap();
println!("You have {} apps installed", apps.len());
The benchmarks rely on the large-file.bin
file, which should be a large amount (>100MB) of random data.
To generate the file, run the following command (feel free to change the size to your liking):
Install genfile and run the following command:
genfile --size 512mb -o benches/large-file.bin --random
dd if=/dev/urandom of=benches/large-file.bin bs=1M count=512
I will maintain support for the MSRV mentioned in Cargo.toml, although it may change across a major version.
Windows is the only supported platform at the moment, and this will likely not change, given that Scoop is only available on Windows.
Made with 💗 by Juliette Cordor