Skip to content

Commit defeacc

Browse files
authored
Lower MSRV to 1.65.0 (#975)
1 parent 76ddf3d commit defeacc

File tree

7 files changed

+16
-11
lines changed

7 files changed

+16
-11
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
matrix:
7878
rust:
7979
- stable
80-
- 1.66.1 # MSRV
80+
- 1.65.0
8181
steps:
8282
- uses: actions-rs/toolchain@v1
8383
with:

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# 0.8.1 (Unreleased)
22

3+
This release lowers the MSRV of Northstar to 1.65.0. ([#975]).
4+
5+
## Changed
6+
7+
- proj: Lower MSRV to 1.65.0 ([#975])
8+
9+
[#975]: https://github.com/esrlabs/northstar/pull/975
10+
311
# 0.8.0 (May 10th, 2023)
412

513
This release bumps the MSRV of Northstar to 1.66.1. ([#884]).

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ subsystems and features:
107107
## Quickstart
108108

109109
Northstar is written in [Rust](https://www.rust-lang.org). The minimum supported
110-
Rust version (MSRV) is *1.66.1*. Rust is best installed and managed by the rustup
110+
Rust version (MSRV) is *1.65.0*. Rust is best installed and managed by the rustup
111111
tool. Rust has a 6-week rapid release process and supports a great number of
112112
platforms, so there are many builds of Rust available at any time. rustup
113113
manages these builds in a consistent way on every platform that Rust supports,

examples/sockets/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use std::{
22
env,
3-
os::{fd::FromRawFd, unix::net::UnixDatagram},
3+
os::unix::{io::FromRawFd, net::UnixDatagram},
44
path::Path,
55
thread,
66
};

examples/test-container/src/sockets.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
use std::{
22
env,
33
io::{self, Read, Write},
4-
os::{
5-
fd::{FromRawFd, IntoRawFd, OwnedFd},
6-
unix::net::{UnixDatagram, UnixListener, UnixStream},
4+
os::unix::{
5+
net::{UnixDatagram, UnixListener, UnixStream},
6+
prelude::*,
77
},
88
path::Path,
99
process, thread,

northstar-runtime/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ edition = "2021"
88
license = "Apache-2.0"
99
readme = "../README.md"
1010
repository = "https://github.com/esrlabs/northstar"
11-
rust-version = "1.63.0"
11+
rust-version = "1.65.0"
1212

1313
[dependencies]
1414
anyhow = { version = "1.0.71", features = ["backtrace"] }

northstar-runtime/src/runtime/sockets.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@ use nix::{
1111
use std::{
1212
collections::HashMap,
1313
fs::Permissions,
14-
os::{
15-
fd::{FromRawFd, OwnedFd},
16-
unix::prelude::PermissionsExt,
17-
},
14+
os::unix::prelude::*,
1815
path::{Path, PathBuf},
1916
};
2017
use tokio::fs;

0 commit comments

Comments
 (0)