-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
38 lines (31 loc) · 1.09 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
[package]
name = "grisked"
version = "0.1.0"
authors = ["Paul COMTE <[email protected]>", "Guillaume BOUDAILLE <[email protected]>"]
edition = "2021"
default-run = "grisked"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[workspace]
members = ["grisked-ui", "grisked-profile"]
[dependencies]
grisked-ui = { path = "grisked-ui" }
grisked-profile = { path = "grisked-profile" }
[[bin]]
name = "grisked"
path = "grisked-ui/src/bin/grisked.rs"
[profile.release-lto]
inherits = "release"
lto = true
codegen-units = 1
# A profile which compiles all (non-workspace) dependencies in release mode
# but Grisked code in dev mode. This gives a good debugging experience for your
# code and fast performance of other people's code. After the initial
# build subsequent ones are as fast as dev mode builds.
# See https://doc.rust-lang.org/cargo/reference/profiles.html
# To use this profile:
# cargo build --profile fastdev
# cargo run --profile fastdev --bin grisked
[profile.fastdev.package."*"]
opt-level = 3
[profile.fastdev]
inherits = "dev"