update with naming scheme

This commit is contained in:
Brent Schroeter 2026-01-25 23:35:05 +00:00
parent 0950610f90
commit d37f346793
2 changed files with 4 additions and 6 deletions

View file

@ -1,11 +1,9 @@
use giallo::{HighlightOptions, HtmlRenderer, Registry, RenderOptions, ThemeVariant};
mod bindings {
//! Generated code derived from the Giallo-JS `world.wit` definition.
//! Generated code derived from the `giallo-js.wit` definition.
wit_bindgen::generate!({
path: "wit/world.wit",
});
wit_bindgen::generate!({ path: "wit/giallo-js.wit" });
use super::GialloJsComponent;
export!(GialloJsComponent);
@ -13,7 +11,7 @@ mod bindings {
struct GialloJsComponent;
impl bindings::exports::docs::giallo_js::syntax_highlighter::Guest for GialloJsComponent {
impl bindings::exports::brentsch::giallo_js::syntax_highlighter::Guest for GialloJsComponent {
/// Rudimentary Wasm adapter around the basic
/// [Giallo usage example](https://github.com/getzola/giallo/blob/a86755836dc4387056432f63f0b37b2c04b52711/examples/basic.rs).
fn render_highlighted(

View file

@ -1,4 +1,4 @@
package docs:giallo-js@0.0.1;
package brentsch:giallo-js@0.0.1;
interface syntax-highlighter {
render-highlighted: func(