-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
175 lines (169 loc) · 5.38 KB
/
Copy pathCargo.toml
File metadata and controls
175 lines (169 loc) · 5.38 KB
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
[workspace]
members = [
"crates/aiondb-core",
"crates/aiondb-config",
"crates/aiondb-security",
"crates/aiondb-auth-audit",
"crates/aiondb-tx",
"crates/aiondb-parser",
"crates/aiondb-plpgsql",
"crates/aiondb-catalog",
"crates/aiondb-catalog-store",
"crates/aiondb-schema-bridge",
"crates/aiondb-plan",
"crates/aiondb-planner",
"crates/aiondb-optimizer",
"crates/aiondb-eval",
"crates/aiondb-executor",
"crates/aiondb-storage-api",
"crates/aiondb-vector",
"crates/aiondb-graph-api",
"crates/aiondb-graph",
"crates/aiondb-graph-cbo",
"crates/aiondb-graph-projection",
"crates/aiondb-storage-engine",
"crates/aiondb-extension",
"crates/aiondb-api",
"crates/aiondb-cluster",
"crates/aiondb-pg-compat",
"crates/aiondb-pg-syntax",
"crates/aiondb-engine",
"crates/aiondb-pgwire",
"crates/aiondb-wal",
"crates/aiondb-replication",
"crates/aiondb-ha",
"crates/aiondb-shard",
"crates/aiondb-gpu",
"crates/aiondb-fragment-transport",
"crates/aiondb-buffer-pool",
"crates/aiondb-embedded",
"crates/aiondb-server",
"testing/aiondb-test-kit",
"testing/aiondb-sqllogictest",
"testing/aiondb-integrity",
"xtask",
]
exclude = [".pg-regress", ".cypher-tck"]
resolver = "2"
[workspace.package]
edition = "2021"
rust-version = "1.75"
version = "0.5.0"
license = "BUSL-1.1"
authors = ["AYOUB NABIL BOUBAGRAT <ayoub4kk@gmail.com>"]
homepage = "https://aiondb.xyz/"
[workspace.lints.rust]
# STRICT MODE (MANDATORY)
# Any compilation attempt that produces warnings must fail.
warnings = "deny"
unsafe_code = "deny"
unused_must_use = "deny"
unused_imports = "deny"
dead_code = "deny"
[workspace.lints.clippy]
# STRICT MODE (MANDATORY)
# The pedantic level is set to deny to reject every Clippy warning.
all = { level = "deny", priority = -1 }
pedantic = { level = "deny", priority = -1 }
# Allow common patterns that pedantic flags unnecessarily
module_name_repetitions = "allow"
must_use_candidate = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
return_self_not_must_use = "allow"
cast_possible_truncation = "allow"
cast_sign_loss = "allow"
cast_precision_loss = "allow"
cast_possible_wrap = "allow"
cast_lossless = "allow"
too_many_lines = "allow"
too_many_arguments = "allow"
similar_names = "allow"
single_match_else = "allow"
match_wildcard_for_single_variants = "allow"
redundant_closure_for_method_calls = "allow"
items_after_statements = "allow"
struct_excessive_bools = "allow"
wildcard_imports = "allow"
needless_pass_by_value = "allow"
# Style / test lints that add noise without improving correctness
unreadable_literal = "allow"
float_cmp = "allow"
approx_constant = "allow"
default_trait_access = "allow"
match_same_arms = "allow"
trivially_copy_pass_by_ref = "allow"
doc_markdown = "allow"
redundant_else = "allow"
collapsible_else_if = "allow"
manual_is_multiple_of = "allow"
manual_repeat_n = "allow"
useless_conversion = "allow"
nonminimal_bool = "allow"
unnecessary_map_or = "allow"
map_unwrap_or = "allow"
elidable_lifetime_names = "allow"
manual_clamp = "allow"
manual_midpoint = "allow"
uninlined_format_args = "allow"
single_match = "allow"
missing_fields_in_debug = "allow"
needless_borrow = "allow"
only_used_in_recursion = "allow"
redundant_closure = "allow"
semicolon_if_nothing_returned = "allow"
collapsible_match = "allow"
clone_on_copy = "allow"
assigning_clones = "allow"
replace_box = "allow"
manual_let_else = "allow"
manual_range_patterns = "allow"
items_after_test_module = "allow"
# API design: methods use &self for consistency/future extension
self_only_used_in_recursion = "allow"
unused_self = "allow"
# Common test patterns
field_reassign_with_default = "allow"
no_effect_underscore_binding = "allow"
unnecessary_wraps = "allow"
format_push_string = "allow"
type_complexity = "allow"
[workspace.dependencies]
axum = { version = "0.8", features = ["macros"] }
base64 = "0.22"
bincode = "1"
bytes = "1"
criterion = { version = "0.5", default-features = false, features = ["cargo_bench_support"] }
getrandom = "0.3"
half = { version = "2", features = ["std", "serde"] }
hmac = "0.12"
lz4_flex = "0.11"
md-5 = "0.10"
pbkdf2 = { version = "0.12", default-features = false, features = ["hmac"] }
rayon = "1.10"
regex = "1"
rustls = { version = "0.23", default-features = false, features = ["std", "ring"] }
rustls-pemfile = "2"
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1", features = ["preserve_order"] }
sha2 = "0.10"
subtle = "2.6"
time = { version = ">=0.3.47, <0.4", default-features = false, features = ["std", "parsing", "formatting", "large-dates", "serde"] }
tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync", "signal", "time", "net", "io-util", "fs"] }
tokio-rustls = "0.26"
tower = { version = "0.5", features = ["util"] }
tower-http = { version = "0.6", features = ["cors", "set-header", "compression-gzip"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["fmt", "env-filter"] }
zstd = { version = "0.13", default-features = false, features = ["zstdmt"] }
zeroize = "1.8"
[profile.release]
lto = "thin"
codegen-units = 1
# Profiling-friendly release: same optimization level as `release` but keeps
# DWARF debug info so `perf record` and `cargo flamegraph` resolve symbols.
# Use `cargo build --profile=profrel -p aiondb-server`.
[profile.profrel]
inherits = "release"
debug = "line-tables-only"
strip = "none"