hlight_assets/lib.rs
1#![no_std]
2#![cfg_attr(__unstable_doc, feature(doc_auto_cfg, doc_notable_trait))]
3//! Provides preset syntax and theme sets for hlight.
4//!
5//! Note: This library requires hlight to function properly.
6#[cfg(feature = "syntax-set")]
7pub const SUBLIME_SYNTAXES: &[u8] = include_bytes!(concat!(
8 env!("CARGO_MANIFEST_DIR"),
9 "/assets/set/syntax.packdump"
10));
11
12#[cfg(feature = "theme-set")]
13pub const THEME_SET: &[u8] = include_bytes!(concat!(
14 env!("CARGO_MANIFEST_DIR"),
15 "/assets/set/theme.packdump"
16));