# 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.88"
name = "tsoracle-codec"
version = "0.1.1"
authors = ["Sebastian Thiebaud <sebastian@prismarisk.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared version-prefixed postcard codec: one `[version_byte | postcard(value)]` framing re-used across the tsoracle toolkits so an on-disk layout change fails loudly instead of misdecoding"
homepage = "https://github.com/prisma-risk/tsoracle"
documentation = "https://docs.rs/tsoracle-codec"
readme = "README.md"
keywords = [
    "serialization",
    "postcard",
    "versioning",
    "codec",
    "storage",
]
categories = [
    "encoding",
    "database-implementations",
]
license = "Apache-2.0"
repository = "https://github.com/prisma-risk/tsoracle"
resolver = "2"

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

[dependencies.postcard]
version = "1"
features = ["use-std"]
default-features = false

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

[dependencies.thiserror]
version = "2"

[dev-dependencies.proptest]
version = "1"
