From c6ea21c7ca5053a7f8a1722642ca16624e5a6005 Mon Sep 17 00:00:00 2001 From: Karl Kempe Date: Tue, 31 May 2022 22:18:57 +0000 Subject: [PATCH] Add num dependency --- anchor-contributor/Cargo.lock | 68 +++++++++++++++++++ .../programs/anchor-contributor/Cargo.toml | 1 + 2 files changed, 69 insertions(+) diff --git a/anchor-contributor/Cargo.lock b/anchor-contributor/Cargo.lock index 9277ca7a..b8c71b40 100644 --- a/anchor-contributor/Cargo.lock +++ b/anchor-contributor/Cargo.lock @@ -135,6 +135,7 @@ dependencies = [ "anchor-spl", "borsh", "hex", + "num", "num-derive", "num-traits", ] @@ -766,6 +767,40 @@ dependencies = [ "libc", ] +[[package]] +name = "num" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43db66d1170d347f9a065114077f7dccb00c1b9478c89384490a3425279a4606" +dependencies = [ + "num-bigint", + "num-complex", + "num-integer", + "num-iter", + "num-rational", + "num-traits", +] + +[[package]] +name = "num-bigint" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f93ab6289c7b344a8a9f60f88d80aa20032336fe78da341afc91c8a2341fc75f" +dependencies = [ + "autocfg", + "num-integer", + "num-traits", +] + +[[package]] +name = "num-complex" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97fbc387afefefd5e9e39493299f3069e14a140dd34dc19b4c1c1a8fddb6a790" +dependencies = [ + "num-traits", +] + [[package]] name = "num-derive" version = "0.3.3" @@ -777,6 +812,39 @@ dependencies = [ "syn", ] +[[package]] +name = "num-integer" +version = "0.1.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" +dependencies = [ + "autocfg", + "num-traits", +] + +[[package]] +name = "num-iter" +version = "0.1.43" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d03e6c028c5dc5cac6e2dec0efda81fc887605bb3d884578bb6d6bf7514e252" +dependencies = [ + "autocfg", + "num-integer", + "num-traits", +] + +[[package]] +name = "num-rational" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d41702bd167c2df5520b384281bc111a4b5efcf7fbc4c9c222c815b07e0a6a6a" +dependencies = [ + "autocfg", + "num-bigint", + "num-integer", + "num-traits", +] + [[package]] name = "num-traits" version = "0.2.15" diff --git a/anchor-contributor/programs/anchor-contributor/Cargo.toml b/anchor-contributor/programs/anchor-contributor/Cargo.toml index 217e3233..3cc9c17d 100644 --- a/anchor-contributor/programs/anchor-contributor/Cargo.toml +++ b/anchor-contributor/programs/anchor-contributor/Cargo.toml @@ -25,3 +25,4 @@ num-traits = "0.2" num-derive = "0.3" borsh = "0.9.3" hex = "0.4.3" +num = "0.4"