diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2023-10-29 21:08:06 +0900 |
---|---|---|
committer | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2023-10-29 21:08:06 +0900 |
commit | 36f900a80df043ae0d9c0fe5b639ba05ffea565f (patch) | |
tree | 37b51ccf77ce56ef44a76592f6bfbe1ae11269c6 | |
parent | c835f063fbe892cb555a593d971a7c88b85fe493 (diff) | |
download | hinawa-rs-36f900a80df043ae0d9c0fe5b639ba05ffea565f.tar.gz |
hinawa-sys: fix FTBFS due to MSRV in cfg-expr version 0.15 or later
MSRV of cfg-expr version 0.15 is rustc 1.70.0, while MSRV of hinawa and
hinawa-sys crates is version 1.67.
This commit fixes the issue by indicating explicit version of system-deps.
The system-deps version 6.0.5 depends on the version of cfg-expr.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
-rw-r--r-- | hinawa-sys/Cargo.toml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hinawa-sys/Cargo.toml b/hinawa-sys/Cargo.toml index 7042db6..3dce327 100644 --- a/hinawa-sys/Cargo.toml +++ b/hinawa-sys/Cargo.toml @@ -30,7 +30,8 @@ name = "hinawa_sys" [build-dependencies] pkg-config = "0.3.7" -system-deps = "6" +# To avoid MSRV in cfg-expr against rustc 1.67. +system-deps = "=6.0.4" [dependencies] libc = "0.2" |