Strip unstable rustfmt, normalize to stable 1.94.1, fix burn refs#133
Merged
AdaWorldAPI merged 3 commits intomasterfrom May 1, 2026
Merged
Strip unstable rustfmt, normalize to stable 1.94.1, fix burn refs#133AdaWorldAPI merged 3 commits intomasterfrom
AdaWorldAPI merged 3 commits intomasterfrom
Conversation
Removed 14 unstable options (brace_style, indent_style, format_macro_bodies, skip_macro_invocations, etc.) that were silently ignored by stable rustfmt. Updated edition from 2018 to 2021. Stable config only. Co-authored-by: AdaWorldAPI <AdaWorldAPI@users.noreply.github.com>
One-time reformatting of 303 source files to match the stable-only rustfmt.toml. Primary changes: K&R brace style (was Allman), macro body formatting, import layout, line wrapping at 120 cols. No functional changes — whitespace only. Co-authored-by: AdaWorldAPI <AdaWorldAPI@users.noreply.github.com>
- Replace tracel-ai/burn git refs with AdaWorldAPI/burn@9b2b671 - Update submodule URL to AdaWorldAPI/burn - Exclude crates/burn from workspace (rand 0.10 vs 0.9 conflict) Burn is built standalone via `cargo check -p burn --manifest-path crates/burn/Cargo.toml` Co-authored-by: AdaWorldAPI <AdaWorldAPI@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
1.
rustfmt.toml— stable options onlyRemoved 14 unstable options that were silently ignored by stable rustfmt. Kept stable-only config:
edition = "2021",max_width = 120,fn_params_layout = "Compressed", etc.cargo fmt --all --checknow passes clean on stable 1.94.12. Codebase reformatted (303 files, whitespace only)
One-time normalization to stable rustfmt. Primary changes:
brace_style = "AlwaysNextLine")format_macro_bodies = false)3. Burn crate references fixed
tracel-ai/burn→AdaWorldAPI/burn@9b2b671incrates/burn/Cargo.toml.gitmodulescrates/burnexcluded from workspace resolver (rand 0.10vs workspacerand 0.9conflict)Verification
cargo fmt --all --check— 0 diffs (was 4473)cargo clippy --features native -- -D warnings— cleancargo test --lib -p ndarray— 1819 passed, 0 failed, 36 ignoredcargo check— workspace resolves cleanly