forked from kivikakk/comrak
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
53 lines (44 loc) · 1.61 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[package]
name = "comrak"
version = "0.14.0"
authors = ["Ashe Connor <[email protected]>"]
description = "A 100% CommonMark-compatible GitHub Flavored Markdown parser and formatter"
documentation = "https://docs.rs/comrak"
homepage = "https://github.com/kivikakk/comrak"
repository = "https://github.com/kivikakk/comrak"
readme = "README.md"
keywords = ["markdown", "commonmark"]
license = "BSD-2-Clause"
categories = ["text-processing", "parsing", "command-line-utilities"]
exclude = ["/hooks/*", "/script/*", "/vendor/*", "/.travis.yml", "/Makefile", "/spec_out.txt"]
resolver = "2"
[profile.release]
lto = true
[[bin]]
name = "comrak"
required-features = ["cli", "syntect"]
doc = false
[dependencies]
typed-arena = "2.0.1"
regex = "1.5.5"
once_cell = "1.13.0"
entities = "1.0.1"
unicode_categories = "0.1.1"
clap = { version = "2.34.0", optional = true, features = ["wrap_help"] }
memchr = "2"
pest = "2"
pest_derive = "2"
shell-words = { version = "1.0", optional = true }
[dev-dependencies]
timebomb = "0.1.2"
[target.'cfg(not(target_arch="wasm32"))'.dev-dependencies]
propfuzz = "0.0.1"
[features]
default = ["cli", "syntect"]
cli = ["clap", "shell-words", "xdg"]
[target.'cfg(all(not(windows), not(target_arch="wasm32")))'.dependencies]
xdg = { version = "^2.1", optional = true }
[target.'cfg(target_arch="wasm32")'.dependencies]
syntect = { version = "5.0", optional = true, default-features = false, features = ["default-fancy"] }
[target.'cfg(not(target_arch="wasm32"))'.dependencies]
syntect = { version = "5.0", optional = true, default-features = false, features = ["default-themes", "default-syntaxes", "html", "regex-onig"] }