[package]
edition = "2024"
rust-version = "1.85"
name = "fsqlite-wal"
version = "0.1.13"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Write-ahead logging"
readme = "README.md"
license = "LicenseRef-MIT-OpenAI-Anthropic-Rider"
repository = "https://github.com/Dicklesworthstone/frankensqlite"
resolver = "2"
[features]
default = ["native"]
fault-injection = []
native = [
"fsqlite-types/native",
"fsqlite-vfs/native",
]
wasm = [
"fsqlite-types/wasm",
"fsqlite-vfs/wasm",
]
[lib]
name = "fsqlite_wal"
path = "src/lib.rs"
[[test]]
name = "bd_26631_1_deterministic_replay_startup"
path = "tests/bd_26631_1_deterministic_replay_startup.rs"
[[test]]
name = "bd_26631_3_crash_loop_replay"
path = "tests/bd_26631_3_crash_loop_replay.rs"
[[test]]
name = "bd_db300_7_2_3_recovery_invariants"
path = "tests/bd_db300_7_2_3_recovery_invariants.rs"
required-features = ["fault-injection"]
[[test]]
name = "bd_xfn30_3_fault_injection_matrix"
path = "tests/bd_xfn30_3_fault_injection_matrix.rs"
[[test]]
name = "checksum_algorithms"
path = "tests/checksum_algorithms.rs"
[[test]]
name = "wal_fec_pipeline"
path = "tests/wal_fec_pipeline.rs"
[[test]]
name = "wal_fec_recovery"
path = "tests/wal_fec_recovery.rs"
[[test]]
name = "wal_fec_sidecar"
path = "tests/wal_fec_sidecar.rs"
[[bench]]
name = "raptorq_matrix"
path = "benches/raptorq_matrix.rs"
harness = false
[dependencies.blake3]
version = "1.8"
[dependencies.crc32c]
version = "0.6"
[dependencies.fsqlite-error]
version = "0.1.13"
[dependencies.fsqlite-types]
version = "0.1.13"
default-features = false
[dependencies.fsqlite-vfs]
version = "0.1.13"
default-features = false
[dependencies.serde]
version = "1.0"
features = [
"derive",
"rc",
]
[dependencies.tracing]
version = "0.1"
[dependencies.xxhash-rust]
version = "0.8"
features = ["xxh3"]
[dev-dependencies.criterion]
version = "0.7"
features = ["html_reports"]
[dev-dependencies.serde_json]
version = "1.0"
features = ["preserve_order"]
[dev-dependencies.tempfile]
version = "3.27"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.asupersync]
version = "0.3.4"
default-features = false
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.parking_lot]
version = "0.12"
[lints.clippy.approx_constant]
level = "allow"
priority = 1
[lints.clippy.assertions_on_constants]
level = "allow"
priority = 1
[lints.clippy.bool_to_int_with_if]
level = "allow"
priority = 1
[lints.clippy.case_sensitive_file_extension_comparisons]
level = "allow"
priority = 1
[lints.clippy.cast_lossless]
level = "allow"
priority = 1
[lints.clippy.cast_possible_truncation]
level = "allow"
priority = 1
[lints.clippy.cast_possible_wrap]
level = "allow"
priority = 1
[lints.clippy.cast_precision_loss]
level = "allow"
priority = 1
[lints.clippy.cast_sign_loss]
level = "allow"
priority = 1
[lints.clippy.cloned_ref_to_slice_refs]
level = "allow"
priority = 1
[lints.clippy.collection_is_never_read]
level = "allow"
priority = 1
[lints.clippy.default_trait_access]
level = "allow"
priority = 1
[lints.clippy.doc_lazy_continuation]
level = "allow"
priority = 1
[lints.clippy.doc_markdown]
level = "allow"
priority = 1
[lints.clippy.expect_fun_call]
level = "allow"
priority = 1
[lints.clippy.explicit_iter_loop]
level = "allow"
priority = 1
[lints.clippy.float_cmp]
level = "allow"
priority = 1
[lints.clippy.format_collect]
level = "allow"
priority = 1
[lints.clippy.format_push_string]
level = "allow"
priority = 1
[lints.clippy.if_not_else]
level = "allow"
priority = 1
[lints.clippy.if_then_some_else_none]
level = "allow"
priority = 1
[lints.clippy.items_after_statements]
level = "allow"
priority = 1
[lints.clippy.let_and_return]
level = "allow"
priority = 1
[lints.clippy.manual_assert]
level = "allow"
priority = 1
[lints.clippy.manual_checked_ops]
level = "allow"
priority = 1
[lints.clippy.manual_let_else]
level = "allow"
priority = 1
[lints.clippy.manual_range_contains]
level = "allow"
priority = 1
[lints.clippy.manual_string_new]
level = "allow"
priority = 1
[lints.clippy.many_single_char_names]
level = "allow"
priority = 1
[lints.clippy.map_unwrap_or]
level = "allow"
priority = 1
[lints.clippy.match_wildcard_for_single_variants]
level = "allow"
priority = 1
[lints.clippy.missing_const_for_fn]
level = "allow"
priority = 1
[lints.clippy.missing_errors_doc]
level = "allow"
priority = 1
[lints.clippy.missing_panics_doc]
level = "allow"
priority = 1
[lints.clippy.module_name_repetitions]
level = "allow"
priority = 1
[lints.clippy.must_use_candidate]
level = "allow"
priority = 1
[lints.clippy.needless_collect]
level = "allow"
priority = 1
[lints.clippy.needless_pass_by_value]
level = "allow"
priority = 1
[lints.clippy.no_effect_underscore_binding]
level = "allow"
priority = 1
[lints.clippy.nursery]
level = "deny"
priority = -1
[lints.clippy.option_if_let_else]
level = "allow"
priority = 1
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.clippy.redundant_clone]
level = "allow"
priority = 1
[lints.clippy.redundant_closure_for_method_calls]
level = "allow"
priority = 1
[lints.clippy.return_self_not_must_use]
level = "allow"
priority = 1
[lints.clippy.semicolon_if_nothing_returned]
level = "allow"
priority = 1
[lints.clippy.significant_drop_tightening]
level = "allow"
priority = 1
[lints.clippy.similar_names]
level = "allow"
priority = 1
[lints.clippy.single_char_pattern]
level = "allow"
priority = 1
[lints.clippy.single_match]
level = "allow"
priority = 1
[lints.clippy.single_match_else]
level = "allow"
priority = 1
[lints.clippy.stable_sort_primitive]
level = "allow"
priority = 1
[lints.clippy.too_many_lines]
level = "allow"
priority = 1
[lints.clippy.uninlined_format_args]
level = "allow"
priority = 1
[lints.clippy.unnecessary_cast]
level = "allow"
priority = 1
[lints.clippy.unnecessary_literal_bound]
level = "allow"
priority = 1
[lints.clippy.unreadable_literal]
level = "allow"
priority = 1
[lints.clippy.used_underscore_binding]
level = "allow"
priority = 1
[lints.clippy.useless_format]
level = "allow"
priority = 1
[lints.clippy.useless_vec]
level = "allow"
priority = 1
[lints.clippy.wildcard_enum_match_arm]
level = "allow"
priority = 1
[lints.rust]
unsafe_code = "forbid"