Skip to content

Commit

Permalink
chore: update crates to latest versions (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-mysten authored Sep 29, 2024
1 parent 18bae13 commit 7363454
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 23 deletions.
16 changes: 8 additions & 8 deletions crates/sui-crypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,28 +61,28 @@ k256 = { version = "0.13.4", default-features = false, features = ["ecdsa"], opt

# zklogin verification support
ark-bn254 = { version = "0.4.0", optional = true }
ark-ff = { version = "0.4.1", features = ["asm"], optional = true }
ark-ff = { version = "0.4.2", features = ["asm"], optional = true }
ark-groth16 = { version = "0.4.0", default-features = false, optional = true }
ark-snark = { version = "0.4.0", optional = true }
ark-std = { version = "0.4.0", optional = true }
base64ct = { version = "1.6.0", features = ["alloc"], optional = true }
bnum = { version = "0.11.0", optional = true }
itertools = { version = "0.10.5", optional = true }
serde = { version = "1.0.190", optional = true }
serde_derive = { version = "1.0.190", optional = true }
serde_json = { version = "1.0.114", optional = true }
bnum = { version = "0.12.0", optional = true }
itertools = { version = "0.13.0", optional = true }
serde = { version = "1.0.210", optional = true }
serde_derive = { version = "1.0.210", optional = true }
serde_json = { version = "1.0.128", optional = true }

[dev-dependencies]
bcs = { version = "0.1.6" }
hex = "0.4.3"
serde_json = { version = "1.0.114" }
serde_json = { version = "1.0.128" }

# proptest support in tests
#
# Pin to this specific commit in order to work around an issue where proptest doesn't build properly in wasm environments
# see https://github.com/proptest-rs/proptest/pull/270 for more info
proptest = { git = "https://github.com/bmwill/proptest.git", rev = "bc36db126183bce18c8bc595f0c0cfeac48b870c", default-features = false, features = ["std"] }
test-strategy = "0.3.1"
test-strategy = "0.4.0"

[target.wasm32-unknown-unknown.dev-dependencies]
wasm-bindgen-test = "0.3"
Expand Down
10 changes: 5 additions & 5 deletions crates/sui-graphql-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ readme = "README.md"
description = "Sui GraphQL RPC Client for the Sui Blockchain"

[dependencies]
anyhow = "1.0.86"
async-trait = "0.1.81"
anyhow = "1.0.8"
async-trait = "0.1.8"
base64ct = { version = "1.6.0", features = ["alloc"] }
bcs = "0.1.6"
chrono = { version = "0.4.38" }
cynic = { version = "3.7.3" }
cynic = { version = "3.8.0" }
reqwest = { version = "0.12", features = ["json"] }
sui-types = { package = "sui-sdk-types", path = "../sui-sdk-types", features = ["serde"] }
tokio = { version = "1.39.2", features = ["full"] }
tokio = { version = "1.40.0", features = ["full"] }

[build-dependencies]
cynic-codegen = { version = "3.7.3" }
cynic-codegen = { version = "3.8.0" }

18 changes: 9 additions & 9 deletions crates/sui-sdk-types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ base64ct = { version = "1.6.0", features = ["alloc"] }
bs58 = "0.5.1"
hex = "0.4.3"
roaring = { version = "0.10.6", default-features = false }
bnum = "0.11.0"
winnow = "0.6.18"
bnum = "0.12.0"
winnow = "0.6.20"

# Serialization and Deserialization support
serde = { version = "1.0.190", optional = true }
serde_derive = { version = "1.0.190", optional = true }
serde = { version = "1.0.210", optional = true }
serde_derive = { version = "1.0.210", optional = true }
serde_with = { version = "3.9", default-features = false, features = ["alloc"], optional = true }
bcs = { version = "0.1.6", optional = true }
serde_json = { version = "1.0.114", optional = true }
serde_json = { version = "1.0.128", optional = true }

# JsonSchema definitions for types, useful for generating an OpenAPI Specificaiton.
schemars = { version = "0.8.21", optional = true }
Expand All @@ -54,17 +54,17 @@ blake2 = { version = "0.10.6", optional = true }

[dev-dependencies]
bcs = "0.1.6"
serde_json = "1.0.114"
num-bigint = "0.4.4"
jsonschema = { version = "0.18", default-features = false }
serde_json = "1.0.128"
num-bigint = "0.4.6"
jsonschema = { version = "0.20", default-features = false }
paste = "1.0.15"

# proptest support in tests
#
# Pin to this specific commit in order to work around an issue where proptest doesn't build properly in wasm environments
# see https://github.com/proptest-rs/proptest/pull/270 for more info
proptest = { git = "https://github.com/bmwill/proptest.git", rev = "bc36db126183bce18c8bc595f0c0cfeac48b870c", default-features = false, features = ["std"] }
test-strategy = "0.3.1"
test-strategy = "0.4"

[target.wasm32-unknown-unknown.dev-dependencies]
wasm-bindgen-test = "0.3"
Expand Down
2 changes: 1 addition & 1 deletion crates/sui-sdk-types/src/types/serialization_proptests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ where
{
let root_schema = schemars::gen::SchemaGenerator::default().into_root_schema_for::<T>();
let schema = serde_json::json!(root_schema);
let compiled = jsonschema::JSONSchema::compile(&schema).unwrap();
let compiled = jsonschema::Validator::new(&schema).unwrap();
let instance = serde_json::json!(instance);

let result = compiled.validate(&instance);
Expand Down

0 comments on commit 7363454

Please sign in to comment.