Your browser sucks, JavaScript disabled! Gunnar's console needs JavaScript and WebAssembly. Git over SSH on port 2222 does not.

nordisk/gunnar-ui

crates/gunnar-public-site/Cargo.toml

[package]
name = "gunnar-public-site"
description = "gunnar.rs's public face for crawlers and AI tools: llms.txt, robots.txt, the sitemap, the head tags, each public repository's readme.md, tree.txt and issues.md, and the cache of the console's pre-rendered pages. Built only when gunnar-ui-server's `public-site` feature is on."
version.workspace = true
edition.workspace = true
rust-version.workspace = true
repository.workspace = true
license.workspace = true
authors.workspace = true
# Published (lane GUN-PRODUCTS, 2026-10-30): `cargo install gunnar-ui` needs it from crates.io.
publish = true

# **The owner's SLIM RULE (2026-10-25).** Gunnar stays super slim: everything a
# visitor or a crawler reads without a session lives HERE, and nothing else
# links this crate but gunnar-ui-server under its `public-site` feature, which
# is off in the default build. This crate knows no gunnar crate and no protocol:
# it reads public data through the `Source` trait, which the console fills in
# with the calls it already makes as the grantless guest.
#
# Every dependency below is already in this workspace's lock, at these majors.
[dependencies]
axum = { version = "0.8", default-features = false, features = ["tokio"] }
http = "1"
tokio = { version = "1", features = ["rt", "time", "sync"] }
serde_json.workspace = true
# No Markdown renderer here (GUN-GUEST, owner 2026-10-30): a page's content is the
# console's own render (its README render, nornir-docbook through ammonia), kept in
# `shell::Prerendered`.

[dev-dependencies]
tokio = { version = "1", features = ["rt-multi-thread", "macros", "time", "sync"] }
tower = { version = "0.5", features = ["util"] }