subprojects/packagefiles/equivalent-1-rs/meson.build
raw| 1 | project( |
| 2 | 'equivalent', |
| 3 | 'rust', |
| 4 | version : '1.0.1', |
| 5 | license : 'MIT OR Apache-2.0', |
| 6 | meson_version : '>= 1.7.0', |
| 7 | ) |
| 8 | |
| 9 | lib = static_library( |
| 10 | 'equivalent', |
| 11 | 'src/lib.rs', |
| 12 | override_options : ['rust_std=2015', 'build.rust_std=2015', 'warning_level=0'], |
| 13 | rust_abi : 'rust', |
| 14 | native : true, |
| 15 | ) |
| 16 | |
| 17 | dep_equivalent = declare_dependency( |
| 18 | link_with : [lib], |
| 19 | ) |