diff --git a/clippy.toml b/clippy.toml new file mode 100644 index 000000000..a6bfdbf92 --- /dev/null +++ b/clippy.toml @@ -0,0 +1 @@ +# DOC_LAZY_CONTINUATION = "allowed" diff --git a/framework/cached-packages/Cargo.toml b/framework/cached-packages/Cargo.toml index b5ffd289c..56ebdaca4 100644 --- a/framework/cached-packages/Cargo.toml +++ b/framework/cached-packages/Cargo.toml @@ -20,3 +20,7 @@ once_cell = { workspace = true } [build-dependencies] libra-framework = { workspace = true } + +[features] +# hack. the framework sdk generated code inserts this feature +fuzzing = [] diff --git a/framework/cached-packages/src/libra_framework_sdk_builder.rs b/framework/cached-packages/src/libra_framework_sdk_builder.rs index a3bae1d52..a8d79e314 100644 --- a/framework/cached-packages/src/libra_framework_sdk_builder.rs +++ b/framework/cached-packages/src/libra_framework_sdk_builder.rs @@ -13,6 +13,8 @@ #![allow(dead_code)] #![allow(unused_imports)] #![allow(clippy::too_many_arguments)] +#![allow(clippy::doc_lazy_continuation)] + use diem_types::{ account_address::AccountAddress, transaction::{EntryFunction, TransactionPayload},