# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.80" name = "warcat" version = "0.3.2" authors = [ "Christopher Foo", "Warcat-rs contributors", ] build = false exclude = [ "/.cargo", "/.github/ISSUE_TEMPLATE", "/.github/pull_request_template.md", "/.github/workflows", "/.vscode", "/.readthedocs.yaml", "/misc", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Command-line tool and library for handling Web ARChive (WARC) files" readme = "README.md" keywords = [ "archiving", "warc", ] categories = [ "command-line-utilities", "parser-implementations", ] license = "MPL-2.0" repository = "https://github.com/chfoo/warcat-rs" [lib] name = "warcat" path = "src/lib.rs" [[bin]] name = "warcat" path = "src/main.rs" required-features = ["bin"] [[example]] name = "decode" path = "examples/decode.rs" [[example]] name = "encode" path = "examples/encode.rs" [[test]] name = "test_decode" path = "tests/test_decode.rs" [[test]] name = "warc_generator" path = "tests/warc_generator.rs" [dependencies.anyhow] version = "1.0.86" optional = true [dependencies.blake2] version = "0.10.6" [dependencies.blake3] version = "1.5.4" features = [ "pure", "traits-preview", ] [dependencies.brotli] version = "7.0.0" [dependencies.chrono] version = "0.4.38" [dependencies.ciborium] version = "0.2.2" [dependencies.clap] version = "4.5.16" features = [ "cargo", "derive", ] optional = true [dependencies.clap-markdown] version = "0.1.4" optional = true [dependencies.crc32c] version = "0.6.8" [dependencies.crc32fast] version = "1.4.2" [dependencies.csv] version = "1.3.0" [dependencies.data-encoding] version = "2.6.0" [dependencies.digest] version = "0.10.7" [dependencies.flate2] version = "1.0.31" [dependencies.indicatif] version = "0.17.8" optional = true [dependencies.md-5] version = "0.10.6" [dependencies.nom] version = "7.1.3" [dependencies.percent-encoding] version = "2.3.1" [dependencies.redb] version = "2.1.3" [dependencies.regex] version = "1.10.6" features = [ "std", "perf", ] default-features = false [dependencies.serde] version = "1.0.209" [dependencies.serde_json] version = "1.0.127" [dependencies.serde_with] version = "3.11.0" features = [ "base64", "hex", ] [dependencies.sha1] version = "0.10.6" [dependencies.sha2] version = "0.10.8" [dependencies.sha3] version = "0.10.8" [dependencies.takecrate] version = "1.0.0" optional = true [dependencies.tempfile] version = "3.12.0" optional = true [dependencies.thiserror] version = "2.0.0" [dependencies.tracing] version = "0.1.40" [dependencies.tracing-subscriber] version = "0.3.18" features = ["json"] optional = true [dependencies.url] version = "2.5.2" [dependencies.uuid] version = "1.10.0" features = ["v7"] [dependencies.xxhash-rust] version = "0.8.12" features = [ "std", "xxh3", ] [dependencies.zstd] version = "0.13.2" optional = true [dev-dependencies.anyhow] version = "1.0.86" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.rand_xoshiro] version = "0.6.0" [dev-dependencies.tracing-test] version = "0.2.5" features = ["no-env-filter"] [features] bin = [ "dep:anyhow", "dep:clap", "dep:clap-markdown", "dep:indicatif", "dep:takecrate", "dep:tempfile", "dep:tracing-subscriber", "serde/derive", ] default = ["zstd"] zstd = ["dep:zstd"] [lints.rust]