summaryrefslogtreecommitdiff
path: root/rust-bindings
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2022-06-09 15:55:41 -0400
committerColin Walters <walters@verbum.org>2022-06-09 15:55:41 -0400
commit99c122d219002a638624c7c580c946a5b0be904a (patch)
treec288d2ab1fc70b1f68c749f2b47b58631696a89e /rust-bindings
parenta6ecd96cda47c6bae9a8f6c4e72843ea425aa534 (diff)
downloadostree-99c122d219002a638624c7c580c946a5b0be904a.tar.gz
rust: Switch to 2021 edition
No real changes. ``` $ cargo fix --edition note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. This may cause some dependencies to be built with fewer features enabled than previously. More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html When building the following dependencies, the given features will no longer be used: libc v0.2.126 removed features: extra_traits The following differences only apply when building with dev-dependencies: getrandom v0.2.6 removed features: std ``` which looks OK to me.
Diffstat (limited to 'rust-bindings')
-rw-r--r--rust-bindings/sys/Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust-bindings/sys/Cargo.toml b/rust-bindings/sys/Cargo.toml
index fd453454..5145ab87 100644
--- a/rust-bindings/sys/Cargo.toml
+++ b/rust-bindings/sys/Cargo.toml
@@ -73,7 +73,7 @@ links = "ostree-1"
name = "ostree-sys"
repository = "https://github.com/ostreedev/ostree-rs"
version = "0.10.0"
-edition = "2018"
+edition = "2021"
[package.metadata.docs.rs]
features = ["dox"]
[package.metadata.system-deps.ostree_1]