[package]
edition = "2021"
name = "mdo-cli"
version = "0.6.2"
authors = [
"Matt Wilkie <maphew@gmail.com>",
"Hafiz Ali Raza <haffizaliraza@gmail.com>",
]
build = "build.rs"
include = [
"/src/**/*.rs",
"/tests/**/*.rs",
"/assets/simple.min.css",
"/assets/simple.css.LICENSE",
"/assets/mdo-default-typography.css",
"/assets/restore-simple-css.css",
"/assets/mdo.ico",
"/scripts/*.ps1",
"/scripts/*.sh",
"/build.rs",
"/Cargo.toml",
"/Cargo.lock",
"/CHANGELOG.md",
"/LICENSE-APACHE",
"/LICENSE-MIT",
"/README.md",
"/example.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "mdo"
description = "A simple Rust CLI to convert Markdown to HTML5 (styled with simple.css), with optional file watching"
homepage = "https://maphew.github.io/mdo/"
documentation = "https://docs.rs/mdo-cli"
readme = "README.md"
keywords = [
"markdown",
"html",
"cli",
"rust",
]
categories = [
"command-line-utilities",
"text-processing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/maphew/mdo"
[lib]
name = "mdo_cli"
crate-type = [
"rlib",
"cdylib",
]
path = "src/lib.rs"
[[bin]]
name = "mdo"
path = "src/main.rs"
[[bin]]
name = "mdo-open"
path = "src/bin/mdo-open.rs"
[[bin]]
name = "mdo-setup"
path = "src/bin/mdo-setup.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "security"
path = "tests/security.rs"
[[test]]
name = "wrapper"
path = "tests/wrapper.rs"
[dependencies.ammonia]
version = "4.2.5"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.libc]
version = "0.2"
[dependencies.notify]
version = "6"
[dependencies.pulldown-cmark]
version = "0.13.6"
[dependencies.syntect]
version = "5.3"
features = [
"default-syntaxes",
"default-themes",
"html",
"regex-fancy",
]
default-features = false
[dependencies.url]
version = "2.5.9"
[build-dependencies.winresource]
version = "0.1.31"
[target.'cfg(target_os = "android")'.dependencies.jni]
version = "0.21"
[target."cfg(windows)".dependencies.opener]
version = "0.8"
[target."cfg(windows)".dependencies.windows-sys]
version = "0.61.2"
features = [
"Win32_Foundation",
"Win32_Graphics_Gdi",
"Win32_UI_WindowsAndMessaging",
]