Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update MSRV, half #103

Merged
merged 1 commit into from
Feb 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
fail-fast: false
matrix:
toolchain:
- 1.58.0
- 1.70.0
- stable
- beta
- nightly
Expand Down
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"]
Loading