objshelf 0.1.0

A portable object store that caches plain Rust values on the heap, over pluggable backends from bare-metal to hosted systems.
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 = "2024"
name = "objshelf"
version = "0.1.0"
authors = [
    "Julien Eudine <julien@eudine.fr>",
    "Marius Debussche <marius.debussche@gmail.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A portable object store that caches plain Rust values on the heap, over pluggable backends from bare-metal to hosted systems."
readme = "README.md"
keywords = [
    "nor-flash",
    "storage",
    "persistence",
    "wear-leveling",
    "rtic",
]
categories = [
    "embedded",
    "no-std",
    "database-implementations",
    "caching",
]
license = "LGPL-2.1-only"
repository = "https://github.com/MF-Room/objshelf"

[package.metadata.docs.rs]
features = ["fs"]

[features]
fs = ["dep:libc"]

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

[[example]]
name = "std_fs"
path = "examples/std_fs.rs"
required-features = ["fs"]

[dependencies.crc]
version = "3.4.0"

[dependencies.embedded-storage]
version = "0.3.2"

[dependencies.get-size2]
version = "0.11.1"
features = ["alloc"]
default-features = false

[dependencies.hashbrown]
version = "0.17.1"
features = ["default-hasher"]
default-features = false

[dependencies.postcard]
version = "1.1.3"
features = ["alloc"]
default-features = false

[dependencies.rtic-core]
version = "1.0.0"

[dependencies.serde]
version = "1.0.229"
features = [
    "alloc",
    "derive",
]
default-features = false

[dev-dependencies.get-size2]
version = "0.11.1"
features = [
    "alloc",
    "derive",
]
default-features = false

[target.'cfg(target_os = "linux")'.dependencies.libc]
version = "0.2"
optional = true
default-features = false