Urgent.News

650+ sources. One page. See who else covered it.

Editions โ–พ

Tech

๐Ÿฃ Sushi RS: SVG Sushi Components for Rust Frontends.

Sup Guys ๐Ÿ‘‹! I am back! It has been a long time no see! So I came across the Frontend Challenge: Comfort Food Edition on dev.to , and I thought: "Hey, what if I build a Rust crate that lets you render SVG sushi directly in your WASM frontend? How hard can it be?" (Famous last words. The borrow checker immediately disagreed.) But spoiler: we made it . And so, Sushi RS was born. ๐Ÿฃ Why Sushi,โ€ฆ

Sushi RS is a Rust crate that enables rendering SVG sushi components directly in WASM frontends. It was created to address the Frontend Challenge: Comfort Food Edition on dev.to. The library is cross-framework, supporting Yew, Turbo, and Leptos. It allows rendering detailed, accessible sushi SVGs with a single component, featuring salmon gradients, nori weave patterns, red caviar rim decorations, and rice grain textures.

The main motivation behind Sushi RS is to promote open discussions about mental health, particularly the concept of "sushicide," a metaphor for the struggles faced by developers in the software engineering field. The library utilizes a framework-agnostic SVG string engine, with each shape renderer returning a plain String of SVG markup.

This shared SushiData struct drives the rendering process, encompassing various properties such as shape, state, view, ingredients, outer sheet, size, rice color, top edge decoration, and description.

Written by urgent.news from Dev.to's reporting โ€” not their text. Machine-written โ€” may contain errors; check the original before relying on it.

Read the original at dev.to โ†’

More in Tech

What ACTUALLY Happens When You Type a URL google.com

What ACTUALLY Happens When You Type a URL google.com "If youโ€™ve ever interviewed for a software engineering role, youโ€™ve probably been asked: 'What happens when you type google.com into a browser andโ€ฆ

  • Browser checks internal caches for Google's IP address
  • DNS resolution queries DNS hierarchy to find Google's IP
  • TCP connection established through three-way handshake

More from Sunday 16 August โ†’