-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split sync/tokio into their own separate crates
- Loading branch information
1 parent
f91c604
commit 1413e7a
Showing
79 changed files
with
458 additions
and
513 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
{ | ||
"rust-analyzer.cargo.features": [ | ||
"default", | ||
"tokio", | ||
"lzma", | ||
"deflate64", | ||
"bzip2", | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,7 @@ | ||
[package] | ||
name = "rc-zip" | ||
version = "2.0.1" | ||
description = "zip reading" | ||
repository = "https://github.com/fasterthanlime/rc-zip" | ||
license = "Apache-2.0 OR MIT" | ||
authors = ["Amos Wenger <[email protected]>"] | ||
edition = "2021" | ||
readme = "README.md" | ||
|
||
keywords = ["zip", "unzip"] | ||
categories = ["compression"] | ||
|
||
[lib] | ||
name = "rc_zip" | ||
path = "src/lib.rs" | ||
|
||
[[example]] | ||
name = "jean" | ||
path = "examples/jean/src/main.rs" | ||
|
||
[dependencies] | ||
winnow = "0.5.36" | ||
pretty-hex = "0.4.1" | ||
oval = "2.0.0" | ||
chrono = "0.4.33" | ||
encoding_rs = "0.8.33" | ||
crc32fast = "1.3.2" | ||
positioned-io = { version = "0.3.3", optional = true } | ||
tracing = "0.1.40" | ||
oem_cp = "2.0.0" | ||
thiserror = "1.0.56" | ||
chardetng = "0.1.17" | ||
flate2 = { version = "1.0.28", optional = true } | ||
num_enum = "0.7.2" | ||
byteorder = "1.5.0" | ||
cfg-if = "1.0.0" | ||
lzma-rs = { version = "0.3.0", features = ["stream"], optional = true } | ||
deflate64 = { version = "0.1.7", optional = true } | ||
bzip2 = { version = "0.4.4", optional = true } | ||
zstd = { version = "0.13.0", optional = true } | ||
tokio = { version = "1.35.1", optional = true, features = ["fs", "io-util", "rt-multi-thread"] } | ||
futures = { version = "0.3.30", optional = true } | ||
pin-project-lite = { version = "0.2.13", optional = true } | ||
async-compression = { version = "0.4.6", optional = true, features = ["tokio", "deflate"] } | ||
|
||
[features] | ||
default = ["sync", "file", "deflate"] | ||
sync = [] | ||
file = ["positioned-io"] | ||
deflate = ["dep:flate2"] | ||
deflate64 = ["dep:deflate64"] | ||
lzma = ["dep:lzma-rs"] | ||
bzip2 = ["dep:bzip2"] | ||
zstd = ["dep:zstd"] | ||
tokio = ["dep:tokio", "dep:futures", "dep:pin-project-lite", "async-compression"] | ||
|
||
[dev-dependencies] | ||
clap = { version = "4.4.18", features = ["derive"] } | ||
humansize = "2.1.3" | ||
indicatif = "0.17.7" | ||
test-log = { version = "0.2.14", default-features = false, features = ["tracing-subscriber", "trace"] } | ||
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] } | ||
tokio = { version = "1.35.1", features = ["macros"] } | ||
|
||
[profile.release] | ||
debug = 1 | ||
[workspace] | ||
resolver = "2" | ||
members = [ | ||
"rc-zip", | ||
"rc-zip-sync", | ||
"rc-zip-tokio", | ||
] |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
[package] | ||
name = "rc-zip-sync" | ||
version = "2.0.1" | ||
description = "Synchronous zip reading on top of rc-zip" | ||
repository = "https://github.com/fasterthanlime/rc-zip" | ||
license = "Apache-2.0 or MIT" | ||
authors = ["Amos Wenger <[email protected]>"] | ||
edition = "2021" | ||
readme = "README.md" | ||
|
||
keywords = ["zip", "unzip"] | ||
categories = ["compression"] | ||
|
||
[lib] | ||
name = "rc_zip_sync" | ||
path = "src/lib.rs" | ||
|
||
[[example]] | ||
name = "jean" | ||
path = "examples/jean.rs" | ||
|
||
[dependencies] | ||
positioned-io = { version = "0.3.3", optional = true } | ||
flate2 = { version = "1.0.28", optional = true } | ||
rc-zip = { version = "2.0.1", path = "../rc-zip" } | ||
lzma-rs = { version = "0.3.0", features = ["stream"], optional = true } | ||
deflate64 = { version = "0.1.7", optional = true } | ||
bzip2 = { version = "0.4.4", optional = true } | ||
zstd = { version = "0.13.0", optional = true } | ||
oval = "2.0.0" | ||
crc32fast = "1.3.2" | ||
tracing = "0.1.40" | ||
byteorder = "1.5.0" | ||
cfg-if = "1.0.0" | ||
winnow = "0.5.36" | ||
|
||
[features] | ||
default = ["file", "deflate"] | ||
file = ["positioned-io"] | ||
deflate = ["dep:flate2"] | ||
deflate64 = ["dep:deflate64"] | ||
lzma = ["dep:lzma-rs"] | ||
bzip2 = ["dep:bzip2"] | ||
zstd = ["dep:zstd"] | ||
|
||
[dev-dependencies] | ||
chrono = "0.4.33" | ||
clap = { version = "4.4.18", features = ["derive"] } | ||
humansize = "2.1.3" | ||
indicatif = "0.17.7" | ||
test-log = { version = "0.2.14", default-features = false, features = ["tracing-subscriber", "trace"] } | ||
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.