theme-engine-ffi 0.6.2

C FFI bindings for theme-engine theme loading and style resolution
Documentation
  • Coverage
  • 56%
    14 out of 25 items documented0 out of 9 items with examples
  • Size
  • Source code size: 17.74 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.66 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 46s Average build duration of successful builds.
  • all releases: 44s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • hkimura-intersys

theme-engine-ffi

theme-engine-ffi exposes theme-engine to C hosts.

It supports:

  • loading built-in themes (theme_engine_theme_load_builtin)
  • loading JSON themes (theme_engine_theme_load_json)
  • resolving syntax capture styles (theme_engine_theme_resolve_capture)
  • resolving UI role styles (theme_engine_theme_resolve_ui) such as statusline, tab_active, selection
  • reading default terminal fg/bg (theme_engine_theme_default_terminal_colors) for terminal default-color integration (OSC 10/11)

See include/theme_engine_ffi.h for the C ABI.