waterui-preview-protocol 0.5.0

Shared TCP protocol for WaterUI preview
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.95"
name = "waterui-preview-protocol"
version = "0.5.0"
authors = ["Lexo Liu"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared TCP protocol for WaterUI preview"
readme = "README.md"
keywords = [
    "ui",
    "framework",
    "rust",
    "gui",
    "water",
]
categories = ["gui"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/water-rs/waterui"
resolver = "2"

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

[dependencies.bincode]
version = "2.0.1"
features = ["serde"]

[dependencies.dirs]
version = "7"

[dependencies.futures-lite]
version = "2.6"

[dependencies.hex]
version = "0.4"

[dependencies.serde]
version = "1.0"
features = [
    "alloc",
    "derive",
]
default-features = false

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0.20"

[lints.clippy]
all = "warn"
cargo = "warn"
complexity = "warn"
correctness = "warn"
nursery = "warn"
pedantic = "warn"
perf = "warn"
style = "warn"
suspicious = "warn"
undocumented_unsafe_blocks = "warn"

[lints.clippy.multiple_crate_versions]
level = "allow"
priority = 1

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"