1
0
Fork 0
forked from alemi/upub
upub/mdhtml/Cargo.toml
alemi 4d773d8ca9
feat(mdhtml): add tiny crate to safely parse html
basically reduce tags to a subset comparable to markdown, also provide
markdown->html conversion
2024-05-02 14:20:49 +02:00

23 lines
549 B
TOML

[package]
name = "mdhtml"
version = "0.1.0"
edition = "2021"
authors = [ "alemi <me@alemi.dev>" ]
description = "Parse and display a markdown-like HTML subset"
license = "MIT"
keywords = ["html", "markdown", "parser"]
repository = "https://git.alemi.dev/upub.git"
readme = "README.md"
[lib]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
html5ever = "0.27"
tracing = "0.1"
comrak = { version = "0.23", optional = true }
[features]
default = ["markdown"]
markdown = ["dep:comrak"]