From c409ba0286021311b6c910fa3b9afefdc945cac6 Mon Sep 17 00:00:00 2001 From: magnusbechwind Date: Tue, 12 Dec 2023 12:54:33 +0100 Subject: [PATCH] Added rustfmt to crypto-native --- crypto-jni/rustfmt.toml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 crypto-jni/rustfmt.toml diff --git a/crypto-jni/rustfmt.toml b/crypto-jni/rustfmt.toml new file mode 100644 index 000000000..c01b534a6 --- /dev/null +++ b/crypto-jni/rustfmt.toml @@ -0,0 +1,21 @@ +edition="2018" +combine_control_expr = false +wrap_comments = true +brace_style = "PreferSameLine" +enum_discrim_align_threshold = 20 +fn_single_line = true +format_strings = true +format_macro_matchers = true +format_macro_bodies = true +imports_granularity = "Crate" +normalize_comments = true +reorder_impl_items = true +reorder_imports = true +struct_field_align_threshold = 20 +trailing_semicolon = true +type_punctuation_density = "Wide" +use_field_init_shorthand = true +use_try_shorthand = true +format_code_in_doc_comments = true +overflow_delimited_expr = true +normalize_doc_attributes = true \ No newline at end of file