Skip to content

Commit

Permalink
chore: update MSRV, hex
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Zak <[email protected]>
  • Loading branch information
rjzak committed Feb 15, 2024
1 parent fdf3ec5 commit bba5200
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[workspace]
resolver = "2"
exclude = [ ".gitignore", ".github/*" ]
members = [
"ciborium",
Expand Down
2 changes: 1 addition & 1 deletion ciborium-io/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.2.2"
authors = ["Nathaniel McCallum <[email protected]>"]
license = "Apache-2.0"
edition = "2021"
rust-version = "1.58"
rust-version = "1.70"
homepage = "https://github.com/enarx/ciborium"
repository = "https://github.com/enarx/ciborium"
description = "Simplified Read/Write traits for no_std usage"
Expand Down
4 changes: 2 additions & 2 deletions ciborium-ll/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.2.2"
authors = ["Nathaniel McCallum <[email protected]>"]
license = "Apache-2.0"
edition = "2021"
rust-version = "1.58"
rust-version = "1.70"
homepage = "https://github.com/enarx/ciborium"
repository = "https://github.com/enarx/ciborium"
description = "Low-level CBOR codec primitives"
Expand All @@ -22,7 +22,7 @@ is-it-maintained-open-issues = { repository = "enarx/ciborium" }

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

[dev-dependencies]
hex = "0.4"
Expand Down
6 changes: 3 additions & 3 deletions ciborium/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.2.2"
authors = ["Nathaniel McCallum <[email protected]>"]
license = "Apache-2.0"
edition = "2021"
rust-version = "1.58"
rust-version = "1.70"
homepage = "https://github.com/enarx/ciborium"
repository = "https://github.com/enarx/ciborium"
description = "serde implementation of CBOR using ciborium-basic"
Expand All @@ -23,11 +23,11 @@ is-it-maintained-open-issues = { repository = "enarx/ciborium" }
[dependencies]
ciborium-ll = { path = "../ciborium-ll", version = "0.2.2" }
ciborium-io = { path = "../ciborium-io", version = "0.2.2", features = ["alloc"] }
serde = { version = "1.0.100", default-features = false, features = ["alloc", "derive"] }
serde = { version = "1.0.170", default-features = false, features = ["alloc", "derive"] }

[dev-dependencies]
serde_bytes = "0.11"
rstest = "0.11"
rstest = "0.17"
rand = "0.8"
hex = "0.4"

Expand Down
2 changes: 1 addition & 1 deletion ciborium/src/value/canonical.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,6 @@ impl Ord for CanonicalValue {

impl PartialOrd for CanonicalValue {
fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
Some(cmp_value(&self.0, &other.0))
Some(self.cmp(other))
}
}
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
channel = "1.58"
channel = "1.70"
profile = "minimal"
components = ["rustfmt", "clippy"]

0 comments on commit bba5200

Please sign in to comment.