Debian Codegraph @

src/lib.rs

raw symbols SCIP
1 // Copyright (c) 2021-2023 Harry [Majored] [[email protected]]
2 // MIT License (https://github.com/Majored/rs-async-zip/blob/main/LICENSE)
3
4 // Document all features on docs.rs
5 #![cfg_attr(docsrs, feature(doc_cfg))]
6
7 //! An asynchronous ZIP archive reading/writing crate.
8 //!
9 //! ## Features
10 //! - A base implementation atop `futures`'s IO traits.
11 //! - An extended implementation atop `tokio`'s IO traits.
12 //! - Support for Stored, Deflate, bzip2, LZMA, zstd, and xz compression methods.
13 //! - Various different reading approaches (seek, stream, filesystem, in-memory buffer).
14 //! - Support for writing complete data (u8 slices) or stream writing using data descriptors.
15 //! - Initial support for ZIP64 reading and writing.
16 //! - Aims for reasonable [specification](https://github.com/Majored/rs-async-zip/blob/main/SPECIFICATION.md) compliance.
17 //!
18 //! ## Installation
19 //!
20 //! ```toml
21 //! [dependencies]
22 //! async_zip = { version = "0.0.17", features = ["full"] }
23 //! ```
24 //!
25 //! ### Feature Flags
26 //! - `full` - Enables all below features.
27 //! - `full-wasm` - Enables all below features that are compatible with WASM.
28 //! - `chrono` - Enables support for parsing dates via `chrono`.
29 //! - `tokio` - Enables support for the `tokio` implementation module.
30 //! - `tokio-fs` - Enables support for the `tokio::fs` reading module.
31 //! - `deflate` - Enables support for the Deflate compression method.
32 //! - `bzip2` - Enables support for the bzip2 compression method.
33 //! - `lzma` - Enables support for the LZMA compression method.
34 //! - `zstd` - Enables support for the zstd compression method.
35 //! - `xz` - Enables support for the xz compression method.
36 //!
37 //! [Read more.](https://github.com/Majored/rs-async-zip)
38
39 pub mod baserust-analyzer cargo async_zip 0.0.18 base/;
40 pub mod errorrust-analyzer cargo async_zip 0.0.18 error/;
41
42 #[cfg(feature = "tokio")]
43 pub mod tokiorust-analyzer cargo async_zip 0.0.18 tokio/;
44
45 pub(craterust-analyzer cargo async_zip 0.0.18 crate/) mod daterust-analyzer cargo async_zip 0.0.18 date/;
46 pub(craterust-analyzer cargo async_zip 0.0.18 crate/) mod entryrust-analyzer cargo async_zip 0.0.18 entry/;
47 pub(craterust-analyzer cargo async_zip 0.0.18 crate/) mod filerust-analyzer cargo async_zip 0.0.18 file/;
48 pub(craterust-analyzer cargo async_zip 0.0.18 crate/) mod specrust-analyzer cargo async_zip 0.0.18 spec/;
49 pub(craterust-analyzer cargo async_zip 0.0.18 crate/) mod stringrust-analyzer cargo async_zip 0.0.18 string/;
50 pub(craterust-analyzer cargo async_zip 0.0.18 crate/) mod utilsrust-analyzer cargo async_zip 0.0.18 utils/;
51
52 #[cfg(test)]
53 pub(craterust-analyzer cargo async_zip 0.0.18 crate/) mod testsrust-analyzer cargo async_zip 0.0.18 tests/;
54
55 pub use craterust-analyzer cargo async_zip 0.0.18 crate/::specrust-analyzer cargo async_zip 0.0.18 spec/::attributerust-analyzer cargo async_zip 0.0.18 spec/attribute/::AttributeCompatibilityrust-analyzer cargo async_zip 0.0.18 spec/attribute/AttributeCompatibility#;
56 pub use craterust-analyzer cargo async_zip 0.0.18 crate/::specrust-analyzer cargo async_zip 0.0.18 spec/::compressionrust-analyzer cargo async_zip 0.0.18 spec/compression/::{Compressionrust-analyzer cargo async_zip 0.0.18 spec/compression/Compression#, DeflateOptionrust-analyzer cargo async_zip 0.0.18 spec/compression/DeflateOption#};
57
58 pub use craterust-analyzer cargo async_zip 0.0.18 crate/::daterust-analyzer cargo async_zip 0.0.18 date/::{builderrust-analyzer cargo async_zip 0.0.18 date/builder/::ZipDateTimeBuilderrust-analyzer cargo async_zip 0.0.18 date/builder/ZipDateTimeBuilder#, ZipDateTimerust-analyzer cargo async_zip 0.0.18 date/ZipDateTime#};
59 pub use craterust-analyzer cargo async_zip 0.0.18 crate/::entryrust-analyzer cargo async_zip 0.0.18 entry/::{builderrust-analyzer cargo async_zip 0.0.18 entry/builder/::ZipEntryBuilderrust-analyzer cargo async_zip 0.0.18 entry/builder/ZipEntryBuilder#, StoredZipEntryrust-analyzer cargo async_zip 0.0.18 entry/StoredZipEntry#, ZipEntryrust-analyzer cargo async_zip 0.0.18 entry/ZipEntry#};
60 pub use craterust-analyzer cargo async_zip 0.0.18 crate/::filerust-analyzer cargo async_zip 0.0.18 file/::{builderrust-analyzer cargo async_zip 0.0.18 file/builder/::ZipFileBuilderrust-analyzer cargo async_zip 0.0.18 file/builder/ZipFileBuilder#, ZipFilerust-analyzer cargo async_zip 0.0.18 file/ZipFile#};
61
62 pub use craterust-analyzer cargo async_zip 0.0.18 crate/::stringrust-analyzer cargo async_zip 0.0.18 string/::{StringEncodingrust-analyzer cargo async_zip 0.0.18 string/StringEncoding#, ZipStringrust-analyzer cargo async_zip 0.0.18 string/ZipString#};