diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2023-07-17 00:39:44 +0300 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2023-07-17 00:39:44 +0300 |
| commit | 7824ff80dcaa457706a4f762e976383e6bd03daf (patch) | |
| tree | df34812be3c863f7bc8b21213b23043e2fa84917 /docs/markdown/snippets/rust_dependency_map.md | |
| parent | 0dba7340ecfbe84231a14559ef7f9e7dfb7d1299 (diff) | |
| download | meson-7824ff80dcaa457706a4f762e976383e6bd03daf.tar.gz | |
Whoopsie, forgot to create the release notes.
Diffstat (limited to 'docs/markdown/snippets/rust_dependency_map.md')
| -rw-r--r-- | docs/markdown/snippets/rust_dependency_map.md | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/docs/markdown/snippets/rust_dependency_map.md b/docs/markdown/snippets/rust_dependency_map.md deleted file mode 100644 index 62c9dae4d..000000000 --- a/docs/markdown/snippets/rust_dependency_map.md +++ /dev/null @@ -1,18 +0,0 @@ -## Support for defining crate names of Rust dependencies in Rust targets - -Rust supports defining a different crate name for a dependency than what the -actual crate name during compilation of that dependency was. - -This allows using multiple versions of the same crate at once, or simply using -a shorter name of the crate for convenience. - -```meson -a_dep = dependency('some-very-long-name') - -my_executable = executable('my-executable', 'src/main.rs', - rust_dependency_map : { - 'some_very_long_name' : 'a', - }, - dependencies : [a_dep], -) -``` |
