diff --git a/Cargo.toml b/Cargo.toml index c92476d..70ed1df 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -51,6 +51,7 @@ incremental = true [profile.release] lto = "fat" +incremental = true codegen-units = 1 # For releases also try to max optimizations for dependencies: @@ -58,3 +59,4 @@ codegen-units = 1 opt-level = 3 [profile.release.package."*"] opt-level = 3 + diff --git a/rustfmt.toml b/rustfmt.toml index 6e48dc7..8e8627b 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -1,4 +1,3 @@ -unstable_features = true binop_separator = "Front" blank_lines_lower_bound = 0 blank_lines_upper_bound = 1 @@ -50,6 +49,7 @@ reorder_imports = true reorder_modules = true report_fixme = "Always" report_todo = "Always" +required_version = "1.4.37" skip_children = false space_after_colon = true space_before_colon = false @@ -60,6 +60,7 @@ tab_spaces = 4 trailing_comma = "Vertical" trailing_semicolon = true type_punctuation_density = "Wide" +unstable_features = false use_field_init_shorthand = false use_small_heuristics = "Default" use_try_shorthand = false