1.7 kB
55 lines
1[workspace]
2resolver = "3"
3members = ["future_form", "future_form_ffi", "future_form_macros"]
4
5[workspace.package]
6version = "0.3.1"
7edition = "2024"
8rust-version = "1.90"
9license = "MIT OR Apache-2.0"
10repository = "https://codeberg.org/expede/future_form"
11authors = ["Brooklyn Zelenka <hello@brooklynzelenka.com>"]
12
13[workspace.dependencies]
14future_form = { version = "0.3.1", path = "future_form" }
15future_form_ffi = { version = "0.1.0", path = "future_form_ffi" }
16future_form_macros = { version = "0.3.1", path = "future_form_macros" }
17futures = { version = "0.3.31", default-features = false, features = ["alloc"] }
18proc-macro2 = "1.0"
19quote = "1.0"
20syn = { version = "2.0", features = ["full", "visit", "visit-mut"] }
21tokio = { version = "1.0", features = ["rt", "macros"] }
22trybuild = "1.0"
23
24[workspace.lints.rust]
25future_incompatible = { level = "warn", priority = -1 }
26let_underscore = { level = "warn", priority = -1 }
27missing_copy_implementations = "warn"
28missing_debug_implementations = "warn"
29missing_docs = "warn"
30nonstandard_style = { level = "warn", priority = -1 }
31rust_2021_compatibility = { level = "warn", priority = -1 }
32
33rust_2018_idioms = { level = "deny", priority = -1 }
34unreachable_pub = "deny"
35unused_extern_crates = "deny"
36
37unsafe_code = "forbid"
38
39[workspace.lints.clippy]
40dbg_macro = "warn"
41expect_used = "warn"
42fallible_impl_from = "warn"
43fn_params_excessive_bools = "warn"
44indexing_slicing = "warn"
45missing_const_for_fn = "warn"
46must_use_candidate = "warn"
47panic = "warn"
48todo = "warn"
49unneeded_field_pattern = "warn"
50unwrap_used = "warn"
51wildcard_enum_match_arm = "warn"
52
53all = { level = "deny", priority = -1 }
54cargo = { level = "deny", priority = -1 }
55pedantic = { level = "deny", priority = -1 }