diff --git a/Cargo.toml b/Cargo.toml index 7681d0d..8bf1fad 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "composefs_experiments" +name = "composefs" version = "0.1.0" license = "MIT OR Apache-2.0" edition = "2021" @@ -28,5 +28,5 @@ zstd = "0.13.2" opt-level = 3 [lib] -name = "composefs_experiments" +name = "composefs" path = "src/lib.rs" diff --git a/README.md b/README.md index 1b1136b..48fdc22 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# composefs experiments in rust +# composefs-rs This is a set of experiments exploring ideas around how to structure an on-disk [composefs](https://github.com/containers/composefs) repository. diff --git a/src/bin/cfsctl.rs b/src/bin/cfsctl.rs index 7b64444..502bc3b 100644 --- a/src/bin/cfsctl.rs +++ b/src/bin/cfsctl.rs @@ -3,7 +3,7 @@ use std::path::PathBuf; use anyhow::Result; use clap::{Parser, Subcommand}; -use composefs_experiments::{oci, repository::Repository, util::parse_sha256}; +use composefs::{oci, repository::Repository, util::parse_sha256}; /// cfsctl #[derive(Debug, Parser)] diff --git a/src/bin/composefs-pivot-sysroot.rs b/src/bin/composefs-pivot-sysroot.rs index 941ae0f..6230f2e 100644 --- a/src/bin/composefs-pivot-sysroot.rs +++ b/src/bin/composefs-pivot-sysroot.rs @@ -2,7 +2,7 @@ use std::path::Path; use anyhow::{bail, Result}; -use composefs_experiments::{fsverity::Sha256HashValue, repository::Repository}; +use composefs::{fsverity::Sha256HashValue, repository::Repository}; fn parse_composefs_cmdline(cmdline: &[u8]) -> Result { // TODO?: officially we need to understand quoting with double-quotes... diff --git a/src/bin/mount.rs b/src/bin/mount.rs index 45f61ad..bea336e 100644 --- a/src/bin/mount.rs +++ b/src/bin/mount.rs @@ -2,7 +2,7 @@ use std::path::PathBuf; use clap::Parser; -use composefs_experiments::mount::MountOptions; +use composefs::mount::MountOptions; /// mount a composefs #[derive(Parser, Debug)] diff --git a/tests/repo.rs b/tests/repo.rs index 9e4d146..4278b55 100644 --- a/tests/repo.rs +++ b/tests/repo.rs @@ -3,7 +3,7 @@ use std::{fmt::Write, fs::create_dir_all, path::PathBuf}; use anyhow::{Context, Result}; use sha2::{Digest, Sha256}; -use composefs_experiments::{oci, repository::Repository}; +use composefs::{oci, repository::Repository}; fn append_data(builder: &mut tar::Builder>, name: &str, size: usize) -> Result<()> { let mut header = tar::Header::new_ustar();