-
Notifications
You must be signed in to change notification settings - Fork 620
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #3926 - Turbo87:cio-markdown, r=jtgeibel
Extract `cio_markdown` subpackage This allows us to isolate our markdown rendering code in a dedicated package, which could potentially have a positive effect on the compile times of the full project. It also means we can iterate on this part of the code independent from the other parts (see #3861 or #3297), and with a well-defined API interface.
- Loading branch information
Showing
7 changed files
with
593 additions
and
566 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[package] | ||
|
||
name = "cio_markdown" | ||
version = "0.0.0" | ||
license = "MIT OR Apache-2.0" | ||
repository = "https://github.com/rust-lang/crates.io" | ||
description = "crates.io markdown renderer" | ||
edition = "2018" | ||
resolver = "2" | ||
|
||
[lib] | ||
path = "lib.rs" | ||
|
||
[dependencies] | ||
ammonia = "3.1.2" | ||
comrak = { version = "0.10.1", default-features = false } | ||
htmlescape = "0.3.1" | ||
url = "2.2.2" |
Oops, something went wrong.