- README.md: honest, agnostic quick-start (server/client), identity model, feature table, invariants, scope boundary — written against the shipped API, sibling-crate style - Cargo.toml: readme = README.md; exclude tests/ from the published package (matches the N-6 rationale — integration tests reference docs/reviews context and are not consumer docs) - rust-version 1.88 / edition 2021 verified identical to the published siblings (alkcall 0.7.1, alktty 0.4.1, alktunnels 0.1.0) Verification: cargo test (93 passed), cargo test --all-features (123 passed), clippy -D warnings clean, fmt clean, doc warning-free, cargo publish --dry-run --allow-dirty passes (16 files, 201.4KiB).
48 lines
1.7 KiB
TOML
48 lines
1.7 KiB
TOML
[package]
|
|
name = "alktls"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
rust-version = "1.88"
|
|
license = "MIT OR Apache-2.0"
|
|
description = "Shared TLS setup types: server and client rustls configs, cert resolvers, verifiers, and ACME state-machine wiring, transport-agnostic and shareable across transports."
|
|
repository = "https://git.alk.dev/alkdev/alktls"
|
|
readme = "README.md"
|
|
keywords = ["tls", "rustls", "acme", "noq", "network"]
|
|
categories = ["network-programming", "cryptography", "asynchronous"]
|
|
exclude = [".opencode/", "AGENTS.md", "tasks/", "docs/reviews/", "docs/research/", "docs/plans/", "docs/architecture/", "docs/sdd_process.md", "tests/"]
|
|
|
|
[lib]
|
|
name = "alktls"
|
|
|
|
[features]
|
|
default = []
|
|
noq = ["dep:noq", "dep:noq-proto"]
|
|
tcp = ["dep:tokio-rustls"]
|
|
acme = ["dep:rustls-acme", "dep:futures"]
|
|
|
|
[dependencies]
|
|
tokio = { version = "1", default-features = false, features = ["rt", "sync", "macros"] }
|
|
rustls = { version = "0.23", features = ["aws_lc_rs"] }
|
|
rustls-pki-types = "1"
|
|
rustls-pemfile = "2"
|
|
rustls-native-certs = "0.8"
|
|
webpki-roots = "0.26"
|
|
rcgen = "0.13"
|
|
ed25519-dalek = { version = "2", features = ["rand_core"] }
|
|
rand_core = { version = "0.6", features = ["getrandom"] }
|
|
sha2 = "0.10"
|
|
hex = "0.4"
|
|
tracing = "0.1"
|
|
thiserror = "2"
|
|
|
|
futures = { version = "0.3", optional = true }
|
|
noq = { version = "1.2", optional = true, default-features = false, features = ["rustls", "aws-lc-rs"] }
|
|
noq-proto = { version = "1.2", optional = true, default-features = false }
|
|
tokio-rustls = { version = "0.26", optional = true }
|
|
rustls-acme = { version = "0.12", optional = true, features = ["aws-lc-rs"] }
|
|
|
|
[dev-dependencies]
|
|
tokio = { version = "1", features = ["full", "test-util", "macros"] }
|
|
tempfile = "3"
|
|
hex = "0.4"
|
|
base64 = "0.22" |