polyvers 0.1.2

Single-macro schema versioning for Rust: declare a struct family with #[add]/#[edit]/#[delete] mutations across versions and parse them at runtime without serde(flatten) overhead. Optional binary codecs: rkyv, bincode, postcard.
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"
rust-version = "1.85"
name = "polyvers"
version = "0.1.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Single-macro schema versioning for Rust: declare a struct family with #[add]/#[edit]/#[delete] mutations across versions and parse them at runtime without serde(flatten) overhead. Optional binary codecs: rkyv, bincode, postcard."
readme = "README.md"
keywords = [
    "serde",
    "versioning",
    "schema",
    "macro",
]
categories = [
    "data-structures",
    "encoding",
    "config",
]
license = "MIT"
repository = "https://github.com/prizzledev/polyvers"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
bincode-2 = ["polyvers-macros/bincode-2"]
default = []
postcard-1 = ["polyvers-macros/postcard-1"]
rkyv-07 = ["polyvers-macros/rkyv-07"]
rkyv-08 = ["polyvers-macros/rkyv-08"]

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

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "codec_rkyv"
path = "examples/codec_rkyv.rs"

[[example]]
name = "manual_migration"
path = "examples/manual_migration.rs"

[[example]]
name = "runtime_dispatch"
path = "examples/runtime_dispatch.rs"

[[example]]
name = "three_versions"
path = "examples/three_versions.rs"

[[example]]
name = "version_meta"
path = "examples/version_meta.rs"

[[test]]
name = "codecs"
path = "tests/codecs.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[dependencies.polyvers-macros]
version = "=0.1.2"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dev-dependencies.bincode]
version = "2"
features = ["serde"]

[dev-dependencies.postcard]
version = "1"
features = ["alloc"]

[dev-dependencies.rkyv]
version = "0.8"