[package]
name = "mdo-cli"
version = "0.6.1"
edition = "2021"
default-run = "mdo"
build = "build.rs"
authors = [
"Matt Wilkie <maphew@gmail.com>",
"Hafiz Ali Raza <haffizaliraza@gmail.com>",
]
description = "A simple Rust CLI to convert Markdown to HTML5 (styled with simple.css), with optional file watching"
license = "MIT OR Apache-2.0"
repository = "https://github.com/maphew/mdo"
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"]
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",
]
[dependencies]
ammonia = "4.1.4"
libc = "0.2"
pulldown-cmark = "0.13"
syntect = { version = "5.3", default-features = false, features = [
"default-syntaxes",
"default-themes",
"html",
"regex-fancy",
] }
clap = { version = "4", features = ["derive"] }
notify = "6"
url = "2.5"
[target.'cfg(target_os = "android")'.dependencies]
jni = "0.21"
[build-dependencies]
winresource = "0.1.31"
[target.'cfg(windows)'.dependencies]
opener = "0.8"
windows-sys = { version = "0.61.2", features = ["Win32_Foundation", "Win32_Graphics_Gdi", "Win32_UI_WindowsAndMessaging"] }
[lib]
crate-type = ["rlib", "cdylib"]
[[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"