Tidy Rust based on new style guide (#391)

Tracking based off #325

Reviewed-on: https://codeberg.org/small-hack/open-slopware/pulls/391
Reviewed-by: JesseBot <jessebot@noreply.codeberg.org>
Co-authored-by: matu6968 <wierzejskimateusz8@gmail.com>
Co-committed-by: matu6968 <wierzejskimateusz8@gmail.com>
This commit is contained in:
matu6968 2026-04-16 13:59:03 +02:00 committed by JesseBot
commit 69a00eeb84
2 changed files with 16 additions and 14 deletions

View file

@ -543,20 +543,22 @@ Note that Python is itself tainted; see [the Programming Languages section](#pro
### Rust
| Name | Alternative(s) | Evidence | Notes |
|---|---|---|---|
| [`c2rust`](https://github.com/immunant/c2rust) | | [Statement from developer](https://github.com/immunant/c2rust/issues/1653#issuecomment-4035773395)<br />[`postprocess`](https://github.com/immunant/c2rust/tree/master/c2rust-postprocess) component uses LLMs<br/>[PR](https://github.com/immunant/c2rust/pull/1614) made with AI
| [`egui`](https://github.com/emilk/egui) | [imgui](https://github.com/imgui-rs/imgui-rs), [relm](https://github.com/antoyo/relm), [iced](https://github.com/iced-rs/iced) | [Claude commit](https://github.com/emilk/egui/commit/f3611e3e5a448ba8a96cb880ea3a29245bb3a2d2) |
| [`facet`](https://github.com/facet-rs/facet) | Use more specific deserialization libraries and avoid macros that slow things down anyway. [`serde`](https://serde.rs) itself is [tainted by its Palantir-defending author](https://archive.ph/fe9g5). [`nanoserde`](https://github.com/not-fl3/nanoserde) could be suitable for certain use cases. | [Core developer openly uses LLMs for library dev](https://archive.ph/YhcOh) | |
| [`ratatui`](https://github.com/ratatui/ratatui) | [`iocraft`] (<=0.7.17) and [`cursive`]. [`console`] and its family of libraries may also be enough for some use cases. | [Core developer has stated their use of AI for rust code](https://github.com/ratatui/ratatui/discussions/2201) | |
| [`iocraft`] | An older version (<=0.7.17, prior to [Feb 12, 2026](https://github.com/ccbrown/iocraft/commit/1daff8bdef6d6c0f0ceeb89d0308b1990a5fa428)); [`cursive`] and [`console`] | Contains [commits from Claude](https://github.com/ccbrown/iocraft/commits?author=domenkozar) | |
| [rust-analyzer](https://github.com/rust-lang/rust-analyzer) | cargo check | [Allows AI contributions](https://github.com/rust-lang/rust-analyzer/pull/21314/changes) and [has Claude rules](https://github.com/rust-lang/rust-analyzer/blob/master/CLAUDE.md) | |
| [`wgpu`](https://github.com/gfx-rs/wgpu) | [`vulcano`](https://github.com/vulkano-rs/vulkano), [`ash`](https://github.com/ash-rs/ash), [`glow`](https://github.com/grovesnl/glow) | Explicitly [allowed in CONTRIBUTING.md](https://github.com/gfx-rs/wgpu?tab=contributing-ov-file#llms-ai), [LLM instructions](https://github.com/gfx-rs/wgpu/commit/bed71efe59e2360c625163c28c70de598dee41b7) added according to a decision by the maintainers in [this issue](https://github.com/gfx-rs/wgpu/issues/8834) |
| [`zbus`](https://github.com/z-galaxy/zbus) | | [CLAUDE.md](https://github.com/z-galaxy/zbus/blob/78f786cad319f9027a9893f73aa862ed2f4b45cd/CLAUDE.md), [core developer talking about their AI policy](https://matrix.to/#/!uSaWOSkfhbBXoCCxYe:matrix.org/$6frxoLIKKBIE7ejJr3OJk9jn_nSTl_B5a2poK4lxDjo?via=matrix.org&via=gnome.org&via=mozilla.org) ([screenshot](./evidence/img/zbus.png)) |
| [`zerocopy`](https://github.com/google/zerocopy) | | [Commits from Jules](https://github.com/google/zerocopy/commits?author=google-labs-jules%5Bbot%5D) and [AGENTS.md](https://github.com/google/zerocopy/blob/1834846b5aa8e2d95f9ec810f7b8e6e26909cb2e/AGENTS.md) | |
| Name | Last Untainted Version or Commit ID | Tags and Evidence | Alternative(s) |
|---|:---:|---|---|
| [`c2rust`](https://github.com/immunant/c2rust) | [`0.21.0`](https://github.com/immunant/c2rust/tree/v0.21.0) | [![Permissive AI policy](./badges/permissive-ai-policy-orange.svg)](#permissive-ai-policy) ([1](https://github.com/immunant/c2rust/issues/1653#issuecomment-4035773395),[2](https://github.com/immunant/c2rust/pull/1614)) <br /> [![AI Functionality](./badges/ai-functionality-yellow.svg)](#ai-functionality) ([1](https://github.com/immunant/c2rust/tree/master/c2rust-postprocess)) <br /> [![AI Code Reviews](./badges/ai-code-reviews-purple.svg)](https://codeberg.org/small-hack/open-slopware#ai-code-reviews) ([1](https://github.com/immunant/c2rust/pull/1664),[2](https://github.com/immunant/c2rust/pull/1595),[3](https://github.com/immunant/c2rust/pull/1587))| [![Request for Help](./badges/request-for-help.svg)](#request-for-help) |
| [`egui`](https://github.com/emilk/egui) | [`0.31.1`](https://github.com/emilk/egui/tree/0.31.1) | [![Permissive AI policy](./badges/permissive-ai-policy-orange.svg)](#permissive-ai-policy) ([1](https://github.com/emilk/egui/commit/f3611e3e5a448ba8a96cb880ea3a29245bb3a2d2),[2](https://github.com/emilk/egui/pull/8088),[3](https://github.com/emilk/egui/pull/8031)) <br /> [![AI Code Reviews](./badges/ai-code-reviews-purple.svg)](https://codeberg.org/small-hack/open-slopware#ai-code-reviews) ([1](https://github.com/emilk/egui/pull/7948),[2](https://github.com/emilk/egui/pull/7617),[3](https://github.com/emilk/egui/pull/7577)) | [imgui](https://github.com/imgui-rs/imgui-rs), [relm](https://github.com/antoyo/relm), [iced](https://github.com/iced-rs/iced) |
| [`facet`](https://github.com/facet-rs/facet) | [`cad0de9`](https://github.com/facet-rs/facet/commit/cad0de9b14ce6a4b9a24018260b28998b4dd18c9) as Shapely before it got rebranded to `facet-rs` | [![Permissive AI policy](./badges/permissive-ai-policy-orange.svg)](https://codeberg.org/small-hack/open-slopware#permissive-ai-policy) ([1](https://archive.ph/YhcOh),[2](https://github.com/facet-rs/facet/pull/1607),[3](https://github.com/facet-rs/facet/pull/1465)) <br /> [![AI Code Reviews](./badges/ai-code-reviews-purple.svg)](https://codeberg.org/small-hack/open-slopware#ai-code-reviews) ([1](https://github.com/facet-rs/facet/pull/2170),[2](https://github.com/facet-rs/facet/pull/2127),[3](https://github.com/facet-rs/facet/pull/2109)) | [`serde`](https://serde.rs) (note: [tainted by its Palantir-defending author](https://archive.ph/fe9g5)), [`nanoserde`](https://github.com/not-fl3/nanoserde) <br /> If possible avoid all-in-one libraries for deserialization and avoid macros that slow things down. |
| [`ratatui`](https://github.com/ratatui/ratatui) | [`0.29.0`](https://github.com/ratatui/ratatui/tree/v0.29.0) | [![Permissive AI policy](./badges/permissive-ai-policy-orange.svg)](#permissive-ai-policy) ([1](https://github.com/ratatui/ratatui/discussions/2201),[2](https://github.com/ratatui/ratatui/pull/2308)) <br /> [![AI Code Reviews](./badges/ai-code-reviews-purple.svg)](https://codeberg.org/small-hack/open-slopware#ai-code-reviews) ([1](https://github.com/ratatui/ratatui/pull/1998),[2](https://github.com/ratatui/ratatui/pull/1490)) | [`iocraft`] (<=0.7.17), [`cursive`], [`console`] |
| [`iocraft`] | [`0.7.17`](https://github.com/ccbrown/iocraft/tree/iocraft-v0.7.17) | [![Permissive AI policy](./badges/permissive-ai-policy-orange.svg)](#permissive-ai-policy) ([1](https://github.com/ccbrown/iocraft/commit/1daff8bdef6d6c0f0ceeb89d0308b1990a5fa428),[2](https://github.com/ccbrown/iocraft/commits?author=domenkozar)) <br /> [![AI Code Reviews](./badges/ai-code-reviews-purple.svg)](https://codeberg.org/small-hack/open-slopware#ai-code-reviews) ([1](https://github.com/ccbrown/iocraft/pull/98), [2](https://github.com/ccbrown/iocraft/pull/70)) | [`cursive`] and [`console`] |
| [rust-analyzer](https://github.com/rust-lang/rust-analyzer) | [![Request for Help](./badges/request-for-help.svg)](#request-for-help) | [![Permissive AI policy](./badges/permissive-ai-policy-orange.svg)](https://codeberg.org/small-hack/open-slopware#permissive-ai-policy) ([1](https://github.com/rust-lang/rust-analyzer/pull/21314/changes),[2](https://github.com/rust-lang/rust-analyzer/blob/master/CLAUDE.md)) <br /> [![AI Code Reviews](./badges/ai-code-reviews-purple.svg)](https://codeberg.org/small-hack/open-slopware#ai-code-reviews) ([1](https://github.com/rust-lang/rust-analyzer/pull/21968),[2](https://github.com/rust-lang/rust-analyzer/pull/21957),[3](https://github.com/rust-lang/rust-analyzer/pull/21750)) | cargo check |
| [`wgpu`](https://github.com/gfx-rs/wgpu) | [![Request for Help](./badges/request-for-help.svg)](#request-for-help) | [![Permissive AI policy](./badges/permissive-ai-policy-orange.svg)](https://codeberg.org/small-hack/open-slopware#permissive-ai-policy) ([1](https://github.com/gfx-rs/wgpu?tab=contributing-ov-file#llms-ai), [2](https://github.com/gfx-rs/wgpu/commit/bed71efe59e2360c625163c28c70de598dee41b7), [3](https://github.com/gfx-rs/wgpu/pull/9141)) <br /> [![AI Code Reviews](./badges/ai-code-reviews-purple.svg)](https://codeberg.org/small-hack/open-slopware#ai-code-reviews) ([1](https://github.com/gfx-rs/wgpu/pull/9364),[2](https://github.com/gfx-rs/wgpu/pull/9089),[3](https://github.com/gfx-rs/wgpu/pull/8821))| [`vulcano`](https://github.com/vulkano-rs/vulkano), [`ash`](https://github.com/ash-rs/ash), [`glow`](https://github.com/grovesnl/glow) |
| [`zbus`](https://github.com/z-galaxy/zbus) | [![Request for Help](./badges/request-for-help.svg)](#request-for-help) | [![Permissive AI policy](./badges/permissive-ai-policy-orange.svg)](https://codeberg.org/small-hack/open-slopware#permissive-ai-policy) ([1](https://github.com/z-galaxy/zbus/blob/78f786cad319f9027a9893f73aa862ed2f4b45cd/CLAUDE.md), [2](https://github.com/z-galaxy/zbus/pull/1761)) <br /> [![AI Code Reviews](./badges/ai-code-reviews-purple.svg)](https://codeberg.org/small-hack/open-slopware#ai-code-reviews) ([1](https://github.com/z-galaxy/zbus/pull/1660)) | [![Request for Help](./badges/request-for-help.svg)](#request-for-help) |
| [`zerocopy`](https://github.com/google/zerocopy) | [![Request for Help](./badges/request-for-help.svg)](#request-for-help) |[![Permissive AI policy](./badges/permissive-ai-policy-orange.svg)](https://codeberg.org/small-hack/open-slopware#permissive-ai-policy) ([1](https://github.com/google/zerocopy/commits?author=google-labs-jules%5Bbot%5D),[2](https://github.com/google/zerocopy/blob/1834846b5aa8e2d95f9ec810f7b8e6e26909cb2e/AGENTS.md)) | [![Request for Help](./badges/request-for-help.svg)](#request-for-help) |
Also, there is an advisory database of Rust slopware crates, which you can use in tools like
[cargo-deny](https://embarkstudios.github.io/cargo-deny): <https://codeberg.org/1millibyte/rust-slopdb>.
> [!Note]
>
> Also, there is an advisory database of Rust slopware crates, which you can use in tools like
> [cargo-deny](https://embarkstudios.github.io/cargo-deny): <https://codeberg.org/1millibyte/rust-slopdb>.
## Game Engines

Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 KiB