Krolyxon
Commit b8f66f4

Branches

Tags

Refs →

bench51b8f66f4

README: add badges; forbid unsafe code in the workspace

The crates had no unsafe code; the workspace lint keeps it that way and
backs the 'unsafe forbidden' badge.
Author
krolyxon
Date
2026-10-31 23:38 +0530
Parent
35ed5a3
Commit
b8f66f4e162db99c5f37bf967b21d09e53bd79fd

+24 −0

4 files changed

  1. M Cargo.toml +6 −0
  2. M README.md +12 −0
  3. M crates/bench51-core/Cargo.toml +3 −0
  4. M crates/bench51-gui/Cargo.toml +3 −0
M Cargo.toml View
@@ -5,6 +5,9 @@ members = ["crates/*"]
55 version = "0.1.0"
66 edition = "2024"
77
8+[workspace.lints.rust]
9+unsafe_code = "forbid"
10+
811 [workspace.dependencies]
912 bench51-core = { path = "crates/bench51-core" }
1013 clap = { version = "4.5.54", features = ["derive"] }
@@ -21,6 +24,9 @@ clap.workspace = true
2124 ratatui = "0.30"
2225 ratatui-textarea = "0.9"
2326
27+[lints]
28+workspace = true
29+
2430 # egui and wgpu are unusably slow without optimisation; keep our own crates
2531 # quick to rebuild.
2632 [profile.dev.package."*"]
M README.md View
@@ -1,5 +1,17 @@
11 # bench51 — an 8051 assembler, simulator & debugger
22
3+[![CI](https://img.shields.io/github/actions/workflow/status/krolyxon/bench51/ci.yml?branch=master&style=flat-square&label=CI&labelColor=000000)](https://github.com/krolyxon/bench51/actions/workflows/ci.yml)
4+[![Version](https://img.shields.io/badge/dynamic/toml?url=https%3A%2F%2Fraw.githubusercontent.com%2Fkrolyxon%2Fbench51%2Fmaster%2FCargo.toml&query=%24.workspace.package.version&label=version&style=flat-square&labelColor=000000&color=333333)](Cargo.toml)
5+[![Top language](https://img.shields.io/github/languages/top/krolyxon/bench51?style=flat-square&logo=rust&logoColor=white&labelColor=000000&color=333333)](https://github.com/krolyxon/bench51)
6+[![Lines of code](https://img.shields.io/badge/lines%20of%20code-9.8k-333333?style=flat-square&labelColor=000000)](crates)
7+[![unsafe forbidden](https://img.shields.io/badge/unsafe-forbidden-333333?style=flat-square&labelColor=000000)](Cargo.toml)
8+[![License](https://img.shields.io/github/license/krolyxon/bench51?style=flat-square&labelColor=000000&color=333333)](LICENSE)
9+[![Platforms](https://img.shields.io/badge/platform-Linux%20%7C%20Windows%20%7C%20macOS-333333?style=flat-square&labelColor=000000)](#usage)
10+[![Target](https://img.shields.io/badge/target-Intel%208051%20%28MCS--51%29-D71921?style=flat-square&labelColor=000000)](https://en.wikipedia.org/wiki/Intel_8051)
11+[![egui](https://img.shields.io/badge/GUI-egui-333333?style=flat-square&labelColor=000000)](https://github.com/emilk/egui)
12+[![ratatui](https://img.shields.io/badge/TUI-ratatui-333333?style=flat-square&labelColor=000000)](https://ratatui.rs)
13+[![Last commit](https://img.shields.io/github/last-commit/krolyxon/bench51?style=flat-square&labelColor=000000&color=333333)](https://github.com/krolyxon/bench51/commits)
14+
315 A small, Keil µVision-style IDE for the Intel 8051. Write assembly in the
416 editor, build it, inspect the listing and Intel HEX output, then run, pause
517 and single-step the program while watching registers, SFRs, memory, ports,
M crates/bench51-core/Cargo.toml View
@@ -5,3 +5,6 @@ edition.workspace = true
55 description = "Intel 8051 assembler, simulator and debugger session shared by the bench51 front ends"
66
77 [dependencies]
8+
9+[lints]
10+workspace = true
M crates/bench51-gui/Cargo.toml View
@@ -19,3 +19,6 @@ eframe = { version = "0.37", default-features = false, features = [
1919 egui_tiles = { version = "0.18", features = ["serde"] }
2020 rfd = "0.17"
2121 serde = { version = "1", features = ["derive"] }
22+
23+[lints]
24+workspace = true