-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathCargo.toml
42 lines (35 loc) · 1.07 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
[package]
name = "html2md"
version = "0.2.15"
edition = "2018"
authors = ["Oleg `Kanedias` Chernovskiy <[email protected]>"]
description = "Library and binary to convert simple html documents into markdown"
repository = "https://gitlab.com/Kanedias/html2md"
readme = "README.md"
keywords = ["html", "markdown", "converter"]
categories = ["development-tools", "parsing", "parser-implementations"]
license = "GPL-3.0+"
[badges]
gitlab = { repository = "Kanedias/html2md", branch = "master" }
maintenance = { status = "experimental" }
[lib]
name = "html2md"
crate-type = ["rlib", "dylib", "staticlib"]
[dependencies]
# string_cache_codegen = "0.4.2" # Needed for markup5ever
lazy_static = "1.4.0"
html5ever = "0.27.0"
markup5ever_rcdom = "0.3.0"
regex = "1.4.2"
percent-encoding = "2.1.0"
[dev-dependencies]
spectral = "0.6.0"
pretty_assertions = "0.7.2"
indoc = "1.0.3"
[profile.release]
debug = false
lto = true
panic = 'abort'
# To use this project on Android we need JNI
[target.'cfg(target_os="android")'.dependencies]
jni = { version = "0.19.0", default-features = false }