[package]
edition = "2024"
name = "phoros"
version = "0.1.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Zero-allocation ring buffer with XOR delta encoding and state rollback"
readme = "README.md"
keywords = [
"ring-buffer",
"undo",
"rollback",
"state",
"no-std",
]
categories = [
"no-std",
"data-structures",
]
license = "MIT"
repository = "https://github.com/Pivius/phoros"
[features]
alloc = []
default = ["std"]
serde = ["dep:serde"]
std = ["alloc"]
[lib]
name = "phoros"
path = "src/lib.rs"
[[test]]
name = "edge_cases"
path = "tests/edge_cases.rs"
[[test]]
name = "eviction"
path = "tests/eviction.rs"
[[test]]
name = "roundtrip"
path = "tests/roundtrip.rs"
[[test]]
name = "wraparound"
path = "tests/wraparound.rs"
[[bench]]
name = "codec_bench"
path = "benches/codec_bench.rs"
harness = false
[[bench]]
name = "rollback_bench"
path = "benches/rollback_bench.rs"
harness = false
[[bench]]
name = "snapshot_bench"
path = "benches/snapshot_bench.rs"
harness = false
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[dev-dependencies.serde_json]
version = "1"