nookdb-core 1.1.0

Core engine for Nook — a schema-first, reactive local-first database for Electron.
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.78"
name = "nookdb-core"
version = "1.1.0"
authors = ["Nook contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core engine for Nook — a schema-first, reactive local-first database for Electron."
readme = false
license = "MIT"
repository = "https://github.com/nookwright/nookdb"

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

[[bin]]
name = "crash_worker"
path = "src/bin/crash_worker.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.base64ct]
version = "1"
features = ["std"]

[dependencies.crc32fast]
version = "1"

[dependencies.ed25519-dalek]
version = "2"
features = ["std"]
default-features = false

[dependencies.redb]
version = "2"

[dependencies.regex]
version = "1"
features = [
    "std",
    "perf-dfa",
]
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "1"

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.rand_core]
version = "0.6"
features = ["std"]

[dev-dependencies.serial_test]
version = "3"

[dev-dependencies.tempfile]
version = "3"

[lints.clippy]
missing_docs_in_private_items = "allow"
module_name_repetitions = "allow"

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

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

[lints.rust]
unsafe_code = "forbid"
unused_imports = "warn"