diff --git a/Cargo.toml b/Cargo.toml index 68ab80425..895b306f6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ repository = "https://github.com/gemwalletcom/core" documentation = "https://github.com/gemwalletcom" [workspace] -resolver = "2" +resolver = "3" members = [ "apps/api", "apps/daemon", diff --git a/rustfmt.toml b/rustfmt.toml index 279211b1e..23899e350 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -1,3 +1,4 @@ edition = "2024" +style_edition = "2024" max_width = 180 reorder_imports = true diff --git a/skills/code-style.md b/skills/code-style.md index a9b51bcfa..bd29a0d90 100644 --- a/skills/code-style.md +++ b/skills/code-style.md @@ -4,7 +4,7 @@ Follow the existing code style patterns unless explicitly asked to change. ## Formatting -- Line length: 160 characters maximum (configured in `rustfmt.toml`) +- Line length: 180 characters maximum (configured in `rustfmt.toml`) - Indentation: 4 spaces (Rust standard) - Imports: Automatically reordered with rustfmt - Only format files you modified: `rustfmt --edition 2024 ...`