-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
63 lines (53 loc) · 1.4 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
[package]
name = "apivolve"
version = "0.1.0"
description = "Apivolve is an API evolution tool, it helps keep your APIs backwards compatible yet clean, and generates client/server code in a variety of languages."
edition = "2021"
publish = true
license = "Apache-2.0"
default-run = "apivolve"
repository = "https://github.com/mverleg/apivolve"
[[bin]]
name = "apivolve"
path = "src/main.rs"
required-features = ["binary"]
[lib]
name = "apivolve"
path = "src/lib.rs"
[features]
binary = [
"jemallocator",
"env_logger",
"structopt",
]
[build-dependencies]
lalrpop = "0.19.7"
[dependencies]
# general
log = "0.4.14"
lalrpop-util = { version = "0.19.7", features = ["lexer"] }
regex = "1.5.4"
lazy_static = "1.4.0"
futures = "0.3.21"
sha2 = "0.10.2"
base64 = "0.13.0"
which = { version = "4.2.4", features = ["regex"] }
serde = { version = "1.0.136", features = ["derive"] }
serde_json = "1.0.79"
semver = { version = "1.0.6", features = ["serde"] }
ustr = "0.8.1"
#dashmap = "5.1.0"
#derive-new = "0.5.9"
#derive-getters = "0.2.0"
itertools = "0.10.3"
apivolve_generator_api = { path = "../apivolve_generator_api" }
# bin
env_logger = { version = "0.9.0", optional = true }
structopt = { version = "0.3.26", optional = true }
[target.'cfg(not(target_env = "msvc"))'.dependencies]
jemallocator = { version = "0.3.2", optional = true }
[profile.release]
lto = "thin"
opt-level = 3
[profile.dev.package."*"]
opt-level = 3