forked from gentoo-utils/gentoo-utils
21 lines
475 B
Meson
21 lines
475 B
Meson
project(
|
|
'gentoo-utils',
|
|
'rust',
|
|
meson_version: '>=1.9.1',
|
|
default_options: {'rust_std': '2024', 'rust_nightly': 'enabled'},
|
|
)
|
|
|
|
rust = import('rust')
|
|
|
|
mon = dependency('mon-0.1-rs')
|
|
get = dependency('get-0.1-rs')
|
|
itertools = dependency('itertools-0.14-rs')
|
|
thiserror = subproject('thiserror').get_variable('thiserror')
|
|
|
|
gentoo_utils = static_library(
|
|
'gentoo_utils',
|
|
'src/lib.rs',
|
|
dependencies: [mon, get, itertools],
|
|
link_with: [thiserror]
|
|
)
|