1project('unicode-ident-1-rs', 'rust', 2 meson_version: '>=1.5.0', 3 version: '1.0.12', 4 license: '(MIT OR Apache-2.0) AND Unicode-DFS-2016', 5 default_options: []) 6 7_unicode_ident_rs = static_library( 8 'unicode_ident', 9 files('src/lib.rs'), 10 gnu_symbol_visibility: 'hidden', 11 override_options: ['rust_std=2021', 'build.rust_std=2021'], 12 rust_abi: 'rust', 13 dependencies: [], 14 native: true, 15) 16 17unicode_ident_dep = declare_dependency( 18 link_with: _unicode_ident_rs, 19) 20 21meson.override_dependency('unicode-ident-1-rs', unicode_ident_dep, native: true) 22