From 9f7d04cd593ffa89adbfc9c2021e284230cabeb1 Mon Sep 17 00:00:00 2001 From: Kevin Wang Date: Mon, 17 Oct 2022 02:52:39 +0000 Subject: [PATCH] Update fixed-macro --- Cargo.lock | 15 +++++++++------ crates/phactory/Cargo.toml | 2 +- pallets/phala/Cargo.toml | 2 +- standalone/pruntime/Cargo.lock | 15 +++++++++------ 4 files changed, 20 insertions(+), 14 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 82e674f3ba..57e89903e3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2903,8 +2903,9 @@ dependencies = [ [[package]] name = "fixed-macro" -version = "1.1.1" -source = "git+https://github.com/kvinwang/fixed-macro#fe688ef1dbb350c67d4be00bb808f726439289dd" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd0c48af8cb14e02868f449f8a2187bd78af7a08da201fdc78d518ecb1675bc" dependencies = [ "fixed", "fixed-macro-impl", @@ -2913,8 +2914,9 @@ dependencies = [ [[package]] name = "fixed-macro-impl" -version = "1.1.1" -source = "git+https://github.com/kvinwang/fixed-macro#fe688ef1dbb350c67d4be00bb808f726439289dd" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c93086f471c0a1b9c5e300ea92f5cd990ac6d3f8edf27616ef624b8fa6402d4b" dependencies = [ "fixed", "paste", @@ -2926,8 +2928,9 @@ dependencies = [ [[package]] name = "fixed-macro-types" -version = "1.1.1" -source = "git+https://github.com/kvinwang/fixed-macro#fe688ef1dbb350c67d4be00bb808f726439289dd" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "044a61b034a2264a7f65aa0c3cd112a01b4d4ee58baace51fead3f21b993c7e4" dependencies = [ "fixed", "fixed-macro-impl", diff --git a/crates/phactory/Cargo.toml b/crates/phactory/Cargo.toml index fa85a8f9c1..154f7abd26 100644 --- a/crates/phactory/Cargo.toml +++ b/crates/phactory/Cargo.toml @@ -61,7 +61,7 @@ sp-core = { git = "https://github.com/paritytech/substrate", branch = "polkadot- fixed = "1.9.0" fixed-sqrt = "0.2.4" -fixed-macro = { version = "1.1", default-features = false, git = "https://github.com/kvinwang/fixed-macro" } +fixed-macro = "1.2" # for network service surf = { version = "2.3.1", default-features = false, features = ["h1-client-rustls"] } diff --git a/pallets/phala/Cargo.toml b/pallets/phala/Cargo.toml index 325994a8b3..ed91385575 100644 --- a/pallets/phala/Cargo.toml +++ b/pallets/phala/Cargo.toml @@ -36,7 +36,7 @@ hex = { version = "0.4", default-features = false } hex-literal = "0.3.4" serde_json = { version = "1.0.41", default-features = false, features = ["alloc"] } fixed = { version = "1.16.1", default-features = false } -fixed-macro = { version = "1.1", default-features = false, git = "https://github.com/kvinwang/fixed-macro" } +fixed-macro = "1.2" fixed-sqrt = { version = "0.2", default-features = false } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] diff --git a/standalone/pruntime/Cargo.lock b/standalone/pruntime/Cargo.lock index 28c260306b..0c23a79794 100644 --- a/standalone/pruntime/Cargo.lock +++ b/standalone/pruntime/Cargo.lock @@ -1659,8 +1659,9 @@ dependencies = [ [[package]] name = "fixed-macro" -version = "1.1.1" -source = "git+https://github.com/kvinwang/fixed-macro.git#fe688ef1dbb350c67d4be00bb808f726439289dd" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd0c48af8cb14e02868f449f8a2187bd78af7a08da201fdc78d518ecb1675bc" dependencies = [ "fixed", "fixed-macro-impl", @@ -1669,8 +1670,9 @@ dependencies = [ [[package]] name = "fixed-macro-impl" -version = "1.1.1" -source = "git+https://github.com/kvinwang/fixed-macro.git#fe688ef1dbb350c67d4be00bb808f726439289dd" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c93086f471c0a1b9c5e300ea92f5cd990ac6d3f8edf27616ef624b8fa6402d4b" dependencies = [ "fixed", "paste", @@ -1682,8 +1684,9 @@ dependencies = [ [[package]] name = "fixed-macro-types" -version = "1.1.1" -source = "git+https://github.com/kvinwang/fixed-macro.git#fe688ef1dbb350c67d4be00bb808f726439289dd" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "044a61b034a2264a7f65aa0c3cd112a01b4d4ee58baace51fead3f21b993c7e4" dependencies = [ "fixed", "fixed-macro-impl",