summaryrefslogtreecommitdiff
path: root/dhall/Cargo.toml
blob: adf92d67a7d5e624deb5a297426801e8852bd01a (plain)
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
[package]
name = "dhall"
# remember to update html_root_url
version = "0.5.2"
authors = ["NanoTech <nanotech@nanotechcorp.net>", "Nadrieril <nadrieril@users.noreply.github.com>"]
license = "BSD-2-Clause"
description = "Implementation of the Dhall configuration language"
readme = "README.md"
repository = "https://github.com/Nadrieril/dhall-rust"
edition = "2018"
build = "build.rs"

[dependencies]
annotate-snippets = "0.7.0"
itertools = "0.9.0"
hex = "0.4.2"
lazy_static = "1.4.0"
once_cell = "1.3.1"
percent-encoding = "2.1.0"
pest = "2.1"
pest_consume = "1.0"
serde = "1.0"
serde_cbor = "0.9.0"
sha2 = "0.8.1"
smallvec = "1.0.0"
url = "2.1"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
reqwest = { version = "0.10", features = ["blocking"] }

[target.'cfg(target_arch = "wasm32")'.dependencies]
# Disable native tls because hyper doesn't build on wasm
reqwest = { version = "0.10", default-features = false }
blocking = "0.4.3"

[dev-dependencies]
pretty_assertions = "0.6.1"
version-sync = "0.8"
rand = "0.7"

[build-dependencies]
walkdir = "2"
abnf_to_pest = { version = "^0.5.0", path = "../abnf_to_pest" }
pest_generator = "2.1.3"
quote = "1.0"