1project('quote-1-rs', 'rust', 2 meson_version: '>=1.5.0', 3 version: '1.12.0', 4 license: 'MIT OR Apache-2.0', 5 default_options: []) 6 7subproject('proc-macro2-1-rs', required: true) 8 9proc_macro2_dep = dependency('proc-macro2-1-rs', native: true) 10 11_quote_rs = static_library( 12 'quote', 13 files('src/lib.rs'), 14 gnu_symbol_visibility: 'hidden', 15 override_options: ['rust_std=2021', 'build.rust_std=2021'], 16 rust_abi: 'rust', 17 rust_args: [ 18 '--cfg', 'feature="proc-macro"', 19 ], 20 dependencies: [ 21 proc_macro2_dep, 22 ], 23 native: true, 24) 25 26quote_dep = declare_dependency( 27 link_with: _quote_rs, 28) 29 30meson.override_dependency('quote-1-rs', quote_dep, native: true) 31