···2828pin-project = "1.1.10"
2929dynosaur = "0.2.0"
3030async-trait = "0.1.88"
3131+smol_str = { version = "0.3", features = ["serde"] }
3132reqwest = { version = "0.12.7", default-features = false, features = [
3233 "json",
3334 "rustls-tls",
+2-2
crates/weaver-renderer/src/code_pretty.rs
···99/// This requires an external stylesheet, also generated by syntect to be loaded by the page.
1010/// The syntect SyntaxSet is also provided, so that it is not re-created on every call.
1111pub fn highlight<M>(
1212- syn_set: SyntaxSet,
1212+ syn_set: &SyntaxSet,
1313 lang: Option<&str>,
1414 code: impl AsRef<str>,
1515 writer: &mut M,
···33333434 let mut html_gen = ClassedHTMLGenerator::new_with_class_style(
3535 lang_syn,
3636- &syn_set,
3636+ syn_set,
3737 ClassStyle::SpacedPrefixed { prefix: CSS_PREFIX },
3838 );
3939 for line in LinesWithEndings::from(code.as_ref()) {
···2727pub mod atproto;
2828pub mod base_html;
2929pub mod code_pretty;
3030+pub mod css;
3031pub mod static_site;
3232+pub mod theme;
3133pub mod types;
3234pub mod utils;
3335pub mod walker;