# 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.89.0"
name = "sui-protocol"
version = "0.1.13"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Single source of truth for every wire type in the sui system: rkyv-over-UDS for daemon ↔ local CLI (zero-copy hot path), tonic + protobuf for cross-host (REAPI-shaped for fleet work-stealing, tvix-castore-shaped for substituter), async-nats for fleet pub/sub. Drift between client and daemon is a compile error."
readme = false
keywords = [
    "sui",
    "protocol",
    "ipc",
    "rkyv",
    "tonic",
]
categories = [
    "network-programming",
    "encoding",
]
license = "MIT"
repository = "https://github.com/pleme-io/sui"

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

[dependencies.blake3]
version = "1"

[dependencies.bytecheck]
version = "0.8"

[dependencies.rkyv]
version = "0.8"
features = [
    "std",
    "bytecheck",
    "alloc",
]
default-features = false

[dependencies.sui-graph-store]
version = "0.1.10"

[dependencies.thiserror]
version = "2"

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

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

[lints.clippy]
pedantic = "warn"
