diff --git a/Cargo.lock b/Cargo.lock index 6c4189256..b896c0e27 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -893,7 +893,7 @@ dependencies = [ "ink_metadata", "jsonschema", "predicates", - "primitive-types", + "primitive-types 0.13.1", "regex", "schemars", "semver", @@ -1178,7 +1178,7 @@ dependencies = [ "duct", "heck 0.5.0", "hex", - "impl-serde", + "impl-serde 0.4.0", "parity-scale-codec", "pretty_assertions", "regex", @@ -1247,7 +1247,7 @@ name = "contract-metadata" version = "5.0.0-alpha" dependencies = [ "anyhow", - "impl-serde", + "impl-serde 0.4.0", "pretty_assertions", "semver", "serde", @@ -1274,7 +1274,7 @@ dependencies = [ "nom", "nom-supreme", "parity-scale-codec", - "primitive-types", + "primitive-types 0.13.1", "scale-info", "serde", "serde_json", @@ -2798,6 +2798,15 @@ dependencies = [ "parity-scale-codec", ] +[[package]] +name = "impl-codec" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b67aa010c1e3da95bf151bd8b4c059b2ed7e75387cdb969b4f8f2723a43f9941" +dependencies = [ + "parity-scale-codec", +] + [[package]] name = "impl-serde" version = "0.4.0" @@ -2807,6 +2816,15 @@ dependencies = [ "serde", ] +[[package]] +name = "impl-serde" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a143eada6a1ec4aefa5049037a26a6d597bfd64f8c026d07b77133e02b7dd0b" +dependencies = [ + "serde", +] + [[package]] name = "impl-trait-for-tuples" version = "0.2.2" @@ -2889,7 +2907,7 @@ dependencies = [ "derive_more 0.99.18", "either", "heck 0.4.1", - "impl-serde", + "impl-serde 0.4.0", "ink_ir", "ink_primitives", "itertools 0.12.1", @@ -2955,7 +2973,7 @@ checksum = "3b1ad2975551c4ed800af971289ed6d2c68ac41ffc03a42010b3e01d7360dfb2" dependencies = [ "blake2", "either", - "impl-serde", + "impl-serde 0.4.0", "ink_prelude", "itertools 0.12.1", "proc-macro2", @@ -2986,7 +3004,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a98fcc0ff9292ff68c7ee7b84c93533c9ff13859ec3b148faa822e2da9954fe6" dependencies = [ "derive_more 0.99.18", - "impl-serde", + "impl-serde 0.4.0", "ink_prelude", "ink_primitives", "linkme", @@ -4258,10 +4276,23 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b34d9fd68ae0b74a41b21c03c2f62847aa0ffea044eee893b4c140b37e244e2" dependencies = [ "fixed-hash", - "impl-codec", - "impl-serde", + "impl-codec 0.6.0", + "impl-serde 0.4.0", + "scale-info", + "uint 0.9.5", +] + +[[package]] +name = "primitive-types" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d15600a7d856470b7d278b3fe0e311fe28c2526348549f8ef2ff7db3299c87f5" +dependencies = [ + "fixed-hash", + "impl-codec 0.7.0", + "impl-serde 0.5.0", "scale-info", - "uint", + "uint 0.10.0", ] [[package]] @@ -4874,7 +4905,7 @@ checksum = "e98f3262c250d90e700bb802eb704e1f841e03331c2eb815e46516c4edbf5b27" dependencies = [ "derive_more 0.99.18", "parity-scale-codec", - "primitive-types", + "primitive-types 0.12.2", "scale-bits 0.6.0", "scale-decode-derive 0.13.1", "scale-type-resolver", @@ -4927,7 +4958,7 @@ checksum = "528464e6ae6c8f98e2b79633bf79ef939552e795e316579dab09c61670d56602" dependencies = [ "derive_more 0.99.18", "parity-scale-codec", - "primitive-types", + "primitive-types 0.12.2", "scale-bits 0.6.0", "scale-encode-derive 0.7.2", "scale-type-resolver", @@ -5657,7 +5688,7 @@ dependencies = [ "futures", "hash-db", "hash256-std-hasher", - "impl-serde", + "impl-serde 0.4.0", "itertools 0.10.5", "k256", "libsecp256k1", @@ -5667,7 +5698,7 @@ dependencies = [ "parity-scale-codec", "parking_lot", "paste", - "primitive-types", + "primitive-types 0.12.2", "rand", "scale-info", "schnorrkel", @@ -5821,7 +5852,7 @@ dependencies = [ "impl-trait-for-tuples", "parity-scale-codec", "polkavm-derive 0.8.0", - "primitive-types", + "primitive-types 0.12.2", "sp-externalities", "sp-runtime-interface-proc-macro", "sp-std", @@ -5879,7 +5910,7 @@ version = "20.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8dba5791cb3978e95daf99dad919ecb3ec35565604e88cd38d805d9d4981e8bd" dependencies = [ - "impl-serde", + "impl-serde 0.4.0", "parity-scale-codec", "ref-cast", "serde", @@ -6091,11 +6122,11 @@ dependencies = [ "frame-metadata 16.0.0", "futures", "hex", - "impl-serde", + "impl-serde 0.4.0", "instant", "jsonrpsee 0.22.5", "parity-scale-codec", - "primitive-types", + "primitive-types 0.12.2", "reconnecting-jsonrpsee-ws-client", "scale-bits 0.6.0", "scale-decode 0.13.1", @@ -6148,9 +6179,9 @@ dependencies = [ "frame-metadata 16.0.0", "hashbrown 0.14.5", "hex", - "impl-serde", + "impl-serde 0.4.0", "parity-scale-codec", - "primitive-types", + "primitive-types 0.12.2", "scale-bits 0.6.0", "scale-decode 0.13.1", "scale-encode 0.7.2", @@ -6741,6 +6772,18 @@ dependencies = [ "static_assertions", ] +[[package]] +name = "uint" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "909988d098b2f738727b161a106cfc7cab00c539c2687a8836f8e565976fb53e" +dependencies = [ + "byteorder", + "crunchy", + "hex", + "static_assertions", +] + [[package]] name = "unicode-ident" version = "1.0.13" diff --git a/crates/cargo-contract/Cargo.toml b/crates/cargo-contract/Cargo.toml index ce8201fa7..4126277e5 100644 --- a/crates/cargo-contract/Cargo.toml +++ b/crates/cargo-contract/Cargo.toml @@ -26,7 +26,7 @@ contract-analyze = { version = "5.0.0-alpha", path = "../analyze" } anyhow = "1.0.83" clap = { version = "4.5.4", features = ["derive", "env"] } -primitive-types = { version = "0.12.2", default-features = false, features = ["codec", "scale-info", "serde"] } +primitive-types = { version = "0.13.1", default-features = false, features = ["codec", "scale-info", "serde"] } tracing = "0.1.40" tracing-subscriber = { version = "0.3.18", features = ["env-filter"] } which = "6.0.1" diff --git a/crates/transcode/Cargo.toml b/crates/transcode/Cargo.toml index f16a2dde5..453073c92 100644 --- a/crates/transcode/Cargo.toml +++ b/crates/transcode/Cargo.toml @@ -30,7 +30,7 @@ itertools = "0.13.0" tracing = "0.1.40" nom = "7.1.3" nom-supreme = { version = "0.7.0", features = ["error"] } -primitive-types = { version = "0.12.2", default-features = false, features = ["codec", "scale-info", "serde"] } +primitive-types = { version = "0.13.1", default-features = false, features = ["codec", "scale-info", "serde"] } scale = { package = "parity-scale-codec", version = "3.0.0", features = ["derive"] } scale-info = { version = "2.11.3", default-features = false, features = ["derive"] } serde = { version = "1.0.202", default-features = false, features = ["derive"] }