Skip to content

Commit

Permalink
Bump MSRV (#101)
Browse files Browse the repository at this point in the history
Bump MSRV
  • Loading branch information
haraldh committed Mar 14, 2024
2 parents 63f4ae2 + 1ea9638 commit c3b0287
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Expand Up @@ -25,7 +25,7 @@ jobs:
windows-latest
]
version:
- 1.63.0
- 1.70.0
- stable
- nightly

Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -7,7 +7,7 @@
[![Crate](https://img.shields.io/crates/v/varlink.svg)](https://crates.io/crates/varlink)
[![Rust Documentation](https://img.shields.io/badge/api-rustdoc-blue.svg)](https://docs.rs/varlink/)
[![dependency status](https://deps.rs/repo/github/varlink/rust/status.svg)](https://deps.rs/repo/github/varlink/rust)
![Rust Version 1.63+](https://img.shields.io/badge/rustc-v1.63%2B-blue.svg)
![Rust Version 1.70+](https://img.shields.io/badge/rustc-v1.70%2B-blue.svg)


See http://varlink.org for more information about varlink.
Expand Down
1 change: 1 addition & 0 deletions examples/example/Cargo.toml
Expand Up @@ -4,6 +4,7 @@ version = "3.0.3"
authors = ["Harald Hoyer <harald@hoyer.xyz>"]
edition = "2018"
publish = false
rust-version = "1.70.0"

[dependencies]
varlink = { path = "../../varlink" }
Expand Down
1 change: 1 addition & 0 deletions examples/more/Cargo.toml
Expand Up @@ -5,6 +5,7 @@ authors = ["Harald Hoyer <harald@hoyer.xyz>"]
build = "build.rs"
edition = "2018"
publish = false
rust-version = "1.70.0"

[dependencies]
varlink = { path = "../../varlink" }
Expand Down
1 change: 1 addition & 0 deletions examples/ping/Cargo.toml
Expand Up @@ -5,6 +5,7 @@ authors = ["Harald Hoyer <harald@hoyer.xyz>"]
build = "build.rs"
edition = "2018"
publish = false
rust-version = "1.70.0"

[dependencies]
varlink = { version = "11", path = "../../varlink" }
Expand Down
1 change: 1 addition & 0 deletions varlink-certification/Cargo.toml
Expand Up @@ -5,6 +5,7 @@ authors = ["Harald Hoyer <harald@hoyer.xyz>"]
build = "build.rs"
edition = "2018"
publish = false
rust-version = "1.70.0"

[dependencies]
varlink = { path = "../varlink" }
Expand Down
1 change: 1 addition & 0 deletions varlink-cli/Cargo.toml
Expand Up @@ -3,6 +3,7 @@ name = "varlink-cli"
version = "4.5.4"
authors = ["Harald Hoyer <harald@hoyer.xyz>"]
edition = "2018"
rust-version = "1.70.0"

license = "MIT OR Apache-2.0"
documentation = "https://github.com/varlink/rust/blob/master/varlink/README.md"
Expand Down
2 changes: 1 addition & 1 deletion varlink-cli/src/watchclose_epoll.rs
Expand Up @@ -154,7 +154,7 @@ impl WatchClose {

impl Read for WatchClose {
fn read(&mut self, buf: &mut [u8]) -> Result<usize> {
let mut v = vec![Event { events: 0, data: 0 }, Event { events: 0, data: 1 }];
let mut v = [Event { events: 0, data: 0 }, Event { events: 0, data: 1 }];

'outer: loop {
let r = epoll_wait(self.efd, -1, &mut v[..])?;
Expand Down
1 change: 1 addition & 0 deletions varlink/Cargo.toml
Expand Up @@ -3,6 +3,7 @@ name = "varlink"
version = "11.0.1"
authors = ["Harald Hoyer <harald@hoyer.xyz>"]
edition = "2018"
rust-version = "1.70.0"

license = "MIT OR Apache-2.0"
documentation = "https://github.com/varlink/rust/blob/master/varlink/README.md"
Expand Down
2 changes: 1 addition & 1 deletion varlink/src/server.rs
Expand Up @@ -590,7 +590,7 @@ pub fn listen<S: ?Sized + AsRef<str>, H: crate::ConnectionHandler + Send + Sync
iface = i;
match br.fill_buf() {
Err(_) => break,
Ok(buf) if buf.is_empty() => break,
Ok([]) => break,
_ => {}
}
}
Expand Down
1 change: 1 addition & 0 deletions varlink_derive/Cargo.toml
Expand Up @@ -8,6 +8,7 @@ documentation = "https://github.com/varlink/rust/blob/master/varlink/README.md"
homepage = "https://github.com/varlink/rust/blob/master/varlink_derive"
repository = "https://github.com/varlink/rust"
description = "Rust code generator macro for the varlink protocol."
rust-version = "1.70.0"

[lib]
proc-macro = true
Expand Down
1 change: 1 addition & 0 deletions varlink_generator/Cargo.toml
Expand Up @@ -3,6 +3,7 @@ name = "varlink_generator"
version = "10.1.1"
authors = ["Harald Hoyer <harald@hoyer.xyz>"]
edition = "2018"
rust-version = "1.70.0"

license = "MIT OR Apache-2.0"
documentation = "https://github.com/varlink/rust/blob/master/varlink/README.md"
Expand Down
1 change: 1 addition & 0 deletions varlink_parser/Cargo.toml
Expand Up @@ -3,6 +3,7 @@ name = "varlink_parser"
version = "4.3.0"
authors = ["Harald Hoyer <harald@hoyer.xyz>"]
edition = "2018"
rust-version = "1.70.0"

license = "MIT OR Apache-2.0"
documentation = "https://docs.rs/varlink_parser/"
Expand Down
1 change: 1 addition & 0 deletions varlink_stdinterfaces/Cargo.toml
Expand Up @@ -3,6 +3,7 @@ name = "varlink_stdinterfaces"
version = "11.0.2"
authors = ["Harald Hoyer <harald@hoyer.xyz>"]
edition = "2018"
rust-version = "1.70.0"

license = "MIT OR Apache-2.0"
documentation = "https://github.com/varlink/rust/blob/master/varlink/README.md"
Expand Down

0 comments on commit c3b0287

Please sign in to comment.