-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
97 lines (89 loc) · 2.44 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
[workspace]
members = ["crates/*"]
resolver = "2"
[workspace.package]
version = "0.2.1"
authors = ["Ifiok Jr. <[email protected]>"]
edition = "2021"
homepage = "https://edgedb.com"
license = "Unlicense"
repository = "https://github.com/ifiokjr/edgedb_codegen"
rust-version = "1.72.0"
[workspace.dependencies]
assert2 = "0.3"
bigdecimal = "0.4"
bytes = "1"
check_keyword = "0.3"
chrono = "0.4"
document-features = "0.2"
edgedb-derive = "0.5"
edgedb-errors = "0.4"
edgedb-protocol = "0.6"
edgedb-tokio = "0.5.1"
heck = "0.5"
insta = "1"
log = "0.4"
num-bigint = "0.4"
num-traits = "0.2"
prettyplease = "0.2"
proc-macro2 = "1"
quote = "1"
rstest = "0.22"
rustversion = "1"
serde = "1"
serde_bytes = "0.11"
syn = "2"
test-log = "0.2"
thiserror = "1"
tokio = "1"
trybuild = "1"
typed-builder = "0.20"
uuid = "1"
# crates
edgedb_codegen = { path = "./crates/edgedb_codegen", version = "0.2.1" }
edgedb_codegen_core = { path = "./crates/edgedb_codegen_core", version = "0.2.1" }
edgedb_codegen_macros = { path = "./crates/edgedb_codegen_macros", version = "0.2.1" }
[workspace.metadata.bin]
cargo-deny = { version = "0.16.1" }
cargo-insta = { version = "1.39.0" }
cargo-llvm-cov = { version = "0.6.10" }
cargo-nextest = { version = "0.9.72" }
[workspace.lints.rust]
# Group lints
rust_2021_compatibility = { level = "warn", priority = -1 }
rust_2024_compatibility = { level = "warn", priority = -1 }
# Individual lints
unsafe_code = "deny"
unstable_features = "deny"
unused_extern_crates = "warn"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_macro_rules = "warn"
unused_qualifications = "warn"
variant_size_differences = "warn"
[workspace.lints.clippy]
# Group lints
complexity = { level = "warn", priority = -1 }
correctness = { level = "deny", priority = -1 }
pedantic = { level = "warn", priority = -1 }
perf = { level = "warn", priority = -1 }
style = { level = "warn", priority = -1 }
suspicious = { level = "warn", priority = -1 }
# Individual lints
blocks_in_conditions = "allow"
cargo_common_metadata = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
expl_impl_clone_on_copy = "allow"
items_after_statements = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
no_effect_underscore_binding = "allow"
tabs-in-doc-comments = "allow"
too_many_lines = "allow"
wildcard_dependencies = "deny"
wildcard_imports = "allow"