light-magic 0.8.3

A lightweight, fast and easy-to-use implementation of a persistent and optionally encrypted in-memory database
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.67.1"
name = "light-magic"
version = "0.8.3"
authors = ["Nils Wrenger <nils@wrenger.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight, fast and easy-to-use implementation of a persistent and optionally encrypted in-memory database"
readme = "README.md"
keywords = [
    "database",
    "framework",
    "macro",
]
categories = [
    "asynchronous",
    "database",
    "data-structures",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/nwrenger/light-magic"
resolver = "2"

[package.metadata.docs.rs]
all-features = true

[features]
atomic = [
    "dep:serde",
    "dep:serde_json",
    "dep:serde_with",
    "dep:parking_lot",
    "dep:tracing",
]
default = ["atomic"]
encrypted = [
    "atomic",
    "dep:aes-gcm",
    "dep:argon2",
    "dep:bincode",
    "dep:rand",
    "dep:sha2",
    "dep:zeroize",
]

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

[[test]]
name = "atomic"
path = "tests/atomic.rs"
required-features = ["atomic"]

[[test]]
name = "encrypted"
path = "tests/encrypted.rs"
required-features = ["encrypted"]

[dependencies.aes-gcm]
version = "0.10.3"
optional = true

[dependencies.argon2]
version = "0.5.3"
optional = true

[dependencies.bincode]
version = "2.0.1"
features = [
    "std",
    "serde",
]
optional = true
default-features = false

[dependencies.parking_lot]
version = "0.12.5"
optional = true

[dependencies.paste]
version = "1.0.15"

[dependencies.rand]
version = "0.9.2"
optional = true

[dependencies.serde]
version = "1.0.228"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1.0.145"
optional = true

[dependencies.serde_with]
version = "3.15.0"
optional = true

[dependencies.sha2]
version = "0.10.9"
optional = true

[dependencies.tracing]
version = "0.1.41"
optional = true

[dependencies.zeroize]
version = "1.8.2"
optional = true

[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1