mirror of
https://github.com/exo-explore/exo.git
synced 2025-12-23 22:27:50 -05:00
166 lines
3.9 KiB
TOML
166 lines
3.9 KiB
TOML
[workspace]
|
|
resolver = "3"
|
|
members = [
|
|
"rust/networking",
|
|
"rust/exo_pyo3_bindings",
|
|
"rust/system_custodian",
|
|
"rust/util",
|
|
]
|
|
|
|
[workspace.package]
|
|
version = "0.0.1"
|
|
edition = "2024"
|
|
|
|
[profile.dev]
|
|
opt-level = 1
|
|
debug = true
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
|
|
# Common shared dependendencies configured once at the workspace
|
|
# level, to be re-used more easily across workspace member crates.
|
|
#
|
|
# Common configurations include versions, paths, features, etc.
|
|
[workspace.dependencies]
|
|
## Crate members as common dependencies
|
|
networking = { path = "rust/networking" }
|
|
system_custodian = { path = "rust/system_custodian" }
|
|
util = { path = "rust/util" }
|
|
|
|
# Proc-macro authoring tools
|
|
syn = "2.0"
|
|
quote = "1.0"
|
|
proc-macro2 = "1.0"
|
|
darling = "0.20"
|
|
|
|
# Macro dependecies
|
|
extend = "1.2"
|
|
delegate = "0.13"
|
|
impl-trait-for-tuples = "0.2"
|
|
clap = "4.5"
|
|
derive_more = { version = "2.0.1", features = ["display"] }
|
|
pin-project = "1"
|
|
|
|
# Utility dependencies
|
|
itertools = "0.14"
|
|
thiserror = "2"
|
|
internment = "0.8"
|
|
recursion = "0.5"
|
|
regex = "1.11"
|
|
once_cell = "1.21"
|
|
thread_local = "1.1"
|
|
bon = "3.4"
|
|
generativity = "1.1"
|
|
anyhow = "1.0"
|
|
keccak-const = "0.2"
|
|
|
|
# Functional generics/lenses frameworks
|
|
frunk_core = "0.4"
|
|
frunk = "0.4"
|
|
frunk_utils = "0.2"
|
|
frunk-enum-core = "0.3"
|
|
|
|
# Async dependencies
|
|
tokio = "1.46"
|
|
futures = "0.3"
|
|
futures-util = "0.3"
|
|
futures-timer = "3.0"
|
|
|
|
# Data structures
|
|
either = "1.15"
|
|
ordered-float = "5.0"
|
|
ahash = "0.8"
|
|
|
|
# Tracing/logging
|
|
log = "0.4"
|
|
|
|
# networking
|
|
libp2p = "0.56"
|
|
libp2p-tcp = "0.44"
|
|
|
|
[workspace.lints.rust]
|
|
static_mut_refs = "warn" # Or use "warn" instead of deny
|
|
incomplete_features = "allow"
|
|
|
|
# Clippy's lint category level configurations;
|
|
# every member crate needs to inherit these by adding
|
|
#
|
|
# ```toml
|
|
# [lints]
|
|
# workspace = true
|
|
# ```
|
|
#
|
|
# to their `Cargo.toml` files
|
|
[workspace.lints.clippy]
|
|
# Clippy lint categories meant to be enabled all at once
|
|
correctness = { level = "deny", priority = -1 }
|
|
suspicious = { level = "warn", priority = -1 }
|
|
style = { level = "warn", priority = -1 }
|
|
complexity = { level = "warn", priority = -1 }
|
|
perf = { level = "warn", priority = -1 }
|
|
pedantic = { level = "warn", priority = -1 }
|
|
nursery = { level = "warn", priority = -1 }
|
|
cargo = { level = "warn", priority = -1 }
|
|
|
|
# Individual Clippy lints from the `restriction` category
|
|
arithmetic_side_effects = "warn"
|
|
as_conversions = "warn"
|
|
assertions_on_result_states = "warn"
|
|
clone_on_ref_ptr = "warn"
|
|
decimal_literal_representation = "warn"
|
|
default_union_representation = "warn"
|
|
deref_by_slicing = "warn"
|
|
disallowed_script_idents = "deny"
|
|
else_if_without_else = "warn"
|
|
empty_enum_variants_with_brackets = "warn"
|
|
empty_structs_with_brackets = "warn"
|
|
error_impl_error = "warn"
|
|
exit = "deny"
|
|
expect_used = "warn"
|
|
float_cmp_const = "warn"
|
|
get_unwrap = "warn"
|
|
if_then_some_else_none = "warn"
|
|
impl_trait_in_params = "warn"
|
|
indexing_slicing = "warn"
|
|
infinite_loop = "warn"
|
|
let_underscore_must_use = "warn"
|
|
let_underscore_untyped = "warn"
|
|
lossy_float_literal = "warn"
|
|
mem_forget = "warn"
|
|
missing_inline_in_public_items = "warn"
|
|
multiple_inherent_impl = "warn"
|
|
multiple_unsafe_ops_per_block = "warn"
|
|
mutex_atomic = "warn"
|
|
non_zero_suggestions = "warn"
|
|
panic = "warn"
|
|
partial_pub_fields = "warn"
|
|
pattern_type_mismatch = "warn"
|
|
pub_without_shorthand = "warn"
|
|
rc_buffer = "warn"
|
|
rc_mutex = "warn"
|
|
redundant_type_annotations = "warn"
|
|
renamed_function_params = "warn"
|
|
rest_pat_in_fully_bound_structs = "warn"
|
|
same_name_method = "warn"
|
|
self_named_module_files = "deny"
|
|
semicolon_inside_block = "warn"
|
|
shadow_same = "warn"
|
|
shadow_unrelated = "warn"
|
|
str_to_string = "warn"
|
|
string_add = "warn"
|
|
string_lit_chars_any = "warn"
|
|
string_to_string = "warn"
|
|
tests_outside_test_module = "warn"
|
|
todo = "warn"
|
|
try_err = "warn"
|
|
undocumented_unsafe_blocks = "warn"
|
|
unnecessary_safety_comment = "warn"
|
|
unnecessary_safety_doc = "warn"
|
|
unneeded_field_pattern = "warn"
|
|
unseparated_literal_suffix = "warn"
|
|
unused_result_ok = "warn"
|
|
unused_trait_names = "warn"
|
|
unwrap_used = "warn"
|
|
verbose_file_reads = "warn"
|