[package]
edition = "2024"
rust-version = "1.100.1"
name = "iris-shared-sqlitedb"
version = "0.1.2"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Hardened SQLite WAL connection, migration, and transaction helpers for iris-stack"
readme = "README.md"
keywords = [
"iris",
"sqlite",
"wal",
"migrations",
]
categories = ["database"]
license = "Apache-2.0"
repository = "https://github.com/park285/shared-rs"
[lib]
name = "sqlitedb"
path = "src/lib.rs"
[dependencies.aws-lc-rs]
version = "1.18.1"
features = ["aws-lc-sys"]
default-features = false
[dependencies.gotext]
version = "0.1.2"
package = "iris-shared-gotext"
[dependencies.rusqlite]
version = "0.43.0"
features = [
"bundled",
"hooks",
]
[dependencies.rustix]
version = "1.1.6"
features = [
"fs",
"std",
]
default-features = false
[dependencies.tokio]
version = "1.54.1"
features = [
"macros",
"rt",
"sync",
"time",
]
[dependencies.tracing]
version = "0.1.44"
features = ["std"]
default-features = false
[dev-dependencies.tempfile]
version = "3.27.0"
[dev-dependencies.tokio]
version = "1.54.1"
features = [
"macros",
"rt",
"test-util",
]
[lints.clippy]
allow_attributes_without_reason = "deny"
cognitive_complexity = "deny"
excessive_nesting = "deny"
fn_params_excessive_bools = "deny"
format_push_string = "deny"
large_stack_frames = "deny"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
mod_module_files = "deny"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "deny"
option_if_let_else = "allow"
significant_drop_tightening = "allow"
tests_outside_test_module = "deny"
todo = "deny"
too_many_arguments = "deny"
too_many_lines = "deny"
type_complexity = "deny"
unimplemented = "deny"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
elided_lifetimes_in_paths = "warn"
missing_debug_implementations = "deny"
unsafe_code = "forbid"
unused_must_use = "deny"
unused_qualifications = "warn"