MCPcopy Index your code
hub / github.com/Nullus157/async-compression

github.com/Nullus157/async-compression @v0.4.27

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.4.27 ↗ · + Follow
462 symbols 871 edges 105 files 54 documented · 12%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

async-compression

crates.io version build status [downloads]6 [docs.rs docs]8 MIT or Apache 2.0 licensed [dependency status]11

This crate provides adaptors between compression crates and Rust's modern asynchronous IO types.

Development

When developing you will need to enable appropriate features for the different test cases to run, the simplest is cargo test --all-features, but you can enable different subsets of features as appropriate for the code you are testing to avoid compiling all dependencies, e.g. cargo test --features tokio,gzip.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.

Extension points exported contracts — how you extend this code

Encode (Interface)
(no doc) [11 implementers]
src/codec/mod.rs
AsyncBufWrite (Interface)
(no doc) [1 implementers]
src/tokio/write/buf_write.rs
AsyncBufWrite (Interface)
(no doc) [1 implementers]
src/futures/write/buf_write.rs
AsyncWriteTestExt (Interface)
(no doc) [1 implementers]
tests/utils/tokio_ext/mod.rs
Decode (Interface)
(no doc) [12 implementers]
src/codec/mod.rs

Core symbols most depended-on inside this repo

len
called by 70
tests/utils/input_stream.rs
unwritten
called by 65
src/util.rs
project
called by 53
tests/utils/track_eof.rs
written
called by 48
src/util.rs
advance
called by 42
src/util.rs
unwritten_mut
called by 22
src/util.rs
get_mut
called by 14
src/tokio/write/buf_writer.rs
finish
called by 13
src/codec/xz/decoder.rs

Shape

Method 372
Class 41
Function 28
Enum 16
Interface 5

Languages

Rust100%

Modules by API surface

tests/artifacts/lib.rs24 symbols
src/zstd.rs20 symbols
src/futures/write/generic/encoder.rs18 symbols
src/tokio/write/generic/encoder.rs17 symbols
src/tokio/bufread/generic/encoder.rs15 symbols
src/futures/write/generic/decoder.rs15 symbols
src/futures/write/buf_writer.rs15 symbols
src/util.rs14 symbols
src/tokio/write/generic/decoder.rs14 symbols
src/tokio/write/buf_writer.rs14 symbols
src/tokio/bufread/generic/decoder.rs14 symbols
src/futures/bufread/generic/encoder.rs14 symbols

For agents

$ claude mcp add async-compression \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact