polyvers 0.1.0

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.
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.0"
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."
readme = "README.md"
keywords = [
    "serde",
    "versioning",
    "schema",
    "macro",
]
categories = [
    "data-structures",
    "encoding",
    "config",
]
license = "MIT"
repository = "https://github.com/prizzledev/polyvers"

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

[[example]]
name = "basic"
path = "examples/basic.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 = "integration"
path = "tests/integration.rs"

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

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"