Skip to content

Boilerplate

Nightly build

rustup install nightly
The nightly build can be specified ad hoc or permanently for the crate

cargo +nightly run
rustup override set nightly

Publishing

Some additional fields of the Cargo.toml are required before publishing:

[package]
name = "mdrend"
version = "0.1.0"
edition = "2018"
authors= ["Johnny Appleseed <johnny@apple.com>"]
license = "MIT"
keywords = [ "Parse", "markdown"]
repository = "https://github.com/..."
description = "Read a markdown file and return parsed HTML"

[dependencies]
clap = "2.34.0"
maud = "0.23.0"
pulldown-cmark = "0.8.0"

cargo login
cargo publish