-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathCargo.toml
More file actions
60 lines (56 loc) · 2.16 KB
/
Cargo.toml
File metadata and controls
60 lines (56 loc) · 2.16 KB
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
[workspace]
resolver = "2"
members = ["crates/dc_figma_import", "crates/dc_jni", "crates/dc_layout", "crates/dc_bundle", "support-figma/dc_squoosh_designer/rs", "crates/dc_squoosh_animation"]
[workspace.package]
# LINT.IfChange
version = "0.39.1"
# LINT.ThenChange(gradle/libs.versions.toml)
edition = "2021"
authors = ["DesignCompose Team <aae-design-compose@google.com>"]
license = "Apache-2.0"
rust-version = "1.80"
homepage = "https://google.github.io/automotive-design-compose"
repository = "https://github.com/google/automotive-design-compose"
[profile.release] # https://github.com/johnthagen/min-sized-rust
opt-level = 'z'
lto = true
codegen-units = 1
panic = 'abort'
[workspace.dependencies]
# dc_* crates specify a version because they are dependencies published on crates.io
dc_bundle = { version = "0.39.1", path = "crates/dc_bundle" }
dc_layout = { version = "0.39.1", path = "crates/dc_layout" }
dc_figma_import = { version = "0.39.1", path = "crates/dc_figma_import" }
dc_jni = { version = "0.39.1", path = "crates/dc_jni" }
dc_squoosh_animation = { version = "0.39.1", path = "crates/dc_squoosh_animation" }
dc_squoosh_parser = { version = "0.39.1", path = "support-figma/dc_squoosh_designer/rs" }
android_logger = "0.13.1"
anyhow = "1.0"
bytes = "1.6.0"
env_logger = "0.10.0"
clap = { version = "4.5", features = ["derive", "env"] }
image = { version = "0.25", default-features = false, features = [
"png",
"jpeg",
] }
jni = "0.22.4"
log = "0.4"
phf = { version = "0.11", features = ["macros"] }
protobuf = "3.2.0"
protobuf-codegen = "3.2.0"
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.16.1"
taffy = { version = "0.6", default-features = false, features = ["std", "taffy_tree", "flexbox", "content_size"] }
tempfile = "3.11.0"
thiserror = "2.0.11"
unicode-segmentation = "1"
reqwest = { version = "0.12.26", default-features = false, features = ["blocking", "h2", "http2", "rustls-tls-native-roots-no-provider", "rustls-tls"] }
vergen = { version = "8.3.2", default-features = false, features = [
"build",
"git",
"gitcl",
] }