[package] name = "mdbook-plantuml" version = "0.8.0" authors = ["Sytse Reitsma "] description = "A preprocessor for mdbook which will convert plantuml code blocks into inline SVG diagrams" license = "MIT" documentation = "https://docs.rs/mdbook-plantuml" repository = "https://github.com/sytsereitsma/mdbook-plantuml" readme = "README.md" keywords = ["mdbook", "plantuml", "markdown", "commonmark"] exclude = [ "tests/e2etest", ] edition = "2018" [[bin]] name = "mdbook-plantuml" path = "src/bin/mdbook-plantuml.rs" doc = false [features] default = ["plantuml-ssl-server"] plantuml-server=["reqwest", "deflate"] plantuml-ssl-server=["reqwest/default-tls", "deflate"] [dependencies] mdbook = { version = "0.4.17", default-features = false } serde = { version = "1.0.136", features = ["derive"] } serde_json = "1.0.79" log = "0.4.16" clap = { version = "3.1.8", features = ["derive"] } log4rs = "1.0.0" reqwest = { version = "0.11.10", optional = true, features = ["blocking"], default-features = false } deflate = { version = "1.0.0", optional = true } sha1 = "0.10.1" base64 = "=0.20.0-alpha.1" anyhow = "1.0.55" tempfile = "3.3.0" base16ct = { version = "0.1.1", features = ["alloc"] } [dev-dependencies] pretty_assertions = "1.2.1" simulacrum = "0.3.1"