feat: serve rendered pages over http, spartan and nex

This commit is contained in:
randogoth 2026-10-04 19:55:21 +03:00
parent 46f12b10da
commit 2f38b8b929
30 changed files with 2896 additions and 90 deletions

View file

@ -11,13 +11,27 @@ publish = false
name = "itsybitsy"
path = "src/main.rs"
[features]
default = ["http", "spartan", "nex", "gemtext", "wap"]
http = []
spartan = []
nex = []
gemtext = ["dep:itsybitsy-gemtext"]
wap = ["dep:itsybitsy-wap"]
[dependencies]
anyhow = "1"
clap = { version = "4.6", features = ["derive"] }
env_logger = { version = "0.11", default-features = false, features = ["auto-color", "humantime"] }
itsybitsy-core = { path = "../core" }
itsybitsy-gemtext = { path = "../gemtext", optional = true }
itsybitsy-wap = { path = "../wap", optional = true }
log = "0.4"
[dev-dependencies]
itsybitsy-core = { path = "../core" }
tempfile = "3"
toml = "1.1"
[lints.rust]
unsafe_code = "forbid"