# 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-daemon-frame"
version = "0.1.37"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async frame codec for the rkyv-over-UDS local protocol. Reads/writes `[magic 4B][len u32 LE][rkyv body]` over any tokio AsyncRead+AsyncWrite. Reusable by server, client, tests, future tools."
readme = false
keywords = [
    "sui",
    "codec",
    "rkyv",
    "tokio",
    "ipc",
]
categories = [
    "network-programming",
    "encoding",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/pleme-io/sui"

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

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

[dependencies.sui-protocol]
version = "0.1.10"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "full",
    "io-util",
]

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "full",
    "test-util",
]

[lints.clippy]
pedantic = "warn"
