# 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.77.2" name = "sqlite-compressions" version = "0.2.16" authors = ["Yuri Astrakhan "] build = 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" [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, <8.0" optional = true [dependencies.bsdiff] version = "0.2.0" optional = true [dependencies.bzip2] version = "0.4.4" optional = true [dependencies.flate2] version = "1" optional = true [dependencies.log] version = "0.4.22" optional = true [dependencies.qbsdiff] version = "1.4.2" optional = true [dependencies.rusqlite] version = ">=0.30" features = ["functions"] [dev-dependencies.cargo-husky] version = "1" features = ["user-hooks"] default-features = false [dev-dependencies.criterion] version = "0.5" features = ["html_reports"] [dev-dependencies.ctor] version = "0.2" [dev-dependencies.env_logger] version = "0.11" [dev-dependencies.hex] version = "0.4" [dev-dependencies.insta] version = "1" features = [] [dev-dependencies.rstest] version = "0.23" [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"] [lints.clippy] missing_errors_doc = "allow" module_name_repetitions = "allow" [lints.clippy.pedantic] level = "warn" priority = -1 [lints.rust] unused_qualifications = "warn"