lnmp-codec 0.5.16

Parser and encoder for LNMP (LLM Native Minimal Protocol) text format
[package]
name = "lnmp-codec"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
description = "Parser and encoder for LNMP (LLM Native Minimal Protocol) text format"
repository = "https://github.com/lnmplang/lnmp-protocol"
keywords = ["lnmp", "protocol", "parser", "encoder", "codec"]
categories = ["encoding", "parser-implementations"]

[features]
default = []
log = ["dep:log"]
aligned-zerocopy = ["dep:bytemuck"]

[dependencies]
lnmp-core = { workspace = true }
lnmp-embedding = { workspace = true }
lnmp-quant = { workspace = true }
lnmp-sanitize = { workspace = true }
lnmp-sfe = { workspace = true }
log = { version = "0.4", optional = true }
bytemuck = { version = "1.16", optional = true }

[dev-dependencies]
criterion = "0.5"
tokio = { version = "1.0", features = ["full"] }
bytemuck = "1.16"
# property tests
proptest = "1.2"

[[bench]]
name = "zero_copy_bench"
harness = false

[[bench]]
name = "v05_performance"
harness = false