- docs/examples/writeonce-framework: library project (no fn main) — wo.toml, README (what it is + the honest v1 limits + the proxy TLS/h2 story), and http/types.wo: pub Req/Resp records + the response builders (ok_text/ ok_json/created/not_found/bad_request/unauthorized/conflict/server_error/ redirect). Typechecks + emits entry-less via woc --emit (1767-byte image). - docs/examples/web-app: manifest with the real [deps] entry (future GitHub URL as documentation; the gate substitutes a file:// remote) + README (routes table, run instructions, nginx h2-in-front sketch). Code lands with Task 4. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
10 lines
478 B
TOML
10 lines
478 B
TOML
name = "writeonce-framework"
|
|
version = "0.1.0"
|
|
description = "A web framework written in writeonce: HTTP/1.1 keep-alive server core, router with :param captures, Handler/Middleware structural interfaces (iteration 16)"
|
|
|
|
[runtime]
|
|
wo = ">= 0.1"
|
|
|
|
# A LIBRARY project: no `fn main` here — the consuming app owns the entry.
|
|
# Apps import this repo through `wo.toml [deps]` (iteration 15) and
|
|
# `use writeonce-framework` / `use writeonce-framework/http` / `.../router`.
|