mirror of
https://github.com/logos-blockchain/logos-blockchain.git
synced 2026-07-31 19:43:11 +00:00
166 lines
8.7 KiB
TOML
166 lines
8.7 KiB
TOML
[package]
|
|
edition = "2021"
|
|
license = "MIT or Apache-2.0"
|
|
name = "nomos_proof_statements"
|
|
version = "0.1.0"
|
|
|
|
[dependencies]
|
|
crypto-bigint = { features = ["serde"], version = "0.5.5" }
|
|
groth16 = { path = "../../zk/groth16", default-features = false, features = ["deser"] }
|
|
num-bigint = { version = "0.4", default-features = false }
|
|
poseidon2 = { path = "../../zk/poseidon2", default-features = false }
|
|
serde = { features = ["derive"], version = "1.0" }
|
|
|
|
[lints.clippy]
|
|
|
|
# Nursery and allowed nursery warnings (new lints will warn by default)
|
|
nursery = { level = "warn", priority = -1 }
|
|
|
|
# Pedantic and allowed pedantic warnings (new lints will warn by default)
|
|
pedantic = { level = "warn", priority = -1 }
|
|
|
|
similar_names = { level = "allow" }
|
|
|
|
# Restriction and allowed restriction warnings (new lints will warn by default)
|
|
restriction = { level = "warn", priority = -1 }
|
|
|
|
absolute_paths = { level = "allow" }
|
|
alloc_instead_of_core = { level = "allow" }
|
|
arbitrary_source_item_ordering = { level = "allow" }
|
|
big_endian_bytes = { level = "allow" }
|
|
blanket_clippy_restriction_lints = { level = "allow" }
|
|
decimal_literal_representation = { level = "allow" }
|
|
default_numeric_fallback = { level = "allow" }
|
|
deref_by_slicing = { level = "allow" }
|
|
else_if_without_else = { level = "allow" }
|
|
exhaustive_enums = { level = "allow" }
|
|
exhaustive_structs = { level = "allow" }
|
|
exit = { level = "allow" }
|
|
expect_used = { level = "allow" }
|
|
field_scoped_visibility_modifiers = { level = "allow" }
|
|
float_arithmetic = { level = "allow" }
|
|
get_unwrap = { level = "allow" }
|
|
host_endian_bytes = { level = "allow" }
|
|
implicit_return = { level = "allow" }
|
|
integer_division_remainder_used = { level = "allow" }
|
|
iter_over_hash_type = { level = "allow" }
|
|
let_underscore_must_use = { level = "allow" }
|
|
let_underscore_untyped = { level = "allow" }
|
|
little_endian_bytes = { level = "allow" }
|
|
map_err_ignore = { level = "allow" }
|
|
min_ident_chars = { level = "allow" }
|
|
missing_asserts_for_indexing = { level = "allow" }
|
|
missing_docs_in_private_items = { level = "allow" }
|
|
missing_inline_in_public_items = { level = "allow" }
|
|
missing_trait_methods = { level = "allow" }
|
|
mixed_read_write_in_expression = { level = "allow" }
|
|
mod_module_files = { level = "allow" }
|
|
module_name_repetitions = { level = "allow" }
|
|
modulo_arithmetic = { level = "allow" }
|
|
panic = { level = "allow" }
|
|
panic_in_result_fn = { level = "allow" }
|
|
partial_pub_fields = { level = "allow" }
|
|
print_stderr = { level = "allow" }
|
|
print_stdout = { level = "allow" }
|
|
pub_use = { level = "allow" }
|
|
pub_with_shorthand = { level = "allow" }
|
|
question_mark_used = { level = "allow" }
|
|
self_named_module_files = { level = "allow" }
|
|
semicolon_inside_block = { level = "allow" }
|
|
single_call_fn = { level = "allow" }
|
|
single_char_lifetime_names = { level = "allow" }
|
|
std_instead_of_alloc = { level = "allow" }
|
|
std_instead_of_core = { level = "allow" }
|
|
struct_field_names = { level = "allow" }
|
|
unseparated_literal_suffix = { level = "allow" }
|
|
use_debug = { level = "allow" }
|
|
wildcard_enum_match_arm = { level = "allow" }
|
|
|
|
# TODO: Address these allow-by-default lints at some point by either allowing them permanently or enforce them, and move them to the relative section according to the decision.
|
|
arithmetic_side_effects = { level = "allow" }
|
|
as_conversions = { level = "allow" }
|
|
as_pointer_underscore = { level = "allow" }
|
|
as_underscore = { level = "allow" }
|
|
assertions_on_result_states = { level = "allow" }
|
|
cast_possible_truncation = { level = "allow" }
|
|
cast_possible_wrap = { level = "allow" }
|
|
cast_precision_loss = { level = "allow" }
|
|
cast_sign_loss = { level = "allow" }
|
|
error_impl_error = { level = "allow" }
|
|
impl_trait_in_params = { level = "allow" }
|
|
indexing_slicing = { level = "allow" }
|
|
infinite_loop = { level = "allow" }
|
|
integer_division = { level = "allow" }
|
|
large_stack_frames = { level = "allow" }
|
|
missing_assert_message = { level = "allow" }
|
|
missing_errors_doc = { level = "allow" }
|
|
missing_panics_doc = { level = "allow" }
|
|
pattern_type_mismatch = { level = "allow" }
|
|
redundant_test_prefix = { level = "allow" }
|
|
ref_patterns = { level = "allow" }
|
|
renamed_function_params = { level = "allow" }
|
|
same_name_method = { level = "allow" }
|
|
shadow_reuse = { level = "allow" }
|
|
shadow_same = { level = "allow" }
|
|
shadow_unrelated = { level = "allow" }
|
|
tests_outside_test_module = { level = "allow" }
|
|
todo = { level = "allow" }
|
|
unimplemented = { level = "allow" }
|
|
unreachable = { level = "allow" }
|
|
unwrap_in_result = { level = "allow" }
|
|
unwrap_used = { level = "allow" }
|
|
|
|
[lints.rust]
|
|
|
|
# Explicitly allowed lints
|
|
|
|
unused_crate_dependencies = { level = "allow" } # Too many false positives especially around benchmarking and binaries, which do not have their own `dependencies` section yet. Plus, we have cargo-machete checking unused deps.
|
|
unused_results = { level = "allow" } # We have Clippy lints to warn on unused `must_use` results. This is too pedantic as it complains on EVERY unused result.
|
|
|
|
# Lints which are allow-by-default but have been changed to "warn"
|
|
impl_trait_redundant_captures = { level = "warn" }
|
|
missing_unsafe_on_extern = { level = "warn" }
|
|
redundant_imports = { level = "warn" }
|
|
redundant_lifetimes = { level = "warn" }
|
|
single_use_lifetimes = { level = "warn" }
|
|
trivial_numeric_casts = { level = "warn" }
|
|
unsafe_attr_outside_unsafe = { level = "warn" }
|
|
unsafe_op_in_unsafe_fn = { level = "warn" }
|
|
unstable_features = { level = "warn" }
|
|
unused_extern_crates = { level = "warn" }
|
|
unused_import_braces = { level = "warn" }
|
|
unused_lifetimes = { level = "warn" }
|
|
unused_macro_rules = { level = "warn" }
|
|
unused_qualifications = { level = "warn" }
|
|
|
|
# TODO: Address these allow-by-default Rustc lints at some point by either allowing them permanently or enforce them, and move them to the relative section according to the decision.
|
|
# When doing so, please update the same table for all crates that are not part of the workspace.
|
|
absolute_paths_not_starting_with_crate = { level = "allow" }
|
|
ambiguous_negative_literals = { level = "allow" }
|
|
closure_returning_async_block = { level = "allow" }
|
|
deprecated_safe_2024 = { level = "allow" }
|
|
deref_into_dyn_supertrait = { level = "allow" }
|
|
edition_2024_expr_fragment_specifier = { level = "allow" }
|
|
elided_lifetimes_in_paths = { level = "allow" }
|
|
ffi_unwind_calls = { level = "allow" }
|
|
impl_trait_overcaptures = { level = "allow" }
|
|
let_underscore_drop = { level = "allow" }
|
|
linker_messages = { level = "allow" }
|
|
macro_use_extern_crate = { level = "allow" }
|
|
missing_copy_implementations = { level = "allow" }
|
|
missing_debug_implementations = { level = "allow" }
|
|
missing_docs = { level = "allow" }
|
|
rust_2021_incompatible_closure_captures = { level = "allow" }
|
|
rust_2021_incompatible_or_patterns = { level = "allow" }
|
|
rust_2021_prefixes_incompatible_syntax = { level = "allow" }
|
|
rust_2021_prelude_collisions = { level = "allow" }
|
|
rust_2024_guarded_string_incompatible_syntax = { level = "allow" }
|
|
rust_2024_incompatible_pat = { level = "allow" }
|
|
rust_2024_prelude_collisions = { level = "allow" }
|
|
tail_expr_drop_order = { level = "allow" }
|
|
trivial_casts = { level = "allow" }
|
|
unit_bindings = { level = "allow" }
|
|
unreachable_pub = { level = "allow" }
|
|
unsafe_code = { level = "allow" }
|
|
variant_size_differences = { level = "allow" }
|