diff --git a/Cargo.lock b/Cargo.lock index f04d9b7a..0c0933b7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6,11 +6,11 @@ dependencies = [ "clap 1.4.5 (registry+https://github.com/rust-lang/crates.io-index)", "config 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "glob 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)", + "hoedown 3.0.3 (registry+https://github.com/rust-lang/crates.io-index)", "itertools 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", "open 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "prettytable-rs 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "pulldown-cmark 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)", "regex 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)", "rustty 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", "serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -77,15 +77,29 @@ dependencies = [ ] [[package]] -name = "getopts" -version = "0.2.14" +name = "gcc" +version = "0.3.21" source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "advapi32-sys 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", + "winapi 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", +] [[package]] name = "glob" version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" +[[package]] +name = "hoedown" +version = "3.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "bitflags 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "gcc 0.3.21 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "itertools" version = "0.4.5" @@ -168,14 +182,6 @@ dependencies = [ "unicode-width 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", ] -[[package]] -name = "pulldown-cmark" -version = "0.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "getopts 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "rand" version = "0.3.11" diff --git a/Cargo.toml b/Cargo.toml index a8b47ed8..04479644 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,6 +27,6 @@ term = "0.2.12" term_grid = "0.1.2" prettytable-rs = "0.4.0" open = "1.1.0" -pulldown-cmark = "0.0.3" itertools = "0.4.5" +hoedown = "3.0.3" diff --git a/src/main.rs b/src/main.rs index 0dfb7068..a91072b6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -6,7 +6,7 @@ #[macro_use] extern crate uuid; #[macro_use] extern crate regex; #[macro_use] extern crate prettytable; -extern crate pulldown_cmark; +extern crate hoedown; extern crate url; extern crate config; extern crate open;