2023-02-08 22:03:15 +00:00
|
|
|
[workspace]
|
2023-09-06 14:54:49 +00:00
|
|
|
resolver = "2"
|
2023-02-08 22:03:15 +00:00
|
|
|
members = [
|
2024-11-25 20:10:42 +00:00
|
|
|
# Binaries
|
2024-08-20 22:56:18 +00:00
|
|
|
"binaries/cuprated",
|
2024-11-25 20:10:42 +00:00
|
|
|
|
|
|
|
# Benchmarks
|
|
|
|
"benches/benchmark/bin",
|
|
|
|
"benches/benchmark/lib",
|
|
|
|
"benches/benchmark/example",
|
|
|
|
"benches/criterion/example",
|
|
|
|
"benches/criterion/cuprate-json-rpc",
|
|
|
|
|
|
|
|
# Consensus
|
2023-11-16 01:10:46 +00:00
|
|
|
"consensus",
|
2024-10-16 23:17:58 +00:00
|
|
|
"consensus/context",
|
2024-06-09 13:24:44 +00:00
|
|
|
"consensus/fast-sync",
|
2023-12-14 15:39:16 +00:00
|
|
|
"consensus/rules",
|
2024-11-25 20:10:42 +00:00
|
|
|
|
|
|
|
# Net
|
2024-01-29 22:32:16 +00:00
|
|
|
"net/epee-encoding",
|
|
|
|
"net/fixed-bytes",
|
2023-11-16 01:10:46 +00:00
|
|
|
"net/levin",
|
2024-06-24 01:30:47 +00:00
|
|
|
"net/wire",
|
2024-11-25 20:10:42 +00:00
|
|
|
|
|
|
|
# P2P
|
2024-06-24 01:30:47 +00:00
|
|
|
"p2p/p2p",
|
|
|
|
"p2p/p2p-core",
|
2024-11-02 00:45:56 +00:00
|
|
|
"p2p/bucket",
|
2024-06-24 01:30:47 +00:00
|
|
|
"p2p/dandelion-tower",
|
2024-06-04 17:19:25 +00:00
|
|
|
"p2p/async-buffer",
|
2023-12-08 15:03:01 +00:00
|
|
|
"p2p/address-book",
|
2024-11-25 20:10:42 +00:00
|
|
|
|
|
|
|
# Storage
|
2024-06-24 01:30:47 +00:00
|
|
|
"storage/blockchain",
|
2024-08-05 20:47:30 +00:00
|
|
|
"storage/service",
|
2024-06-24 01:30:47 +00:00
|
|
|
"storage/txpool",
|
2024-05-29 01:18:30 +00:00
|
|
|
"storage/database",
|
2024-11-25 20:10:42 +00:00
|
|
|
|
|
|
|
# RPC
|
2024-06-05 14:35:08 +00:00
|
|
|
"rpc/json-rpc",
|
2024-06-26 21:24:05 +00:00
|
|
|
"rpc/types",
|
|
|
|
"rpc/interface",
|
2024-11-25 20:10:42 +00:00
|
|
|
|
|
|
|
# ZMQ
|
2024-11-21 01:08:24 +00:00
|
|
|
"zmq/types",
|
2024-11-25 20:10:42 +00:00
|
|
|
|
|
|
|
# Misc
|
|
|
|
"constants",
|
|
|
|
"cryptonight",
|
|
|
|
"helper",
|
|
|
|
"pruning",
|
|
|
|
"test-utils",
|
|
|
|
"types",
|
2023-02-08 22:03:15 +00:00
|
|
|
]
|
2023-11-16 01:10:46 +00:00
|
|
|
|
|
|
|
[profile.release]
|
2024-12-03 15:17:21 +00:00
|
|
|
panic = "abort"
|
2023-11-16 01:10:46 +00:00
|
|
|
lto = true # Build with LTO
|
|
|
|
strip = "none" # Keep panic stack traces
|
|
|
|
codegen-units = 1 # Optimize for binary speed over compile times
|
|
|
|
opt-level = 3
|
|
|
|
|
|
|
|
[profile.dev]
|
|
|
|
lto = false
|
|
|
|
strip = "none"
|
|
|
|
# Not much slower compile times than opt-level 0, but much faster code.
|
|
|
|
opt-level = 1
|
|
|
|
|
|
|
|
[profile.dev.package."*"]
|
|
|
|
# Compile dependencies with max optimization.
|
|
|
|
# This is obviously slower on a cold build,
|
|
|
|
# but you only build these once.
|
|
|
|
opt-level = 3
|
|
|
|
|
|
|
|
[workspace.dependencies]
|
2024-10-24 22:12:30 +00:00
|
|
|
# Cuprate members
|
2024-11-25 20:10:42 +00:00
|
|
|
cuprate-benchmark-lib = { path = "benches/benchmark/lib", default-features = false }
|
|
|
|
cuprate-benchmark-example = { path = "benches/benchmark/example", default-features = false }
|
|
|
|
cuprate-fast-sync = { path = "consensus/fast-sync", default-features = false }
|
|
|
|
cuprate-consensus-rules = { path = "consensus/rules", default-features = false }
|
|
|
|
cuprate-constants = { path = "constants", default-features = false }
|
|
|
|
cuprate-consensus = { path = "consensus", default-features = false }
|
|
|
|
cuprate-consensus-context = { path = "consensus/context", default-features = false }
|
|
|
|
cuprate-cryptonight = { path = "cryptonight", default-features = false }
|
|
|
|
cuprate-helper = { path = "helper", default-features = false }
|
|
|
|
cuprate-epee-encoding = { path = "net/epee-encoding", default-features = false }
|
|
|
|
cuprate-fixed-bytes = { path = "net/fixed-bytes", default-features = false }
|
|
|
|
cuprate-levin = { path = "net/levin", default-features = false }
|
|
|
|
cuprate-wire = { path = "net/wire", default-features = false }
|
|
|
|
cuprate-p2p = { path = "p2p/p2p", default-features = false }
|
|
|
|
cuprate-p2p-core = { path = "p2p/p2p-core", default-features = false }
|
|
|
|
cuprate-p2p-bucket = { path = "p2p/p2p-bucket", default-features = false }
|
|
|
|
cuprate-dandelion-tower = { path = "p2p/dandelion-tower", default-features = false }
|
|
|
|
cuprate-async-buffer = { path = "p2p/async-buffer", default-features = false }
|
|
|
|
cuprate-address-book = { path = "p2p/address-book", default-features = false }
|
|
|
|
cuprate-blockchain = { path = "storage/blockchain", default-features = false }
|
|
|
|
cuprate-database = { path = "storage/database", default-features = false }
|
|
|
|
cuprate-database-service = { path = "storage/service", default-features = false }
|
|
|
|
cuprate-txpool = { path = "storage/txpool", default-features = false }
|
|
|
|
cuprate-pruning = { path = "pruning", default-features = false }
|
|
|
|
cuprate-test-utils = { path = "test-utils", default-features = false }
|
|
|
|
cuprate-types = { path = "types", default-features = false }
|
|
|
|
cuprate-json-rpc = { path = "rpc/json-rpc", default-features = false }
|
|
|
|
cuprate-rpc-types = { path = "rpc/types", default-features = false }
|
|
|
|
cuprate-rpc-interface = { path = "rpc/interface", default-features = false }
|
|
|
|
cuprate-zmq-types = { path = "zmq/types", default-features = false }
|
2024-10-24 22:12:30 +00:00
|
|
|
|
|
|
|
# External dependencies
|
2024-11-04 15:22:43 +00:00
|
|
|
anyhow = { version = "1", default-features = false }
|
2024-11-02 00:45:56 +00:00
|
|
|
arrayvec = { version = "0.7", default-features = false }
|
2024-11-04 15:22:43 +00:00
|
|
|
async-trait = { version = "0.1", default-features = false }
|
|
|
|
bitflags = { version = "2", default-features = false }
|
2024-10-29 15:30:51 +00:00
|
|
|
blake3 = { version = "1", default-features = false }
|
2024-11-04 15:22:43 +00:00
|
|
|
borsh = { version = "1", default-features = false }
|
|
|
|
bytemuck = { version = "1", default-features = false }
|
|
|
|
bytes = { version = "1", default-features = false }
|
|
|
|
cfg-if = { version = "1", default-features = false }
|
|
|
|
clap = { version = "4", default-features = false }
|
|
|
|
chrono = { version = "0.4", default-features = false }
|
|
|
|
crypto-bigint = { version = "0.5", default-features = false }
|
|
|
|
crossbeam = { version = "0.8", default-features = false }
|
|
|
|
const_format = { version = "0.2", default-features = false }
|
|
|
|
curve25519-dalek = { version = "4", default-features = false }
|
|
|
|
dashmap = { version = "6", default-features = false }
|
|
|
|
dirs = { version = "5", default-features = false }
|
|
|
|
futures = { version = "0.3", default-features = false }
|
|
|
|
hex = { version = "0.4", default-features = false }
|
2024-01-21 14:46:03 +00:00
|
|
|
hex-literal = { version = "0.4", default-features = false }
|
2024-11-04 15:22:43 +00:00
|
|
|
indexmap = { version = "2", default-features = false }
|
2024-08-06 23:48:53 +00:00
|
|
|
monero-serai = { git = "https://github.com/Cuprate/serai.git", rev = "d5205ce", default-features = false }
|
2024-11-04 15:22:43 +00:00
|
|
|
paste = { version = "1", default-features = false }
|
|
|
|
pin-project = { version = "1", default-features = false }
|
2024-02-12 13:39:15 +00:00
|
|
|
randomx-rs = { git = "https://github.com/Cuprate/randomx-rs.git", rev = "0028464", default-features = false }
|
2024-11-04 15:22:43 +00:00
|
|
|
rand = { version = "0.8", default-features = false }
|
|
|
|
rand_distr = { version = "0.4", default-features = false }
|
|
|
|
rayon = { version = "1", default-features = false }
|
|
|
|
serde_bytes = { version = "0.11", default-features = false }
|
|
|
|
serde_json = { version = "1", default-features = false }
|
|
|
|
serde = { version = "1", default-features = false }
|
|
|
|
strum = { version = "0.26", default-features = false }
|
|
|
|
thiserror = { version = "1", default-features = false }
|
|
|
|
thread_local = { version = "1", default-features = false }
|
|
|
|
tokio-util = { version = "0.7", default-features = false }
|
|
|
|
tokio-stream = { version = "0.1", default-features = false }
|
|
|
|
tokio = { version = "1", default-features = false }
|
2024-09-30 22:19:53 +00:00
|
|
|
tower = { git = "https://github.com/Cuprate/tower.git", rev = "6c7faf0", default-features = false } # <https://github.com/tower-rs/tower/pull/796>
|
2024-12-03 15:17:21 +00:00
|
|
|
toml = { version = "0.8", default-features = false }
|
2024-11-04 15:22:43 +00:00
|
|
|
tracing-subscriber = { version = "0.3", default-features = false }
|
|
|
|
tracing = { version = "0.1", default-features = false }
|
2023-11-16 01:10:46 +00:00
|
|
|
|
2023-12-14 15:39:16 +00:00
|
|
|
## workspace.dev-dependencies
|
2024-11-25 20:10:42 +00:00
|
|
|
criterion = { version = "0.5" }
|
|
|
|
function_name = { version = "0.3" }
|
2024-08-06 23:48:53 +00:00
|
|
|
monero-rpc = { git = "https://github.com/Cuprate/serai.git", rev = "d5205ce" }
|
|
|
|
monero-simple-request-rpc = { git = "https://github.com/Cuprate/serai.git", rev = "d5205ce" }
|
|
|
|
tempfile = { version = "3" }
|
2024-11-04 15:22:43 +00:00
|
|
|
pretty_assertions = { version = "1" }
|
2024-08-06 23:48:53 +00:00
|
|
|
proptest = { version = "1" }
|
2024-11-04 15:22:43 +00:00
|
|
|
proptest-derive = { version = "0.5" }
|
|
|
|
tokio-test = { version = "0.4" }
|
2023-12-14 15:39:16 +00:00
|
|
|
|
2023-11-16 01:10:46 +00:00
|
|
|
## TODO:
|
|
|
|
## Potential dependencies.
|
|
|
|
# arc-swap = { version = "1.6.0" } # Atomically swappable Arc<T> | https://github.com/vorner/arc-swap
|
|
|
|
# itoa = { version = "1.0.9" } # Fast integer to string formatting | https://github.com/dtolnay/itoa
|
|
|
|
# notify = { version = "6.1.1" } # Filesystem watching | https://github.com/notify-rs/notify
|
|
|
|
# once_cell = { version = "1.18.0" } # Lazy/one-time initialization | https://github.com/matklad/once_cell
|
|
|
|
# open = { version = "5.0.0" } # Open PATH/URL, probably for binaries | https://github.com/byron/open-rs
|
|
|
|
# regex = { version = "1.10.2" } # Regular expressions | https://github.com/rust-lang/regex
|
|
|
|
# ryu = { version = "1.0.15" } # Fast float to string formatting | https://github.com/dtolnay/ryu
|
|
|
|
|
2024-07-10 00:32:23 +00:00
|
|
|
# Lints: cold, warm, hot: <https://github.com/Cuprate/cuprate/issues/131>
|
|
|
|
[workspace.lints.clippy]
|
|
|
|
# Cold
|
|
|
|
borrow_as_ptr = "deny"
|
|
|
|
case_sensitive_file_extension_comparisons = "deny"
|
|
|
|
cast_lossless = "deny"
|
|
|
|
cast_ptr_alignment = "deny"
|
|
|
|
checked_conversions = "deny"
|
|
|
|
cloned_instead_of_copied = "deny"
|
2024-08-09 23:08:56 +00:00
|
|
|
const_is_empty = "deny"
|
|
|
|
doc_lazy_continuation = "deny"
|
2024-07-10 00:32:23 +00:00
|
|
|
doc_link_with_quotes = "deny"
|
2024-08-09 23:08:56 +00:00
|
|
|
duplicated_attributes = "deny"
|
2024-07-10 00:32:23 +00:00
|
|
|
empty_enum = "deny"
|
|
|
|
enum_glob_use = "deny"
|
|
|
|
expl_impl_clone_on_copy = "deny"
|
|
|
|
explicit_into_iter_loop = "deny"
|
|
|
|
filter_map_next = "deny"
|
|
|
|
flat_map_option = "deny"
|
|
|
|
from_iter_instead_of_collect = "deny"
|
|
|
|
if_not_else = "deny"
|
|
|
|
ignored_unit_patterns = "deny"
|
|
|
|
inconsistent_struct_constructor = "deny"
|
|
|
|
index_refutable_slice = "deny"
|
|
|
|
inefficient_to_string = "deny"
|
|
|
|
invalid_upcast_comparisons = "deny"
|
|
|
|
iter_filter_is_ok = "deny"
|
|
|
|
iter_filter_is_some = "deny"
|
|
|
|
implicit_clone = "deny"
|
2024-08-09 23:08:56 +00:00
|
|
|
legacy_numeric_constants = "deny"
|
2024-07-10 00:32:23 +00:00
|
|
|
manual_c_str_literals = "deny"
|
2024-08-09 23:08:56 +00:00
|
|
|
manual_pattern_char_comparison = "deny"
|
2024-07-10 00:32:23 +00:00
|
|
|
manual_instant_elapsed = "deny"
|
2024-08-09 23:08:56 +00:00
|
|
|
manual_inspect = "deny"
|
2024-07-10 00:32:23 +00:00
|
|
|
manual_is_variant_and = "deny"
|
|
|
|
manual_let_else = "deny"
|
|
|
|
manual_ok_or = "deny"
|
|
|
|
manual_string_new = "deny"
|
2024-08-09 23:08:56 +00:00
|
|
|
manual_unwrap_or_default = "deny"
|
2024-07-10 00:32:23 +00:00
|
|
|
map_unwrap_or = "deny"
|
|
|
|
match_bool = "deny"
|
|
|
|
match_same_arms = "deny"
|
|
|
|
match_wildcard_for_single_variants = "deny"
|
|
|
|
mismatching_type_param_order = "deny"
|
2024-08-09 23:08:56 +00:00
|
|
|
missing_transmute_annotations = "deny"
|
2024-07-10 00:32:23 +00:00
|
|
|
mut_mut = "deny"
|
|
|
|
needless_bitwise_bool = "deny"
|
2024-08-09 23:08:56 +00:00
|
|
|
needless_character_iteration = "deny"
|
2024-07-10 00:32:23 +00:00
|
|
|
needless_continue = "deny"
|
|
|
|
needless_for_each = "deny"
|
2024-08-09 23:08:56 +00:00
|
|
|
needless_maybe_sized = "deny"
|
2024-07-10 00:32:23 +00:00
|
|
|
needless_raw_string_hashes = "deny"
|
|
|
|
no_effect_underscore_binding = "deny"
|
|
|
|
no_mangle_with_rust_abi = "deny"
|
|
|
|
option_as_ref_cloned = "deny"
|
|
|
|
option_option = "deny"
|
|
|
|
ptr_as_ptr = "deny"
|
|
|
|
ptr_cast_constness = "deny"
|
|
|
|
pub_underscore_fields = "deny"
|
|
|
|
redundant_closure_for_method_calls = "deny"
|
|
|
|
ref_as_ptr = "deny"
|
|
|
|
ref_option_ref = "deny"
|
|
|
|
same_functions_in_if_condition = "deny"
|
|
|
|
semicolon_if_nothing_returned = "deny"
|
|
|
|
trivially_copy_pass_by_ref = "deny"
|
|
|
|
uninlined_format_args = "deny"
|
|
|
|
unnecessary_join = "deny"
|
|
|
|
unnested_or_patterns = "deny"
|
|
|
|
unused_async = "deny"
|
|
|
|
unused_self = "deny"
|
|
|
|
used_underscore_binding = "deny"
|
|
|
|
zero_sized_map_values = "deny"
|
|
|
|
as_ptr_cast_mut = "deny"
|
|
|
|
clear_with_drain = "deny"
|
|
|
|
collection_is_never_read = "deny"
|
|
|
|
debug_assert_with_mut_call = "deny"
|
|
|
|
derive_partial_eq_without_eq = "deny"
|
|
|
|
empty_line_after_doc_comments = "deny"
|
|
|
|
empty_line_after_outer_attr = "deny"
|
|
|
|
equatable_if_let = "deny"
|
|
|
|
iter_on_empty_collections = "deny"
|
|
|
|
iter_on_single_items = "deny"
|
|
|
|
iter_with_drain = "deny"
|
|
|
|
needless_collect = "deny"
|
|
|
|
needless_pass_by_ref_mut = "deny"
|
|
|
|
negative_feature_names = "deny"
|
|
|
|
non_send_fields_in_send_ty = "deny"
|
|
|
|
nonstandard_macro_braces = "deny"
|
|
|
|
path_buf_push_overwrite = "deny"
|
|
|
|
read_zero_byte_vec = "deny"
|
|
|
|
redundant_clone = "deny"
|
|
|
|
redundant_feature_names = "deny"
|
|
|
|
trailing_empty_array = "deny"
|
|
|
|
trait_duplication_in_bounds = "deny"
|
|
|
|
type_repetition_in_bounds = "deny"
|
|
|
|
uninhabited_references = "deny"
|
|
|
|
unnecessary_struct_initialization = "deny"
|
|
|
|
unused_peekable = "deny"
|
|
|
|
unused_rounding = "deny"
|
|
|
|
use_self = "deny"
|
|
|
|
useless_let_if_seq = "deny"
|
|
|
|
wildcard_dependencies = "deny"
|
|
|
|
unseparated_literal_suffix = "deny"
|
|
|
|
unnecessary_safety_doc = "deny"
|
|
|
|
unnecessary_safety_comment = "deny"
|
|
|
|
unnecessary_self_imports = "deny"
|
|
|
|
string_to_string = "deny"
|
|
|
|
rest_pat_in_fully_bound_structs = "deny"
|
|
|
|
redundant_type_annotations = "deny"
|
|
|
|
infinite_loop = "deny"
|
2024-08-09 23:08:56 +00:00
|
|
|
zero_repeat_side_effects = "deny"
|
2024-11-28 19:53:59 +00:00
|
|
|
non_zero_suggestions = "deny"
|
|
|
|
manual_is_power_of_two = "deny"
|
|
|
|
used_underscore_items = "deny"
|
2024-07-10 00:32:23 +00:00
|
|
|
|
|
|
|
# Warm
|
|
|
|
cast_possible_truncation = "deny"
|
|
|
|
cast_possible_wrap = "deny"
|
|
|
|
cast_precision_loss = "deny"
|
|
|
|
cast_sign_loss = "deny"
|
|
|
|
copy_iterator = "deny"
|
|
|
|
doc_markdown = "deny"
|
|
|
|
explicit_deref_methods = "deny"
|
|
|
|
explicit_iter_loop = "deny"
|
|
|
|
float_cmp = "deny"
|
|
|
|
fn_params_excessive_bools = "deny"
|
|
|
|
into_iter_without_iter = "deny"
|
|
|
|
iter_without_into_iter = "deny"
|
|
|
|
iter_not_returning_iterator = "deny"
|
|
|
|
large_digit_groups = "deny"
|
|
|
|
large_types_passed_by_value = "deny"
|
|
|
|
manual_assert = "deny"
|
|
|
|
maybe_infinite_iter = "deny"
|
|
|
|
missing_fields_in_debug = "deny"
|
|
|
|
needless_pass_by_value = "deny"
|
|
|
|
range_minus_one = "deny"
|
|
|
|
range_plus_one = "deny"
|
|
|
|
redundant_else = "deny"
|
|
|
|
ref_binding_to_reference = "deny"
|
|
|
|
return_self_not_must_use = "deny"
|
|
|
|
single_match_else = "deny"
|
|
|
|
string_add_assign = "deny"
|
|
|
|
transmute_ptr_to_ptr = "deny"
|
|
|
|
unchecked_duration_subtraction = "deny"
|
|
|
|
unnecessary_box_returns = "deny"
|
|
|
|
unnecessary_wraps = "deny"
|
|
|
|
branches_sharing_code = "deny"
|
|
|
|
fallible_impl_from = "deny"
|
|
|
|
missing_const_for_fn = "deny"
|
|
|
|
significant_drop_in_scrutinee = "deny"
|
|
|
|
significant_drop_tightening = "deny"
|
|
|
|
try_err = "deny"
|
|
|
|
lossy_float_literal = "deny"
|
|
|
|
let_underscore_must_use = "deny"
|
|
|
|
iter_over_hash_type = "deny"
|
|
|
|
get_unwrap = "deny"
|
|
|
|
error_impl_error = "deny"
|
|
|
|
empty_structs_with_brackets = "deny"
|
|
|
|
empty_enum_variants_with_brackets = "deny"
|
|
|
|
empty_drop = "deny"
|
|
|
|
clone_on_ref_ptr = "deny"
|
2024-09-02 17:10:45 +00:00
|
|
|
upper_case_acronyms = "deny"
|
2024-09-18 20:31:08 +00:00
|
|
|
allow_attributes = "deny"
|
2024-07-10 00:32:23 +00:00
|
|
|
|
|
|
|
# Hot
|
|
|
|
# inline_always = "deny"
|
|
|
|
# large_futures = "deny"
|
|
|
|
# large_stack_arrays = "deny"
|
|
|
|
# linkedlist = "deny"
|
|
|
|
# missing_errors_doc = "deny"
|
|
|
|
# missing_panics_doc = "deny"
|
|
|
|
# should_panic_without_expect = "deny"
|
|
|
|
# similar_names = "deny"
|
|
|
|
# too_many_lines = "deny"
|
|
|
|
# unreadable_literal = "deny"
|
|
|
|
# wildcard_imports = "deny"
|
|
|
|
# allow_attributes_without_reason = "deny"
|
|
|
|
# missing_assert_message = "deny"
|
|
|
|
# missing_docs_in_private_items = "deny"
|
2024-09-02 17:12:54 +00:00
|
|
|
undocumented_unsafe_blocks = "deny"
|
2024-07-10 00:32:23 +00:00
|
|
|
# multiple_unsafe_ops_per_block = "deny"
|
|
|
|
# single_char_lifetime_names = "deny"
|
|
|
|
# wildcard_enum_match_arm = "deny"
|
|
|
|
|
|
|
|
[workspace.lints.rust]
|
|
|
|
# Cold
|
2024-09-02 17:12:54 +00:00
|
|
|
future_incompatible = { level = "deny", priority = -1 }
|
|
|
|
nonstandard_style = { level = "deny", priority = -1 }
|
2024-07-10 00:32:23 +00:00
|
|
|
absolute_paths_not_starting_with_crate = "deny"
|
|
|
|
explicit_outlives_requirements = "deny"
|
2024-07-25 21:47:39 +00:00
|
|
|
keyword_idents_2018 = "deny"
|
|
|
|
keyword_idents_2024 = "deny"
|
2024-07-10 00:32:23 +00:00
|
|
|
missing_abi = "deny"
|
|
|
|
non_ascii_idents = "deny"
|
|
|
|
non_local_definitions = "deny"
|
2024-08-09 23:08:56 +00:00
|
|
|
redundant_lifetimes = "deny"
|
2024-07-10 00:32:23 +00:00
|
|
|
single_use_lifetimes = "deny"
|
|
|
|
trivial_casts = "deny"
|
|
|
|
trivial_numeric_casts = "deny"
|
|
|
|
unsafe_op_in_unsafe_fn = "deny"
|
|
|
|
unused_crate_dependencies = "deny"
|
|
|
|
unused_import_braces = "deny"
|
|
|
|
unused_lifetimes = "deny"
|
|
|
|
unused_macro_rules = "deny"
|
|
|
|
ambiguous_glob_imports = "deny"
|
|
|
|
unused_unsafe = "deny"
|
2024-11-28 19:53:59 +00:00
|
|
|
rust_2024_compatibility = "deny"
|
2024-07-10 00:32:23 +00:00
|
|
|
|
|
|
|
# Warm
|
2024-09-02 17:12:54 +00:00
|
|
|
let_underscore = { level = "deny", priority = -1 }
|
2024-07-10 00:32:23 +00:00
|
|
|
unreachable_pub = "deny"
|
|
|
|
unused_qualifications = "deny"
|
|
|
|
variant_size_differences = "deny"
|
2024-09-02 17:10:45 +00:00
|
|
|
non_camel_case_types = "deny"
|
2024-07-10 00:32:23 +00:00
|
|
|
|
|
|
|
# Hot
|
|
|
|
# unused_results = "deny"
|
|
|
|
# non_exhaustive_omitted_patterns = "deny"
|
|
|
|
# missing_docs = "deny"
|
2024-10-16 23:17:58 +00:00
|
|
|
# missing_copy_implementations = "deny"
|