Crates.io | sprinkles-rs |
lib.rs | sprinkles-rs |
version | |
source | src |
created_at | 2024-05-20 13:07:23.721925 |
updated_at | 2024-12-12 02:17:45.843783 |
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 |
Cargo.toml error: | TOML parse error at line 28, column 1 | 28 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
View the latest documentation on Github Pages (the docs.rs builds are currently failing).
[!WARNING] This library is currently unstable, and is not recommended for use in production. There will be breaking changes in the future, and the API may change.
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.
Please, please, please check the FAQs, before you report an issue.
If you have a question, please ask it on the discussions page.
If you have a bug report, feature request, or other issue, then open an issue.
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().unwrap();
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
Windows is the only supported platform at the moment, and this will likely not change, given that Scoop is only available on Windows.
The MSRV may change in the future, but will only ever be increased over the course of a major version.
The MSRV is set for the target x86_64-pc-windows-msvc
, and is checked for all supported platforms in the CI.
Made with 💗 by Juliette Cordor