- Add split licensing: AGPL-3.0 for server, Apache-2.0/MIT for all other crates and SDKs (Signal-style) - Add SECURITY.md with vulnerability disclosure policy - Add CONTRIBUTING.md with build, test, and code standards - Add "not audited" security disclaimer to README - Add workspace package metadata (license, repository, keywords) - Move internal planning docs to docs/internal/ (gitignored)
31 lines
787 B
TOML
31 lines
787 B
TOML
[package]
|
|
name = "quicproquo-proto"
|
|
version = "0.2.0"
|
|
edition.workspace = true
|
|
description = "Protocol types for quicproquo — v1 Cap'n Proto (legacy) + v2 Protobuf (prost)"
|
|
license = "Apache-2.0 OR MIT"
|
|
repository.workspace = true
|
|
|
|
build = "build.rs"
|
|
|
|
[dependencies]
|
|
# v1 legacy (Cap'n Proto) — used by existing server/client until rewrite
|
|
capnp = { workspace = true }
|
|
|
|
# v2 (Protobuf via prost) — new RPC types
|
|
prost = { workspace = true }
|
|
prost-types = { workspace = true }
|
|
bytes = { workspace = true }
|
|
|
|
[build-dependencies]
|
|
capnpc = { workspace = true }
|
|
prost-build = { workspace = true }
|
|
protobuf-src = "2"
|
|
|
|
[lints.rust]
|
|
unsafe_code = "warn"
|
|
|
|
[lints.clippy]
|
|
# Generated Cap'n Proto code uses patterns that trigger clippy lints.
|
|
unwrap_used = "allow"
|