22 lines
368 B
Meson
22 lines
368 B
Meson
![]() |
project(
|
||
|
'pest',
|
||
|
'rust',
|
||
|
version : '2.7.11',
|
||
|
license :'MIT OR Apache-2.0',
|
||
|
)
|
||
|
|
||
|
ucd = subproject('ucd-trie').get_variable('lib')
|
||
|
|
||
|
lib = static_library(
|
||
|
'pest',
|
||
|
'src/lib.rs',
|
||
|
override_options : ['rust_std=2021', 'build.rust_std=2021'],
|
||
|
link_with : [ucd],
|
||
|
rust_abi : 'rust',
|
||
|
native : true,
|
||
|
)
|
||
|
|
||
|
dep_pest = declare_dependency(
|
||
|
link_with : [lib, ucd],
|
||
|
)
|