# 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 = "2021"
name = "peat-schema"
version = "0.9.0-rc.1"
authors = ["Kit Plummer <kitplummer@defenseunicorns.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Wire format (Protobuf) definitions for the Peat Coordination Protocol"
homepage = "https://github.com/defenseunicorns/peat"
documentation = "https://docs.rs/peat-schema"
readme = "README.md"
keywords = [
    "peat",
    "protobuf",
    "protocol",
    "mesh",
    "crdt",
]
categories = [
    "network-programming",
    "data-structures",
]
license = "Apache-2.0"
repository = "https://github.com/defenseunicorns/peat"

[features]
grpc = []

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

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

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.prost]
version = "0.13"

[dependencies.prost-types]
version = "0.13"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "serde",
]

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

[build-dependencies.prost-build]
version = "0.13"

[build-dependencies.tonic-build]
version = "0.12"
