From f1bd4aea5e299ff69a6b6a11d7d16547d875b5e0 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Sat, 31 May 2025 15:59:22 -0400 Subject: cargo: define 'features' variable to be used in meson/meson.build --- docs/markdown/Wrap-dependency-system-manual.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs') diff --git a/docs/markdown/Wrap-dependency-system-manual.md b/docs/markdown/Wrap-dependency-system-manual.md index 402dbe3e6..f2ca665ff 100644 --- a/docs/markdown/Wrap-dependency-system-manual.md +++ b/docs/markdown/Wrap-dependency-system-manual.md @@ -362,6 +362,8 @@ Some naming conventions need to be respected: This is typically used as `extra_args += ['--cfg', 'foo']`. - The `extra_deps` variable is pre-defined and can be used to add extra dependencies. This is typically used as `extra_deps += dependency('foo')`. +- The `features` variable is pre-defined and contains the list of features enabled + on this crate. Since *1.5.0* Cargo wraps can also be provided with `Cargo.lock` file at the root of (sub)project source tree. Meson will automatically load that file and convert -- cgit v1.2.3