-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
74 lines (63 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
63
64
65
66
67
68
69
70
71
72
73
74
[workspace]
members = [
"dioxus-web-component",
"dioxus-web-component-macro",
"examples/counter",
"examples/dx-in-dx",
"examples/greeting",
]
resolver = "2"
[workspace.package]
edition = "2021"
authors = ["ilaborie@gmail.com"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ilaborie/dioxus-web-component"
rust-version = "1.79.0"
[workspace.dependencies]
dioxus = "0.6.1"
wasm-bindgen = "0.2.99"
wasm-bindgen-futures = "0.4.49"
web-sys = "0.3.76"
syn = "2.0.90"
quote = "1.0.37"
proc-macro2 = "1.0.92"
darling = "0.20.10"
heck = "0.5.0"
futures = "0.3.31"
insta = "1.41.1"
[workspace.lints.rust]
unsafe_code = "deny"
missing_docs = "warn"
[workspace.lints.clippy]
perf = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
cargo = { level = "warn", priority = -1 }
undocumented_unsafe_blocks = "deny"
dbg_macro = "warn"
expect_used = "warn"
if_then_some_else_none = "warn"
indexing_slicing = "warn"
large_include_file = "warn"
min_ident_chars = "warn"
print_stderr = "warn"
print_stdout = "warn"
rc_buffer = "warn"
rc_mutex = "warn"
unnecessary_safety_doc = "warn"
unwrap_used = "warn"
module_name_repetitions = "allow"
[profile.release]
opt-level = "z"
debug = false
lto = true
codegen-units = 1
panic = "abort"
strip = true
incremental = false
[profile.wasm-dev]
inherits = "dev"
opt-level = 1
[profile.server-dev]
inherits = "dev"
[profile.android-dev]
inherits = "dev"