Render one Object or paired Interface entity without path/context, lookups or wire-schema changes. Preserve declarations, summaries, optional/unit and empty distinctions; validate protocol semantics and bounded input before rendering. Add five spec/nested goldens and 13 external API tests plus a standalone doctest. Validation: cargo fmt --all -- --check; cargo check --workspace --all-targets; cargo test --workspace --all-targets; cargo test --workspace --doc; nix develop -c bash (cargo clippy --workspace --all-targets -- -D warnings, RUSTDOCFLAGS='-D warnings' cargo doc --workspace --no-deps, cargo run --package wip-public-api-example); git diff --check. All passed. Default shell lacks clippy; declared Nix dev shell supplied it.
21 lines
777 B
TOML
21 lines
777 B
TOML
[workspace]
|
|
members = ["crates/*"]
|
|
resolver = "3"
|
|
|
|
[workspace.package]
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
rust-version = "1.88"
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://gitea.hareworks.net/Hare/wip-rs"
|
|
|
|
[workspace.dependencies]
|
|
wip-client = { version = "0.1.0", path = "crates/wip-client" }
|
|
wip-fs-server = { version = "0.1.0", path = "crates/wip-fs-server" }
|
|
wip-host = { version = "0.1.0", path = "crates/wip-host" }
|
|
wip-http = { version = "0.1.0", path = "crates/wip-http" }
|
|
wip-interface = { version = "0.1.0", path = "crates/wip-interface" }
|
|
wip-interface-macros = { version = "0.1.0", path = "crates/wip-interface-macros" }
|
|
wip-protocol = { version = "0.1.0", path = "crates/wip-protocol" }
|
|
wip-text-view = { version = "0.1.0", path = "crates/wip-text-view" }
|