-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathCargo.toml
42 lines (37 loc) · 1.34 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
[workspace]
resolver = "2"
members = ["crates/core", "crates/uniffi-bindgen", "crates/wasm"]
[workspace.package]
version = "0.4.0-rc-4"
rust-version = "1.64"
authors = [
"Paul Schoenfelder <[email protected]>",
"Thomas Sieverding <[email protected]>",
"Elle Imhoff <[email protected]>",
]
description = "Provides core, cross-platform functionality for LiveView Native implementations"
repository = "https://github.com/liveview-native/liveview-native-core"
homepage = "https://github.com/liveview-native/liveview-native-core"
documentation = "https://github.com/liveview-native/liveview-native-core"
categories = ["API bindings", "GUI"]
keywords = ["liveview", "phoenix"]
license = "MIT"
license-file = "LICENSE.md"
readme = "README.md"
edition = "2021"
publish = false
[workspace.dependencies]
uniffi = "0.28.0"
[profile.dev]
split-debuginfo = "unpacked"
debug = 2
[profile.release]
opt-level = 'z' # Optimize for size
lto = true # Enable link-time optimization
codegen-units = 1 # Reduce number of codegen units to increase optimizations
strip = 'debuginfo' # Strip symbols from binary*
split-debuginfo = "packed"
debug = 1
[patch.crates-io]
# https://github.com/rust-lang/socket2/pull/503
socket2 = { git = "https://github.com/rust-lang/socket2.git", rev = "3a938932829ea6ee3025d2d7a86c7b095c76e6c3" }