43 lines
1.2 KiB
TOML
43 lines
1.2 KiB
TOML
[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]
|
|
default = ["http", "spartan", "nex", "gemtext", "wap", "text"]
|
|
http = []
|
|
spartan = []
|
|
nex = []
|
|
gemtext = ["dep:itsybitsy-gemtext"]
|
|
wap = ["dep:itsybitsy-wap"]
|
|
text = ["dep:itsybitsy-text"]
|
|
# FIGlet banners and hyphenation for the text format, both off by default.
|
|
figlet = ["text", "itsybitsy-text/figlet"]
|
|
hyphenation = ["text", "itsybitsy-text/hyphenation"]
|
|
hyphenation-all = ["text", "itsybitsy-text/hyphenation-all"]
|
|
|
|
[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-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"
|