quilt-rs 0.25.0

Rust library for accessing Quilt data packages.
Documentation

For all operations instantiate LocalDomain and then call some of its methods.

For example, for installing package you can create path, where everything will be stored. There will be .quilt directory and working directory for each package.

let path = PathBuf::from("/foo/bar");

Instantiate LocalDomain for that path .

let local_domain = quilt_rs::LocalDomain::new(path);

Create ManifestUri. You can do this by creating "quilt+s3" URI and convert it.

let package_uri = S3PackageUri::try_from("quilt+s3://lorem#package=ipsum@hash-is-required")?;
let manifest_uri = ManifestUri::try_from(package_uri)?;

Then call install_package method. You will get InstalledPackage as output.

let installed_package = local_domain.install_package(&manifest_uri).await?;