sqlite-compressions 0.3.11

Compression, decompression, testing, diffing and patching functions for SQLite: gzip, brotli, bsdiff, ...
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.82"
name = "sqlite-compressions"
version = "0.3.11"
authors = ["Yuri Astrakhan <YuriAstrakhan@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Compression, decompression, testing, diffing and patching functions for SQLite: gzip, brotli, bsdiff, ..."
readme = "README.md"
keywords = [
    "sqlite",
    "compression",
    "gzip",
    "brotli",
    "bsdiff",
]
categories = [
    "database",
    "compression",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/nyurik/sqlite-compressions"

[features]
brotli = ["dep:brotli"]
bsdiff4 = ["dep:qbsdiff"]
bsdiffraw = ["dep:bsdiff"]
bzip2 = ["dep:bzip2"]
default = [
    "trace",
    "brotli",
    "bsdiff4",
    "bsdiffraw",
    "bzip2",
    "gzip",
]
default_loadable_extension = [
    "loadable_extension",
    "brotli",
    "bsdiff4",
    "bsdiffraw",
    "bzip2",
    "gzip",
]
gzip = ["dep:flate2"]
loadable_extension = [
    "rusqlite/loadable_extension",
    "rusqlite/trace",
]
trace = ["dep:log"]

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

[[example]]
name = "sqlite_compressions"
crate-type = ["cdylib"]
path = "src/cdylib/cdylib.rs"
required-features = ["loadable_extension"]

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

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

[dependencies.brotli]
version = ">=5.0, <9.0"
optional = true

[dependencies.bsdiff]
version = "0.2.1"
optional = true

[dependencies.bzip2]
version = "0.6.0"
optional = true

[dependencies.flate2]
version = "1.1.4"
optional = true

[dependencies.log]
version = "0.4.28"
optional = true

[dependencies.qbsdiff]
version = "1.4.3"
optional = true

[dependencies.rusqlite]
version = ">=0.30.0"
features = ["functions"]

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

[dev-dependencies.ctor]
version = "1.0"

[dev-dependencies.env_logger]
version = "0.11"

[dev-dependencies.hex]
version = "0.4"

[dev-dependencies.insta]
version = "1"
features = []

[dev-dependencies.rstest]
version = "0.26"

[lints.clippy]
missing_errors_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
panic_in_result_fn = "warn"
todo = "warn"
unwrap_used = "warn"

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unused_qualifications = "warn"