2026-10-04 18:55:33 +03:00
|
|
|
[package]
|
|
|
|
|
name = "itsybitsy"
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
edition = "2024"
|
|
|
|
|
rust-version = "1.97"
|
|
|
|
|
description = "Serve folders of Markdown to several domains over HTTP, Spartan and Nex"
|
|
|
|
|
license = "Apache-2.0"
|
|
|
|
|
publish = false
|
|
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
|
name = "itsybitsy"
|
|
|
|
|
path = "src/main.rs"
|
|
|
|
|
|
2026-10-04 19:55:21 +03:00
|
|
|
[features]
|
|
|
|
|
default = ["http", "spartan", "nex", "gemtext", "wap"]
|
|
|
|
|
http = []
|
|
|
|
|
spartan = []
|
|
|
|
|
nex = []
|
|
|
|
|
gemtext = ["dep:itsybitsy-gemtext"]
|
|
|
|
|
wap = ["dep:itsybitsy-wap"]
|
|
|
|
|
|
2026-10-04 18:55:33 +03:00
|
|
|
[dependencies]
|
|
|
|
|
anyhow = "1"
|
|
|
|
|
clap = { version = "4.6", features = ["derive"] }
|
2026-10-04 19:55:21 +03:00
|
|
|
env_logger = { version = "0.11", default-features = false, features = ["auto-color", "humantime"] }
|
2026-10-04 18:55:33 +03:00
|
|
|
itsybitsy-core = { path = "../core" }
|
2026-10-04 19:55:21 +03:00
|
|
|
itsybitsy-gemtext = { path = "../gemtext", optional = true }
|
|
|
|
|
itsybitsy-wap = { path = "../wap", optional = true }
|
|
|
|
|
log = "0.4"
|
2026-10-04 18:55:33 +03:00
|
|
|
|
|
|
|
|
[dev-dependencies]
|
2026-10-04 19:55:21 +03:00
|
|
|
itsybitsy-core = { path = "../core" }
|
2026-10-04 18:55:33 +03:00
|
|
|
tempfile = "3"
|
2026-10-04 19:55:21 +03:00
|
|
|
toml = "1.1"
|
2026-10-04 18:55:33 +03:00
|
|
|
|
|
|
|
|
[lints.rust]
|
|
|
|
|
unsafe_code = "forbid"
|