1project( 2 'pest', 3 'rust', 4 version : '2.7.11', 5 license :'MIT OR Apache-2.0', 6) 7 8ucd = subproject('ucd-trie').get_variable('lib') 9 10lib = static_library( 11 'pest', 12 'src/lib.rs', 13 override_options : ['rust_std=2021', 'build.rust_std=2021'], 14 link_with : [ucd], 15 rust_abi : 'rust', 16 native : true, 17) 18 19dep_pest = declare_dependency( 20 link_with : [lib, ucd], 21) 22