mediagit-compression 0.2.0

Content-aware compression engine for media objects
Documentation
# 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.92.0"
name = "mediagit-compression"
version = "0.2.0"
authors = ["MediaGit Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Content-aware compression engine for media objects"
homepage = "https://mediagit.dev"
documentation = "https://docs.mediagit.dev"
readme = false
license = "AGPL-3.0"
repository = "https://github.com/winnyboy5/mediagit-core"

[lib]
name = "mediagit_compression"
path = "src/lib.rs"

[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"

[[test]]
name = "proptest_compression"
path = "tests/proptest_compression.rs"

[[bench]]
name = "compression_bench"
path = "benches/compression_bench.rs"
harness = false

[dependencies.anyhow]
version = "1.0.95"

[dependencies.blake3]
version = "1.5"

[dependencies.brotli]
version = "8.0"

[dependencies.bsdiff]
version = "0.2"

[dependencies.flate2]
version = "1.0"

[dependencies.serde]
version = "1.0.216"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.133"

[dependencies.thiserror]
version = "2.0.9"

[dependencies.tracing]
version = "0.1.41"

[dependencies.zstd]
version = "0.13"

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

[dev-dependencies.proptest]
version = "1.10"

[lints.clippy]
clone_on_ref_ptr = "warn"
large_futures = "warn"
needless_pass_by_value = "warn"
unwrap_used = "warn"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.rust]
dead_code = "warn"
missing_docs = "warn"
unsafe_code = "forbid"
unused_imports = "deny"
unused_must_use = "deny"