Skip to content

Commit

Permalink
elliptic-curve: minimum supported serde_json is v1.0.47 (#1354)
Browse files Browse the repository at this point in the history
...when resolving with `-Z minimal-versions`

This appears to be due to earlier versions of `serde_json` itself
misspecifying its required `serde` version.
  • Loading branch information
tarcieri authored Oct 2, 2023
1 parent 2c68560 commit 0c7cb34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/elliptic-curve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
toolchain: nightly
- uses: RustCrypto/actions/cargo-hack-install@master
- run: cargo update -Z minimal-versions
- run: cargo build --release --features ecdh,hash2curve,pem,std,voprf # TODO(tarcieri): test all features
- run: cargo build --release --features ecdh,hash2curve,jwk,pem,std,voprf # TODO(tarcieri): test all features

test:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion elliptic-curve/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pem-rfc7468 = { version = "0.7", optional = true, features = ["alloc"] }
pkcs8 = { version = "0.10.2", optional = true, default-features = false }
sec1 = { version = "0.7.1", optional = true, features = ["subtle", "zeroize"] }
serdect = { version = "0.2", optional = true, default-features = false, features = ["alloc"] }
serde_json = { version = "1", optional = true, default-features = false, features = ["alloc"] }
serde_json = { version = "1.0.47", optional = true, default-features = false, features = ["alloc"] }

[dev-dependencies]
hex-literal = "0.4"
Expand Down

0 comments on commit 0c7cb34

Please sign in to comment.