Skip to content

Commit d69cefd

Browse files
committed
chore: update MSRV, half
Signed-off-by: Richard Zak <[email protected]>
1 parent fdf3ec5 commit d69cefd

File tree

7 files changed

+10
-9
lines changed

7 files changed

+10
-9
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
toolchain:
21-
- 1.58.0
21+
- 1.70.0
2222
- stable
2323
- beta
2424
- nightly

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[workspace]
2+
resolver = "2"
23
exclude = [ ".gitignore", ".github/*" ]
34
members = [
45
"ciborium",

ciborium-io/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.2.2"
44
authors = ["Nathaniel McCallum <[email protected]>"]
55
license = "Apache-2.0"
66
edition = "2021"
7-
rust-version = "1.58"
7+
rust-version = "1.70"
88
homepage = "https://github.com/enarx/ciborium"
99
repository = "https://github.com/enarx/ciborium"
1010
description = "Simplified Read/Write traits for no_std usage"

ciborium-ll/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.2.2"
44
authors = ["Nathaniel McCallum <[email protected]>"]
55
license = "Apache-2.0"
66
edition = "2021"
7-
rust-version = "1.58"
7+
rust-version = "1.70"
88
homepage = "https://github.com/enarx/ciborium"
99
repository = "https://github.com/enarx/ciborium"
1010
description = "Low-level CBOR codec primitives"
@@ -22,7 +22,7 @@ is-it-maintained-open-issues = { repository = "enarx/ciborium" }
2222

2323
[dependencies]
2424
ciborium-io = { path = "../ciborium-io", version = "0.2.2" }
25-
half = { version = "2.2", default-features = false}
25+
half = { version = "2.3.1", default-features = false}
2626

2727
[dev-dependencies]
2828
hex = "0.4"

ciborium/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.2.2"
44
authors = ["Nathaniel McCallum <[email protected]>"]
55
license = "Apache-2.0"
66
edition = "2021"
7-
rust-version = "1.58"
7+
rust-version = "1.70"
88
homepage = "https://github.com/enarx/ciborium"
99
repository = "https://github.com/enarx/ciborium"
1010
description = "serde implementation of CBOR using ciborium-basic"
@@ -23,11 +23,11 @@ is-it-maintained-open-issues = { repository = "enarx/ciborium" }
2323
[dependencies]
2424
ciborium-ll = { path = "../ciborium-ll", version = "0.2.2" }
2525
ciborium-io = { path = "../ciborium-io", version = "0.2.2", features = ["alloc"] }
26-
serde = { version = "1.0.100", default-features = false, features = ["alloc", "derive"] }
26+
serde = { version = "1.0.170", default-features = false, features = ["alloc", "derive"] }
2727

2828
[dev-dependencies]
2929
serde_bytes = "0.11"
30-
rstest = "0.11"
30+
rstest = "0.17"
3131
rand = "0.8"
3232
hex = "0.4"
3333

ciborium/src/value/canonical.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,6 @@ impl Ord for CanonicalValue {
119119

120120
impl PartialOrd for CanonicalValue {
121121
fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
122-
Some(cmp_value(&self.0, &other.0))
122+
Some(self.cmp(other))
123123
}
124124
}

rust-toolchain.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[toolchain]
2-
channel = "1.58"
2+
channel = "1.70"
33
profile = "minimal"
44
components = ["rustfmt", "clippy"]

0 commit comments

Comments
 (0)