md_render_lib 0.1.0

A lib for rendering markdown in terminal
Documentation
[package]
name = "md_render_lib"
description = "A lib for rendering markdown in terminal"
readme = "README.md"
homepage = "https://github.com/HallerPatrick/md-render-lib.git"
repository= "https://github.com/HallerPatrick/md-render-lib.git"
keywords = ["markdown"]
version = "0.1.0"
categories = ["lib", "text-processing"]
license = "MIT"
authors = ["Patrick Haller <patrickhaller40@googlemail.com"]
edition = "2018"

[features]
default = ["reqwest"]

[dependencies]
ansi_term = "^0.12"
base64 = "^0.11"
failure = "^0.1"
gethostname = "^0.2"
image = "^0.22.4"
mime = "^0.3"
term_size = "^0.3"
url = "^2.1"

# Dependency for reqwest which lets Kitty, iTerm2 and perhaps others
# fetch images from HTTP(S) URLs for display.  Without reqwest we use curl to
# fetch resources.
[dependencies.reqwest]
version = "^0.10"
optional = true
features = ["gzip", "blocking"]

[dependencies.clap]
version = "^2.33"
default-features = false
features = ["color", "wrap_help"]

[dependencies.pulldown-cmark]
version = "^0.6"
default-features = false
features = ['simd']

[dependencies.syntect]
# onig rust fails to build w/o clang currently so pin syntect,
# see <https://github.com/rust-onig/rust-onig/issues/109> and GH-90
version = "^3, <3.2"
default-features = false
features = ["parsing", "assets", "dump-load"]

[dev-dependencies]
pretty_assertions = "^0.6"

[profile.release]
# Enable LTO for release builds; makes the binary a lot smaller
lto = true