linera-persistent 0.15.12

A library for persisting data types to disk with a variety of backends.
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"
name = "linera-persistent"
version = "0.15.12"
authors = ["Linera <contact@linera.io>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library for persisting data types to disk with a variety of backends."
homepage = "https://linera.dev"
documentation = "https://docs.rs/linera-persistent/latest/linera_persistent/"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/linera-io/linera-protocol"

[features]
fs = [
    "fs-err",
    "fs4",
]

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

[dependencies.cfg-if]
version = "1.0.0"

[dependencies.derive_more]
version = "1.0.0"
features = [
    "deref",
    "deref_mut",
]

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

[dependencies.serde_json]
version = "1.0.114"

[dependencies.thiserror]
version = "1.0.65"

[dependencies.thiserror-context]
version = "0.1.1"

[dependencies.tracing]
version = "0.1.40"
features = ["release_max_level_trace"]

[dependencies.trait-variant]
version = "0.1.1"

[build-dependencies.cfg_aliases]
version = "0.2.1"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.fs-err]
version = "2.11.0"
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.fs4]
version = "0.8.2"
optional = true

[lints.clippy]
doc_link_with_quotes = "deny"
filter_map_next = "deny"
iter_filter_is_some = "deny"
large_futures = "deny"
large_stack_arrays = "deny"
large_types_passed_by_value = "deny"
macro_use_imports = "deny"
manual_instant_elapsed = "deny"
manual_is_power_of_two = "deny"
manual_is_variant_and = "deny"
map_unwrap_or = "deny"
mismatching_type_param_order = "deny"
naive_bytecount = "deny"
non_std_lazy_statics = "deny"
range_minus_one = "deny"
range_plus_one = "deny"
ref_option_ref = "deny"
str_split_at_newline = "deny"