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