diff --git a/Cargo.lock b/Cargo.lock index 3d0e033..bb863c8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -437,6 +437,19 @@ version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" +[[package]] +name = "jean" +version = "1.0.0" +dependencies = [ + "cfg-if", + "clap", + "humansize", + "indicatif", + "rc-zip", + "rc-zip-sync", + "tracing-subscriber", +] + [[package]] name = "jobserver" version = "0.1.28" @@ -795,15 +808,10 @@ dependencies = [ name = "rc-zip-sync" version = "4.2.2" dependencies = [ - "cfg-if", - "clap", - "humansize", - "indicatif", "oval", "positioned-io", "rc-zip", "tracing", - "tracing-subscriber", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 37adf67..49120f0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [workspace] resolver = "2" -members = [ +members = [ "jean", "rc-zip", "rc-zip-sync", "rc-zip-tokio", diff --git a/jean/Cargo.toml b/jean/Cargo.toml new file mode 100644 index 0000000..4af5928 --- /dev/null +++ b/jean/Cargo.toml @@ -0,0 +1,23 @@ +[package] +name = "jean" +version = "1.0.0" +description = "A sample zip decompressor based on rc-zip" +license = "Apache-2.0 OR MIT" +authors = ["Amos Wenger "] +edition = "2021" +readme = "README.md" +publish = false + +[dependencies] +rc-zip = { version = "5.1.3", path = "../rc-zip", features = ["corpus"] } +rc-zip-sync = { version = "4.2.2", path = "../rc-zip-sync", features = [ + "bzip2", + "deflate64", + "lzma", + "zstd", +] } +clap = { version = "4.4.18", features = ["derive"] } +humansize = "2.1.3" +indicatif = "0.17.7" +tracing-subscriber = { version = "0.3.18", features = ["env-filter"] } +cfg-if = "1.0.0" diff --git a/rc-zip-sync/examples/jean.rs b/jean/src/main.rs similarity index 100% rename from rc-zip-sync/examples/jean.rs rename to jean/src/main.rs diff --git a/rc-zip-sync/Cargo.toml b/rc-zip-sync/Cargo.toml index ac99690..58db1f3 100644 --- a/rc-zip-sync/Cargo.toml +++ b/rc-zip-sync/Cargo.toml @@ -33,11 +33,3 @@ deflate64 = ["rc-zip/deflate64"] lzma = ["rc-zip/lzma"] bzip2 = ["rc-zip/bzip2"] zstd = ["rc-zip/zstd"] - -[dev-dependencies] -clap = { version = "4.4.18", features = ["derive"] } -humansize = "2.1.3" -indicatif = "0.17.7" -tracing-subscriber = { version = "0.3.18", features = ["env-filter"] } -rc-zip = { version = "5.1.3", path = "../rc-zip", features = ["corpus"] } -cfg-if = "1.0.0"