ttf-parser 0.21.1

A high-level, safe, zero-allocation font parser for TrueType, OpenType, and AAT.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
project('ttf-parser', 'rust')

add_project_arguments(['--edition=2018'], language: 'rust')

ttf_parser = static_library('ttf_parser_capi', 'c-api/lib.rs', rust_crate_type: 'staticlib',
  link_with: static_library('ttf_parser', 'src/lib.rs'),
)

ttf_parser_dep = declare_dependency(
  link_with: ttf_parser,
  include_directories: 'c-api/',
)