Skip to content

Commit

Permalink
Added rustfmt to crypto-native
Browse files Browse the repository at this point in the history
  • Loading branch information
magnusbechwind committed Dec 12, 2023
1 parent 5a29547 commit c409ba0
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions crypto-jni/rustfmt.toml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c409ba0

Please sign in to comment.