aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2022-07-07 13:08:53 +0900
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>2022-07-07 13:08:53 +0900
commit3d5d7a00fdc99127c6564f4831951f31b35c807c (patch)
tree0b9bb38b147b67295a6c735db25cc4030a74b6f2
parent5ba38c149ea7d78c0901a46dd5bff0228f6b11fd (diff)
downloadhinawa-rs-3d5d7a00fdc99127c6564f4831951f31b35c807c.tar.gz
hinawa/hinawa-sys: downgrade edition and rust-version
The commit dc12db077ab0 ("hinawa: regenerate API crate") adds explicit indication to 'edition = "2021"' and 'rust-version = "1.57"' from glib crate v0.15, however they are necessarily required to the case of hinawa and hinawa-sys crates. This commit turn them back. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
-rw-r--r--README.rst1
-rw-r--r--hinawa-sys/Cargo.toml3
-rw-r--r--hinawa/Cargo.toml3
3 files changed, 2 insertions, 5 deletions
diff --git a/README.rst b/README.rst
index 076bd25..fa8c0d6 100644
--- a/README.rst
+++ b/README.rst
@@ -24,7 +24,6 @@ MIT License
Dependencies
============
-* Rust version 1.57 or later (edition 2021)
* `libhinawa 2.5.0 or later <https://github.com/alsa-project/libhinawa>`_
* FFI crate (``hinawa-sys``)
diff --git a/hinawa-sys/Cargo.toml b/hinawa-sys/Cargo.toml
index da927e6..c8b4c12 100644
--- a/hinawa-sys/Cargo.toml
+++ b/hinawa-sys/Cargo.toml
@@ -2,12 +2,11 @@
authors = ["Takashi Sakamoto <o-takashi@sakamocchi.jp>"]
build = "build.rs"
description = "FFI bindings for libhinawa2 library"
-edition = "2021"
+edition = "2018"
license = "MIT"
links = "hinawa"
name = "hinawa-sys"
repository = "https://github.com/alsa-project/hinawa-rs/"
-rust-version = "1.57"
version = "0.6.0"
[package.metadata.docs.rs]
features = ["dox"]
diff --git a/hinawa/Cargo.toml b/hinawa/Cargo.toml
index f161238..81e441a 100644
--- a/hinawa/Cargo.toml
+++ b/hinawa/Cargo.toml
@@ -1,11 +1,10 @@
[package]
authors = ["Takashi Sakamoto <o-takashi@sakamocchi.jp>"]
description = "API bindings for libhinawa2 library"
-edition = "2021"
+edition = "2018"
license = "MIT"
name = "hinawa"
repository = "https://github.com/alsa-project/hinawa-rs/"
-rust-version = "1.57"
version = "0.6.0"
[lib]