# 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-hashes" version = "0.7.6" authors = ["Yuri Astrakhan "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Hashing functions for SQLite with aggregation support: MD5, SHA1, SHA256, SHA512, FNV-1a, xxHash" readme = "README.md" keywords = [ "sqlite", "rusqlite", "hash", "md5", "sha256", ] categories = [ "database", "cryptography", ] license = "MIT OR Apache-2.0" repository = "https://github.com/nyurik/sqlite-hashes" [lib] name = "sqlite_hashes" path = "src/lib.rs" [[example]] name = "sqlite_hashes" crate-type = ["cdylib"] path = "src/cdylib/cdylib.rs" required-features = ["loadable_extension"] [[test]] name = "_utils" path = "tests/_utils.rs" [[test]] name = "aggregate" path = "tests/aggregate.rs" [[test]] name = "scalar" path = "tests/scalar.rs" [[test]] name = "window" path = "tests/window.rs" [[bench]] name = "bench" path = "benches/bench.rs" harness = false [dependencies.digest] version = "0.10.7" [dependencies.hex] version = "0.4" optional = true [dependencies.log] version = "0.4.22" optional = true [dependencies.md-5] version = "0.10.6" optional = true [dependencies.noncrypto-digests] version = "0.3.2" optional = true [dependencies.rusqlite] version = ">=0.30" features = ["functions"] [dependencies.sha1] version = "0.10.6" optional = true [dependencies.sha2] version = "0.10.8" optional = true [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.insta] version = "1" features = [] [features] aggregate = [] default = [ "trace", "aggregate", "window", "hex", "md5", "sha1", "sha224", "sha256", "sha384", "sha512", "fnv", "xxhash", ] default_loadable_extension = [ "loadable_extension", "aggregate", "hex", "md5", "sha1", "sha224", "sha256", "sha384", "sha512", "fnv", "xxhash", ] fnv = [ "dep:noncrypto-digests", "noncrypto-digests?/fnv", ] hex = ["dep:hex"] loadable_extension = [ "rusqlite/loadable_extension", "rusqlite/trace", ] md5 = ["dep:md-5"] sha1 = ["dep:sha1"] sha224 = ["dep:sha2"] sha256 = ["dep:sha2"] sha384 = ["dep:sha2"] sha512 = ["dep:sha2"] trace = [ "dep:hex", "dep:log", ] window = [ "aggregate", "rusqlite/bundled", "rusqlite/window", ] xxhash = [ "dep:noncrypto-digests", "noncrypto-digests?/xxh3", "noncrypto-digests?/xxh32", "noncrypto-digests?/xxh64", ] [lints.clippy] missing_errors_doc = "allow" module_name_repetitions = "allow" [lints.clippy.pedantic] level = "warn" priority = -1 [lints.rust] unused_qualifications = "warn"