meson: Update our rust dependencies

These are the package versions currently shipped by Fedora. This allows
using system packages by setting

    export MESON_PACKAGE_CACHE_DIR=/usr/share/cargo/registry/

Of course, other distros may place it somewhere else.

Ubuntu matches versions on syn and unicode-ident but is a tiny bit off
on quote and proc-macro2. However, given how far I was able to bump the
versions with only a tiny meson tweak to syn, I think it should work
with the Ubuntu versions as well.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26726>
This commit is contained in:
Faith Ekstrand 2023-12-16 11:38:12 -06:00 committed by Marge Bot
parent f0594915e6
commit a2a0cef9f4
5 changed files with 17 additions and 17 deletions

View File

@ -48,7 +48,7 @@ lib = static_library(
'proc_macro2',
'src/lib.rs',
rust_args : rust_args,
override_options : ['rust_std=2018', 'build.rust_std=2018'],
override_options : ['rust_std=2021', 'build.rust_std=2021'],
link_with : u_ind,
rust_abi : 'rust',
native : true,

View File

@ -1,6 +1,6 @@
[wrap-file]
directory = proc-macro2-1.0.56
source_url = https://crates.io/api/v1/crates/proc-macro2/1.0.56/download
source_filename = proc-macro2-1.0.56.tar.gz
source_hash = 2b63bdb0cd06f1f4dedf69b254734f9b45af66e4a031e42a7480257d9898b435
directory = proc-macro2-1.0.70
source_url = https://crates.io/api/v1/crates/proc-macro2/1.0.70/download
source_filename = proc-macro2-1.0.70.tar.gz
source_hash = 39278fbbf5fb4f646ce651690877f89d1c5811a3d4acb27700c1cb3cdb78fd3b
patch_directory = proc-macro2

View File

@ -1,6 +1,6 @@
[wrap-file]
directory = quote-1.0.25
source_url = https://crates.io/api/v1/crates/quote/1.0.25/download
source_filename = quote-1.0.25.tar.gz
source_hash = 5308e8208729c3e1504a6cfad0d5daacc4614c9a2e65d1ea312a34b5cb00fe84
directory = quote-1.0.33
source_url = https://crates.io/api/v1/crates/quote/1.0.33/download
source_filename = quote-1.0.33.tar.gz
source_hash = 5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae
patch_directory = quote

View File

@ -1,6 +1,6 @@
[wrap-file]
directory = syn-2.0.15
source_url = https://crates.io/api/v1/crates/syn/2.0.15/download
source_filename = syn-2.0.15.tar.gz
source_hash = a34fcf3e8b60f57e6a14301a2e916d323af98b0ea63c599441eec8558660c822
directory = syn-2.0.39
source_url = https://crates.io/api/v1/crates/syn/2.0.39/download
source_filename = syn-2.0.39.tar.gz
source_hash = 23e78b90f2fcf45d3e842032ce32e3f2d1545ba6636271dcbf24fa306d87be7a
patch_directory = syn

View File

@ -1,6 +1,6 @@
[wrap-file]
directory = unicode-ident-1.0.6
source_url = https://crates.io/api/v1/crates/unicode-ident/1.0.6/download
source_filename = unicode-ident-1.0.6.tar.gz
source_hash = 84a22b9f218b40614adcb3f4ff08b703773ad44fa9423e4e0d346d5db86e4ebc
directory = unicode-ident-1.0.12
source_url = https://crates.io/api/v1/crates/unicode-ident/1.0.12/download
source_filename = unicode-ident-1.0.12.tar.gz
source_hash = 3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b
patch_directory = unicode-ident