-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathCargo.toml
52 lines (49 loc) · 1.41 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
[workspace]
resolver = "2"
members = ["crates/figma_import", "crates/dc_jni", "crates/layout", "crates/dc_bundle"]
[workspace.package]
# LINT.IfChange
version = "0.33.0"
# LINT.ThenChange(gradle/libs.versions.toml)
edition = "2021"
authors = ["DesignCompose Team <[email protected]>"]
license = "Apache-2.0"
rust-version = "1.68"
[profile.release] # https://github.com/johnthagen/min-sized-rust
opt-level = 'z'
lto = true
codegen-units = 1
panic = 'abort'
[workspace.dependencies]
android_logger = "0.13.1"
anyhow = "1.0"
bincode = "1.3"
bytes = "1.6.0"
clap = { version = "4.5", features = ["derive", "env"] }
euclid = { version = "0.20.13", default-features = false, features = ["serde", "libm"] }
image = { version = "0.25", default-features = false, features = [
"png",
"jpeg",
] }
jni = "0.21.1"
lazy_static = "1.5.0"
log = "0.4"
phf = { version = "0.11", features = ["macros"] }
prost = "0.12.6"
prost-build = "0.12.4"
serde = { version = "1.0", features = ["derive", "rc"] }
serde_bytes = "0.11"
serde-generate = { version = "0.25.1" }
serde_json = "1.0"
serde-reflection = { version = "0.3" }
svgtypes = "0.15.1"
taffy = { version = "0.6", default-features = false, features = ["std", "taffy_tree", "flexbox", "content_size"] }
testdir = "0.9.1"
thiserror = "1.0"
unicode-segmentation = "1"
ureq = "2"
vergen = { version = "8.3.2", default-features = false, features = [
"build",
"git",
"gitcl",
] }