itsybitsy/bin/Cargo.toml

40 lines
984 B
TOML
Raw Normal View History

[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"
[features]
2026-10-04 20:27:29 +03:00
default = ["http", "spartan", "nex", "gemtext", "wap", "text"]
http = []
spartan = []
nex = []
gemtext = ["dep:itsybitsy-gemtext"]
wap = ["dep:itsybitsy-wap"]
2026-10-04 20:27:29 +03:00
text = ["dep:itsybitsy-text"]
[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 }
2026-10-04 20:27:29 +03:00
itsybitsy-text = { path = "../text", 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"