From c00a97f5ec64452847272c2f9b41d82690aa33a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 30 Oct 2021 14:31:45 +0300 Subject: [PATCH] Update to Rust edition 2021 and minimum supported Rust version 1.56 Also update CI image to use meson 0.60. --- ci/images_template.yml | 4 ++-- ci/install-gst.sh | 2 +- examples/Cargo.toml | 4 ++-- gstreamer-app/Cargo.toml | 4 ++-- gstreamer-app/sys/Cargo.toml | 4 ++-- gstreamer-audio/Cargo.toml | 4 ++-- gstreamer-audio/sys/Cargo.toml | 4 ++-- gstreamer-base/Cargo.toml | 4 ++-- gstreamer-base/sys/Cargo.toml | 4 ++-- gstreamer-check/Cargo.toml | 4 ++-- gstreamer-check/sys/Cargo.toml | 4 ++-- gstreamer-controller/Cargo.toml | 4 ++-- gstreamer-controller/sys/Cargo.toml | 4 ++-- gstreamer-editing-services/Cargo.toml | 4 ++-- gstreamer-editing-services/sys/Cargo.toml | 4 ++-- gstreamer-gl/Cargo.toml | 4 ++-- gstreamer-gl/egl/Cargo.toml | 4 ++-- gstreamer-gl/egl/sys/Cargo.toml | 4 ++-- gstreamer-gl/sys/Cargo.toml | 4 ++-- gstreamer-gl/wayland/Cargo.toml | 4 ++-- gstreamer-gl/wayland/sys/Cargo.toml | 4 ++-- gstreamer-gl/x11/Cargo.toml | 4 ++-- gstreamer-gl/x11/sys/Cargo.toml | 4 ++-- gstreamer-mpegts/sys/Cargo.toml | 4 ++-- gstreamer-net/Cargo.toml | 4 ++-- gstreamer-net/sys/Cargo.toml | 4 ++-- gstreamer-pbutils/Cargo.toml | 4 ++-- gstreamer-pbutils/sys/Cargo.toml | 4 ++-- gstreamer-player/Cargo.toml | 4 ++-- gstreamer-player/sys/Cargo.toml | 4 ++-- gstreamer-rtp/Cargo.toml | 4 ++-- gstreamer-rtp/sys/Cargo.toml | 4 ++-- gstreamer-rtsp-server/Cargo.toml | 4 ++-- gstreamer-rtsp-server/sys/Cargo.toml | 4 ++-- gstreamer-rtsp/Cargo.toml | 4 ++-- gstreamer-rtsp/sys/Cargo.toml | 4 ++-- gstreamer-sdp/Cargo.toml | 4 ++-- gstreamer-sdp/sys/Cargo.toml | 4 ++-- gstreamer-tag/sys/Cargo.toml | 4 ++-- gstreamer-video/Cargo.toml | 4 ++-- gstreamer-video/sys/Cargo.toml | 4 ++-- gstreamer-webrtc/Cargo.toml | 4 ++-- gstreamer-webrtc/sys/Cargo.toml | 4 ++-- gstreamer/Cargo.toml | 4 ++-- gstreamer/sys/Cargo.toml | 4 ++-- tutorials/Cargo.toml | 4 ++-- 46 files changed, 91 insertions(+), 91 deletions(-) diff --git a/ci/images_template.yml b/ci/images_template.yml index d293bb31c..140840c67 100644 --- a/ci/images_template.yml +++ b/ci/images_template.yml @@ -1,4 +1,4 @@ variables: - GST_RS_IMG_TAG: '2021-10-22.1' + GST_RS_IMG_TAG: '2021-10-31.0' GST_RS_STABLE: '1.56.0' - GST_RS_MSRV: '1.54.0' + GST_RS_MSRV: '1.56.0' diff --git a/ci/install-gst.sh b/ci/install-gst.sh index 8a171f95f..3eb60810f 100755 --- a/ci/install-gst.sh +++ b/ci/install-gst.sh @@ -1,6 +1,6 @@ set -e -pip3 install meson==0.59.2 +pip3 install meson==0.60.0 # gstreamer-rs already has a 'gstreamer' directory so don't clone there pushd . diff --git a/examples/Cargo.toml b/examples/Cargo.toml index ca5b59298..cf4379e59 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -3,8 +3,8 @@ name = "examples" version = "0.18.0" license = "MIT" authors = ["Sebastian Dröge "] -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [dependencies] glib = { git = "https://github.com/gtk-rs/gtk-rs-core" } diff --git a/gstreamer-app/Cargo.toml b/gstreamer-app/Cargo.toml index 3dec52bcc..1148c8621 100644 --- a/gstreamer-app/Cargo.toml +++ b/gstreamer-app/Cargo.toml @@ -10,8 +10,8 @@ readme = "README.md" homepage = "https://gstreamer.freedesktop.org" documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/stable/latest/docs/gstreamer_app/" keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"] -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [dependencies] futures-core = "0.3" diff --git a/gstreamer-app/sys/Cargo.toml b/gstreamer-app/sys/Cargo.toml index 6b6ae554b..022319f68 100644 --- a/gstreamer-app/sys/Cargo.toml +++ b/gstreamer-app/sys/Cargo.toml @@ -45,8 +45,8 @@ name = "gstreamer-app-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" version = "0.18.0" -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [package.metadata.docs.rs] features = ["dox"] [package.metadata.system-deps.gstreamer_app_1_0] diff --git a/gstreamer-audio/Cargo.toml b/gstreamer-audio/Cargo.toml index b46239ff1..23ad25175 100644 --- a/gstreamer-audio/Cargo.toml +++ b/gstreamer-audio/Cargo.toml @@ -10,8 +10,8 @@ readme = "README.md" homepage = "https://gstreamer.freedesktop.org" documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/stable/latest/docs/gstreamer_audio/" keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"] -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [dependencies] libc = "0.2" diff --git a/gstreamer-audio/sys/Cargo.toml b/gstreamer-audio/sys/Cargo.toml index d07086f41..6da2deee4 100644 --- a/gstreamer-audio/sys/Cargo.toml +++ b/gstreamer-audio/sys/Cargo.toml @@ -48,8 +48,8 @@ name = "gstreamer-audio-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" version = "0.18.0" -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [package.metadata.docs.rs] features = ["dox"] [package.metadata.system-deps.gstreamer_audio_1_0] diff --git a/gstreamer-base/Cargo.toml b/gstreamer-base/Cargo.toml index 4f73917cf..f66db195c 100644 --- a/gstreamer-base/Cargo.toml +++ b/gstreamer-base/Cargo.toml @@ -10,8 +10,8 @@ readme = "README.md" homepage = "https://gstreamer.freedesktop.org" documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/stable/latest/docs/gstreamer_base/" keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"] -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [dependencies] cfg-if = "1.0" diff --git a/gstreamer-base/sys/Cargo.toml b/gstreamer-base/sys/Cargo.toml index 747872f98..5b5da9d8d 100644 --- a/gstreamer-base/sys/Cargo.toml +++ b/gstreamer-base/sys/Cargo.toml @@ -49,8 +49,8 @@ name = "gstreamer-base-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" version = "0.18.0" -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [package.metadata.docs.rs] features = ["dox"] [package.metadata.system-deps.gstreamer_base_1_0] diff --git a/gstreamer-check/Cargo.toml b/gstreamer-check/Cargo.toml index 03e8e5954..b31b40f96 100644 --- a/gstreamer-check/Cargo.toml +++ b/gstreamer-check/Cargo.toml @@ -10,8 +10,8 @@ readme = "README.md" homepage = "https://gstreamer.freedesktop.org" documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/stable/latest/docs/gstreamer_check/" keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"] -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [dependencies] bitflags = "1.0" diff --git a/gstreamer-check/sys/Cargo.toml b/gstreamer-check/sys/Cargo.toml index cbaa2356f..1a46519fd 100644 --- a/gstreamer-check/sys/Cargo.toml +++ b/gstreamer-check/sys/Cargo.toml @@ -45,8 +45,8 @@ name = "gstreamer-check-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" version = "0.18.0" -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [package.metadata.docs.rs] features = ["dox"] [package.metadata.system-deps.gstreamer_check_1_0] diff --git a/gstreamer-controller/Cargo.toml b/gstreamer-controller/Cargo.toml index b171a37f3..9f6944f83 100644 --- a/gstreamer-controller/Cargo.toml +++ b/gstreamer-controller/Cargo.toml @@ -10,8 +10,8 @@ readme = "README.md" homepage = "https://gstreamer.freedesktop.org" documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/stable/latest/docs/gstreamer_controller/" keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"] -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [dependencies] bitflags = "1.0" diff --git a/gstreamer-controller/sys/Cargo.toml b/gstreamer-controller/sys/Cargo.toml index 4b132dc61..ea48ba885 100644 --- a/gstreamer-controller/sys/Cargo.toml +++ b/gstreamer-controller/sys/Cargo.toml @@ -46,8 +46,8 @@ name = "gstreamer-controller-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" version = "0.18.0" -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [package.metadata.docs.rs] features = ["dox"] [package.metadata.system-deps.gstreamer_controller_1_0] diff --git a/gstreamer-editing-services/Cargo.toml b/gstreamer-editing-services/Cargo.toml index 91ec65eb2..c0256e609 100644 --- a/gstreamer-editing-services/Cargo.toml +++ b/gstreamer-editing-services/Cargo.toml @@ -10,8 +10,8 @@ readme = "README.md" homepage = "https://gstreamer.freedesktop.org" documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/stable/latest/docs/gstreamer_editing_services/" keywords = ["gstreamer", "multimedia", "gnome", "nle"] -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [dependencies] libc = "0.2" diff --git a/gstreamer-editing-services/sys/Cargo.toml b/gstreamer-editing-services/sys/Cargo.toml index b4221cb0c..edfc32d8b 100644 --- a/gstreamer-editing-services/sys/Cargo.toml +++ b/gstreamer-editing-services/sys/Cargo.toml @@ -51,8 +51,8 @@ name = "gstreamer-editing-services-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" version = "0.18.0" -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [package.metadata.docs.rs] features = ["dox"] [package.metadata.system-deps.gst_editing_services_1_0] diff --git a/gstreamer-gl/Cargo.toml b/gstreamer-gl/Cargo.toml index 0693a589d..ac0249be7 100644 --- a/gstreamer-gl/Cargo.toml +++ b/gstreamer-gl/Cargo.toml @@ -13,8 +13,8 @@ readme = "README.md" homepage = "https://gstreamer.freedesktop.org" documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/stable/latest/docs/gstreamer_gl/" keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"] -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [dependencies] bitflags = "1.0" diff --git a/gstreamer-gl/egl/Cargo.toml b/gstreamer-gl/egl/Cargo.toml index 19e991c32..268bf1382 100644 --- a/gstreamer-gl/egl/Cargo.toml +++ b/gstreamer-gl/egl/Cargo.toml @@ -13,8 +13,8 @@ readme = "README.md" homepage = "https://gstreamer.freedesktop.org" documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/stable/latest/docs/gstreamer_gl_egl/" keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"] -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [dependencies] libc = "0.2" diff --git a/gstreamer-gl/egl/sys/Cargo.toml b/gstreamer-gl/egl/sys/Cargo.toml index bded98574..304e2e011 100644 --- a/gstreamer-gl/egl/sys/Cargo.toml +++ b/gstreamer-gl/egl/sys/Cargo.toml @@ -10,8 +10,8 @@ name = "gstreamer-gl-egl-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" version = "0.18.0" -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [package.metadata.system-deps.gstreamer_gl_egl_1_0] name = "gstreamer-gl-1.0" version = "1.14" diff --git a/gstreamer-gl/sys/Cargo.toml b/gstreamer-gl/sys/Cargo.toml index 6e57b9a92..f6cfd6889 100644 --- a/gstreamer-gl/sys/Cargo.toml +++ b/gstreamer-gl/sys/Cargo.toml @@ -47,8 +47,8 @@ name = "gstreamer-gl-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" version = "0.18.0" -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [package.metadata.docs.rs] features = ["dox"] [package.metadata.system-deps.gstreamer_gl_1_0] diff --git a/gstreamer-gl/wayland/Cargo.toml b/gstreamer-gl/wayland/Cargo.toml index e8885419c..2245b615c 100644 --- a/gstreamer-gl/wayland/Cargo.toml +++ b/gstreamer-gl/wayland/Cargo.toml @@ -13,8 +13,8 @@ readme = "README.md" homepage = "https://gstreamer.freedesktop.org" documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/stable/latest/docs/gstreamer_gl_wayland/" keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"] -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [dependencies] libc = "0.2" diff --git a/gstreamer-gl/wayland/sys/Cargo.toml b/gstreamer-gl/wayland/sys/Cargo.toml index d2f695dea..12511b8f0 100644 --- a/gstreamer-gl/wayland/sys/Cargo.toml +++ b/gstreamer-gl/wayland/sys/Cargo.toml @@ -10,8 +10,8 @@ name = "gstreamer-gl-wayland-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" version = "0.18.0" -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [package.metadata.system-deps.gstreamer_gl_wayland_1_0] name = "gstreamer-gl-1.0" version = "1.14" diff --git a/gstreamer-gl/x11/Cargo.toml b/gstreamer-gl/x11/Cargo.toml index 1cb895b3e..6bbee559c 100644 --- a/gstreamer-gl/x11/Cargo.toml +++ b/gstreamer-gl/x11/Cargo.toml @@ -13,8 +13,8 @@ readme = "README.md" homepage = "https://gstreamer.freedesktop.org" documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/stable/latest/docs/gstreamer_gl_x11/" keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"] -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [dependencies] libc = "0.2" diff --git a/gstreamer-gl/x11/sys/Cargo.toml b/gstreamer-gl/x11/sys/Cargo.toml index 29673d9be..888dad665 100644 --- a/gstreamer-gl/x11/sys/Cargo.toml +++ b/gstreamer-gl/x11/sys/Cargo.toml @@ -10,8 +10,8 @@ name = "gstreamer-gl-x11-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" version = "0.18.0" -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [package.metadata.system-deps.gstreamer_gl_x11_1_0] name = "gstreamer-gl-1.0" version = "1.14" diff --git a/gstreamer-mpegts/sys/Cargo.toml b/gstreamer-mpegts/sys/Cargo.toml index add8b17fe..c5ceed38a 100644 --- a/gstreamer-mpegts/sys/Cargo.toml +++ b/gstreamer-mpegts/sys/Cargo.toml @@ -45,8 +45,8 @@ name = "gstreamer-mpegts-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" version = "0.18.0" -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [package.metadata.docs.rs] features = ["dox"] [package.metadata.system-deps.gstreamer_mpegts_1_0] diff --git a/gstreamer-net/Cargo.toml b/gstreamer-net/Cargo.toml index bbb56afe4..c6de1be76 100644 --- a/gstreamer-net/Cargo.toml +++ b/gstreamer-net/Cargo.toml @@ -10,8 +10,8 @@ readme = "README.md" homepage = "https://gstreamer.freedesktop.org" documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/stable/latest/docs/gstreamer_net/" keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"] -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [dependencies] ffi = { package = "gstreamer-net-sys", path = "sys", features = ["v1_8"] } diff --git a/gstreamer-net/sys/Cargo.toml b/gstreamer-net/sys/Cargo.toml index 6468800ed..96be306e2 100644 --- a/gstreamer-net/sys/Cargo.toml +++ b/gstreamer-net/sys/Cargo.toml @@ -45,8 +45,8 @@ name = "gstreamer-net-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" version = "0.18.0" -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [package.metadata.docs.rs] features = ["dox"] [package.metadata.system-deps.gstreamer_net_1_0] diff --git a/gstreamer-pbutils/Cargo.toml b/gstreamer-pbutils/Cargo.toml index adc6d628e..be2e7a83f 100644 --- a/gstreamer-pbutils/Cargo.toml +++ b/gstreamer-pbutils/Cargo.toml @@ -10,8 +10,8 @@ readme = "README.md" homepage = "https://gstreamer.freedesktop.org" documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/stable/latest/docs/gstreamer_pbutils/" keywords = ["gstreamer", "multimedia", "audio", "pbutils", "gnome"] -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [dependencies] bitflags = "1.0" diff --git a/gstreamer-pbutils/sys/Cargo.toml b/gstreamer-pbutils/sys/Cargo.toml index 176af016f..73e74b2d0 100644 --- a/gstreamer-pbutils/sys/Cargo.toml +++ b/gstreamer-pbutils/sys/Cargo.toml @@ -52,8 +52,8 @@ name = "gstreamer-pbutils-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" version = "0.18.0" -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [package.metadata.docs.rs] features = ["dox"] [package.metadata.system-deps.gstreamer_pbutils_1_0] diff --git a/gstreamer-player/Cargo.toml b/gstreamer-player/Cargo.toml index cfae93905..b6dabeee7 100644 --- a/gstreamer-player/Cargo.toml +++ b/gstreamer-player/Cargo.toml @@ -10,8 +10,8 @@ readme = "README.md" homepage = "https://gstreamer.freedesktop.org" documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/stable/latest/docs/gstreamer_player/" keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"] -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [dependencies] bitflags = "1.0" diff --git a/gstreamer-player/sys/Cargo.toml b/gstreamer-player/sys/Cargo.toml index 3f88cb214..22dfce29e 100644 --- a/gstreamer-player/sys/Cargo.toml +++ b/gstreamer-player/sys/Cargo.toml @@ -44,8 +44,8 @@ name = "gstreamer-player-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" version = "0.18.0" -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [package.metadata.docs.rs] features = ["dox"] [package.metadata.system-deps.gstreamer_player_1_0] diff --git a/gstreamer-rtp/Cargo.toml b/gstreamer-rtp/Cargo.toml index 4ca596fba..3b8cfbf02 100644 --- a/gstreamer-rtp/Cargo.toml +++ b/gstreamer-rtp/Cargo.toml @@ -10,8 +10,8 @@ readme = "README.md" homepage = "https://gstreamer.freedesktop.org" documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/stable/latest/docs/gstreamer_rtp/" keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"] -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [dependencies] bitflags = "1.0" diff --git a/gstreamer-rtp/sys/Cargo.toml b/gstreamer-rtp/sys/Cargo.toml index 6f6e332a4..8542d1e55 100644 --- a/gstreamer-rtp/sys/Cargo.toml +++ b/gstreamer-rtp/sys/Cargo.toml @@ -47,8 +47,8 @@ name = "gstreamer-rtp-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" version = "0.18.0" -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [package.metadata.docs.rs] features = ["dox"] [package.metadata.system-deps.gstreamer_rtp_1_0] diff --git a/gstreamer-rtsp-server/Cargo.toml b/gstreamer-rtsp-server/Cargo.toml index a9ec21a7f..ec0da3388 100644 --- a/gstreamer-rtsp-server/Cargo.toml +++ b/gstreamer-rtsp-server/Cargo.toml @@ -10,8 +10,8 @@ readme = "README.md" homepage = "https://gstreamer.freedesktop.org" documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/stable/latest/docs/gstreamer_rtsp_server/" keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"] -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [dependencies] bitflags = "1.0" diff --git a/gstreamer-rtsp-server/sys/Cargo.toml b/gstreamer-rtsp-server/sys/Cargo.toml index b1ca7256e..e70fb094d 100644 --- a/gstreamer-rtsp-server/sys/Cargo.toml +++ b/gstreamer-rtsp-server/sys/Cargo.toml @@ -57,8 +57,8 @@ name = "gstreamer-rtsp-server-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" version = "0.18.0" -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [package.metadata.docs.rs] features = ["dox"] [package.metadata.system-deps.gstreamer_rtsp_server_1_0] diff --git a/gstreamer-rtsp/Cargo.toml b/gstreamer-rtsp/Cargo.toml index 5903dca16..c57e3d5ee 100644 --- a/gstreamer-rtsp/Cargo.toml +++ b/gstreamer-rtsp/Cargo.toml @@ -10,8 +10,8 @@ readme = "README.md" homepage = "https://gstreamer.freedesktop.org" documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/stable/latest/docs/gstreamer_rtsp/" keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"] -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [dependencies] bitflags = "1.0" diff --git a/gstreamer-rtsp/sys/Cargo.toml b/gstreamer-rtsp/sys/Cargo.toml index 78d875d6b..f67c2b659 100644 --- a/gstreamer-rtsp/sys/Cargo.toml +++ b/gstreamer-rtsp/sys/Cargo.toml @@ -52,8 +52,8 @@ name = "gstreamer-rtsp-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" version = "0.18.0" -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [package.metadata.docs.rs] features = ["dox"] [package.metadata.system-deps.gstreamer_rtsp_1_0] diff --git a/gstreamer-sdp/Cargo.toml b/gstreamer-sdp/Cargo.toml index b70548412..b94718e29 100644 --- a/gstreamer-sdp/Cargo.toml +++ b/gstreamer-sdp/Cargo.toml @@ -10,8 +10,8 @@ readme = "README.md" homepage = "https://gstreamer.freedesktop.org" documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/stable/latest/docs/gstreamer_sdp/" keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"] -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [dependencies] ffi = { package = "gstreamer-sdp-sys", path = "sys", features = ["v1_8"] } diff --git a/gstreamer-sdp/sys/Cargo.toml b/gstreamer-sdp/sys/Cargo.toml index 447d74afd..3a88c3eef 100644 --- a/gstreamer-sdp/sys/Cargo.toml +++ b/gstreamer-sdp/sys/Cargo.toml @@ -43,8 +43,8 @@ name = "gstreamer-sdp-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" version = "0.18.0" -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [package.metadata.docs.rs] features = ["dox"] [package.metadata.system-deps.gstreamer_sdp_1_0] diff --git a/gstreamer-tag/sys/Cargo.toml b/gstreamer-tag/sys/Cargo.toml index c22862b24..9294b191d 100644 --- a/gstreamer-tag/sys/Cargo.toml +++ b/gstreamer-tag/sys/Cargo.toml @@ -45,8 +45,8 @@ name = "gstreamer-tag-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" version = "0.18.0" -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [package.metadata.docs.rs] features = ["dox"] [package.metadata.system-deps.gstreamer_tag_1_0] diff --git a/gstreamer-video/Cargo.toml b/gstreamer-video/Cargo.toml index 62f8f998a..dbfe9ec07 100644 --- a/gstreamer-video/Cargo.toml +++ b/gstreamer-video/Cargo.toml @@ -10,8 +10,8 @@ readme = "README.md" homepage = "https://gstreamer.freedesktop.org" documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/stable/latest/docs/gstreamer_video/" keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"] -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [dependencies] bitflags = "1.0" diff --git a/gstreamer-video/sys/Cargo.toml b/gstreamer-video/sys/Cargo.toml index ace3a4695..5cf881cf4 100644 --- a/gstreamer-video/sys/Cargo.toml +++ b/gstreamer-video/sys/Cargo.toml @@ -50,8 +50,8 @@ name = "gstreamer-video-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" version = "0.18.0" -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [package.metadata.docs.rs] features = ["dox"] [package.metadata.system-deps.gstreamer_video_1_0] diff --git a/gstreamer-webrtc/Cargo.toml b/gstreamer-webrtc/Cargo.toml index b6f7360b4..0c2510a9e 100644 --- a/gstreamer-webrtc/Cargo.toml +++ b/gstreamer-webrtc/Cargo.toml @@ -10,8 +10,8 @@ readme = "README.md" homepage = "https://gstreamer.freedesktop.org" documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/stable/latest/docs/gstreamer_webrtc/" keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"] -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [dependencies] libc = "0.2" diff --git a/gstreamer-webrtc/sys/Cargo.toml b/gstreamer-webrtc/sys/Cargo.toml index be0bbb9c2..1629867d6 100644 --- a/gstreamer-webrtc/sys/Cargo.toml +++ b/gstreamer-webrtc/sys/Cargo.toml @@ -37,8 +37,8 @@ name = "gstreamer-webrtc-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" version = "0.18.0" -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [package.metadata.docs.rs] features = ["dox"] [package.metadata.system-deps.gstreamer_webrtc_1_0] diff --git a/gstreamer/Cargo.toml b/gstreamer/Cargo.toml index 2cf86d46d..a2841253f 100644 --- a/gstreamer/Cargo.toml +++ b/gstreamer/Cargo.toml @@ -10,8 +10,8 @@ readme = "README.md" homepage = "https://gstreamer.freedesktop.org" documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/stable/latest/docs/gstreamer/" keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"] -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [dependencies] bitflags = "1.0" diff --git a/gstreamer/sys/Cargo.toml b/gstreamer/sys/Cargo.toml index 244fceab3..36f08b89c 100644 --- a/gstreamer/sys/Cargo.toml +++ b/gstreamer/sys/Cargo.toml @@ -46,8 +46,8 @@ name = "gstreamer-sys" readme = "README.md" repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" version = "0.18.0" -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [package.metadata.docs.rs] features = ["dox"] [package.metadata.system-deps.gstreamer_1_0] diff --git a/tutorials/Cargo.toml b/tutorials/Cargo.toml index c1757618b..3185fd23b 100644 --- a/tutorials/Cargo.toml +++ b/tutorials/Cargo.toml @@ -3,8 +3,8 @@ name = "tutorials" version = "0.18.0" license = "MIT" authors = ["Sebastian Dröge "] -edition = "2018" -rust-version = "1.54" +edition = "2021" +rust-version = "1.56" [dependencies] glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }