forked from gluon-lang/gluon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
177 lines (149 loc) · 3.98 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
[package]
name = "gluon"
version = "0.11.1" # GLUON
authors = ["Markus <[email protected]>"]
build = "build.rs"
edition = "2018"
license = "MIT"
description = "A static, type inferred programming language for application embedding"
repository = "https://github.com/gluon-lang/gluon"
documentation = "https://docs.rs/gluon"
readme = "README.md"
[workspace]
members = ["c-api", "repl", "completion", "format", "doc", "codegen"]
[lib]
name = "gluon"
path = "src/lib.rs"
[dependencies]
gluon_base = { path = "base", version = "0.11.1" } # GLUON
gluon_check = { path = "check", version = "0.11.1" } # GLUON
gluon_parser = { path = "parser", version = "0.11.1" } # GLUON
gluon_codegen = { path = "codegen", version = "0.11.1" } # GLUON
gluon_vm = { path = "vm", version = "0.11.1", default-features = false } # GLUON
gluon_format = { path = "format", version = "0.11.1", default-features = false } # GLUON
log = "0.4"
quick-error = "1.0.0"
collect-mac = "0.1.0"
either = "1.0.0"
itertools = "0.8"
futures = "0.1.11"
codespan = "0.2"
codespan-reporting = "0.2"
serde = { version = "1.0.0", optional = true }
serde_state = { version = "0.4.0", optional = true }
serde_derive_state = { version = "0.4.0", optional = true }
# Binding crates
regex = { version = "1", optional = true }
# web
http = { version = "0.1", optional = true }
hyper = { version = "0.12", optional = true }
native-tls = { version = "0.2", optional = true }
tokio-tls = { version = "0.2", optional = true }
tokio-tcp = { version = "0.1", optional = true }
# Crates used in testing
compiletest_rs = { version = "0.3", optional = true }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
rand = { version = "0.6", optional = true }
rand_xorshift = { version = "0.1", optional = true }
[build-dependencies]
gluon_base = { path = "base", version = "0.11.1" } # GLUON
itertools = "0.8"
little-skeptic = { version = "0.15.0", optional = true }
walkdir = "2"
[dev-dependencies]
criterion = "0.2"
tensile = "0.4"
collect-mac = "0.1.0"
env_logger = "0.6"
pretty_assertions = "0.5"
futures-cpupool = "0.1.8"
tokio = "0.1.7"
tokio-retry = "0.2"
walkdir = "2"
failure = "0.1"
failure_derive = "0.1"
tempfile = "3.0.4"
serde = "1.0.0"
serde_derive = "1.0.0"
serde_derive_state = { version = "0.4.0" }
serde_json = "1.0.0"
bincode = "1"
pulldown-cmark = "0.2"
gluon_completion = { path = "completion", version = "0.11.1" } # GLUON
gluon_codegen = { path = "codegen", version = "0.11.1" } # GLUON
[features]
default = ["regex", "random"]
random = ["rand", "rand_xorshift"]
serialization = ["serde", "serde_state", "serde_derive_state", "gluon_vm/serialization"]
web = ["hyper", "http", "native-tls", "tokio-tcp", "tokio-tls"]
docs_rs = ["serialization"]
test = ["serialization", "little-skeptic", "http", "web", "gluon_vm/test"]
nightly = ["compiletest_rs"]
test_nightly = ["test", "nightly"]
[[bench]]
name = "check"
harness = false
[[bench]]
name = "function_call"
harness = false
[[bench]]
name = "parser"
harness = false
[[bench]]
name = "precompiled"
harness = false
[[test]]
name = "api"
[[test]]
name = "array"
[[test]]
name = "compiletest"
[[test]]
name = "de"
[[test]]
name = "debug"
[[test]]
name = "error"
[[test]]
name = "io"
[[test]]
name = "limits"
[[test]]
name = "main"
harness = false
[[test]]
name = "metadata"
[[test]]
name = "parallel"
[[test]]
name = "pattern_match"
[[test]]
name = "row_polymorphism"
[[test]]
name = "safety"
[[test]]
name = "serialization"
[[test]]
name = "skeptic-tests"
[[test]]
name = "stack_overflow"
[[test]]
name = "tutorial"
[[test]]
name = "vm"
[[test]]
name = "ui"
[[example]]
name = "24"
[[example]]
name = "marshalling"
required-features = ["serialization"]
[[example]]
name = "http"
path = "examples/http/main.rs"
required-features = ["serialization", "web"]
[[example]]
name = "lisp"
path = "examples/lisp/main.rs"
[package.metadata.docs.rs]
features = ["docs_rs"]