rusty_symbols is an open-source Unicode glyph toolkit for any Rust UI -- semantically named constants + VS15 presentation pinning -- pure Rust. Application
.rsfiles stay ASCII; glyphs never scatter as raw literals that Windows-1252 round-trips can mojibake. By default installsrusty_alloc(opt out below). Sibling ofrusty_tokensandrusty_a11y.
Status -- v0.1.0. Pin
rusty_symbols = "0.1"from crates.io (or git tagv0.1.0). Core isno_std/ wasm-checked.
One immune source of truth. Glyphs live once, as ASCII source.
| Dimension | Scattered literals | rusty_symbols | Goal |
|---|---|---|---|
| Mojibake-proof source | every file is a site | ASCII \u{...} escapes |
structural |
| Naming | raw codepoints | semantic modules | maintain |
| Presentation (WebView) | platform-dependent | VS15 pinned glyphs | uniform |
| Allocator | system / C | rusty_alloc by default |
opt-out |
| Dependencies | -- | none when opted out | maintain |
| License | mixed | MIT | -- |
rusty_symbols = "0.1"
# bring your own allocator:
# rusty_symbols = { version = "0.1", default-features = false }
# hardened allocator:
# rusty_symbols = { version = "0.1", features = ["secure"] }| Feature | Default | Provides |
|---|---|---|
rusty-alloc |
yes | rusty_alloc via rusty_alloc_default |
secure |
no | enables rusty-alloc + guard pages / encrypted free lists |
Combining with rusty_tokens / rusty_a11y defaults is safe -- all three share
one rusty_alloc_default link. Libraries and mata-alloc apps must set
default-features = false.
MSRV: 1.73.
use rusty_symbols::{nav, status};
fn label_ok() -> String {
format!("{} ready", status::OK)
}cargo test
cargo test --no-default-features- status -- ok / fail / warn / timer / alarm / live / play / stop.
- nav -- arrows, hooks, branch, collapse (VS15 on triangles).
- structure -- horizontal rule, tree tee / corner.
- math -- gte / lte / approx / times.
- list -- bullet / middot.
- rusty_alloc -- on by default;
securefor hardening.
| Platform | Status |
|---|---|
| Windows | yes |
| macOS | yes |
| Linux | yes |
| Web (Dioxus / browsers) | yes |
WASM (wasm32-unknown-unknown) |
yes (no_std; default rusty_alloc covers the heap) |
Remade With Rust (Mata Network) rebuilds essential tooling in Rust -- memory safety, predictable performance, permissive license.
-> github.com/remade-with-rust
Family: rusty_symbols · rusty_tokens · rusty_a11y
MIT -- LICENSE-MIT.
"Remade With Rust", "Mata", and "Mata Network" are marks of Mata Network.