From 791b5135f4226decb3b2014a886d74cb45827ca3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iwo=20Strzebo=C5=84ski?= Date: Sat, 29 Aug 2026 08:13:54 +0000 Subject: [PATCH] Replace em dashes with hyphens across docs and comments --- README.md | 4 ++-- packages/rust-core/src/gcode.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 53d3de9..ee82ebc 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Shared, dependency-light building blocks used across the Continuum cloud and edg ## Packages -- **`packages/ts-core`** — TypeScript package consumed by `continuum-backend` (and other Bun/Node services). Provides a structured logger, a Supabase JWT verification helper, and ElysiaJS-compatible HTTP error transformers. -- **`packages/rust-core`** — Rust crate consumed by `continuum-proxy` and `continuum-ai-worker`. Provides a shared `thiserror`-based error type, `tracing` initialization, and G-code checksum/header parsing helpers. +- **`packages/ts-core`** - TypeScript package consumed by `continuum-backend` (and other Bun/Node services). Provides a structured logger, a Supabase JWT verification helper, and ElysiaJS-compatible HTTP error transformers. +- **`packages/rust-core`** - Rust crate consumed by `continuum-proxy` and `continuum-ai-worker`. Provides a shared `thiserror`-based error type, `tracing` initialization, and G-code checksum/header parsing helpers. Each package is versioned and published independently; see their own READMEs (inline doc comments) for usage. diff --git a/packages/rust-core/src/gcode.rs b/packages/rust-core/src/gcode.rs index fb28341..ae3b751 100644 --- a/packages/rust-core/src/gcode.rs +++ b/packages/rust-core/src/gcode.rs @@ -1,7 +1,7 @@ use crate::error::{Error, Result}; use std::collections::BTreeMap; -/// XORs every byte together — the standard Marlin/RepRap G-code checksum. +/// XORs every byte together - the standard Marlin/RepRap G-code checksum. /// Covers everything before the `*`, including a leading `N ` line number /// if present. pub fn compute_checksum(data: &[u8]) -> u8 { @@ -38,7 +38,7 @@ pub fn append_checksum(line: &str) -> String { /// settings this way at the top of the file. /// /// This only handles that one format. Real slicer output has more variety -/// (Cura's `;KEY:value` style, free-form "generated by ..." comments) — +/// (Cura's `;KEY:value` style, free-form "generated by ..." comments) - /// add support for those once this simple version makes sense. pub fn parse_header(gcode: &str) -> BTreeMap { let mut fields = BTreeMap::new();