[package]
edition = "2024"
name = "birta"
version = "0.7.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Preview markdown files in the browser with GitHub-style rendering"
homepage = "https://github.com/hugvit/birta"
readme = "README.md"
keywords = [
"markdown",
"preview",
"browser",
"github",
"live-reload",
]
categories = [
"command-line-utilities",
"text-processing",
]
license = "MIT"
repository = "https://github.com/hugvit/birta"
[lib]
name = "birta"
path = "src/lib.rs"
[[bin]]
name = "birta"
path = "src/main.rs"
[[test]]
name = "cli_test"
path = "tests/cli_test.rs"
[[test]]
name = "render_test"
path = "tests/render_test.rs"
[[test]]
name = "static_export_test"
path = "tests/static_export_test.rs"
[[test]]
name = "watcher_test"
path = "tests/watcher_test.rs"
[[test]]
name = "websocket_test"
path = "tests/websocket_test.rs"
[dependencies.anyhow]
version = "1"
[dependencies.axum]
version = "0.8"
features = ["ws"]
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.comrak]
version = "0.51"
features = [
"shortcodes",
"syntect",
]
default-features = false
[dependencies.dirs]
version = "6"
[dependencies.notify]
version = "8"
[dependencies.notify-debouncer-mini]
version = "0.6"
[dependencies.open]
version = "5"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.syntect]
version = "5"
features = [
"plist-load",
"html",
]
default-features = false
[dependencies.tokio]
version = "1.50.0"
features = ["full"]
[dependencies.toml]
version = "0.8"
[dev-dependencies.assert_cmd]
version = "2"
[dev-dependencies.futures-util]
version = "0.3"
[dev-dependencies.http-body-util]
version = "0.1.3"
[dev-dependencies.insta]
version = "1.46.3"
features = ["glob"]
[dev-dependencies.predicates]
version = "3"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio-tungstenite]
version = "0.26"
[dev-dependencies.tower]
version = "0.5.3"
features = ["util"]
[profile.dist]
lto = "thin"
inherits = "release"