From: Matthieu Date: Sun, 19 Sep 2021 15:29:13 +0000 (+0400) Subject: cargo deps X-Git-Tag: v0.1~64^2^2~8 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=29bd21ac3268186201c0d05f8c93d97bfb4b4d49;p=matthieu%2Fnova.git cargo deps --- diff --git a/cargo/crates.bzl b/cargo/crates.bzl index c7e06d0..137032e 100644 --- a/cargo/crates.bzl +++ b/cargo/crates.bzl @@ -46,6 +46,8 @@ _DEPENDENCIES = { "futures-core": "@raze__futures_core__0_3_17//:futures_core", "futures-util": "@raze__futures_util__0_3_17//:futures_util", "log": "@raze__log__0_4_14//:log", + "num": "@raze__num__0_4_0//:num", + "num-traits": "@raze__num_traits__0_2_14//:num_traits", "pretty_env_logger": "@raze__pretty_env_logger__0_4_0//:pretty_env_logger", "serde": "@raze__serde__1_0_130//:serde", "serde_json": "@raze__serde_json__1_0_67//:serde_json", @@ -76,6 +78,8 @@ _PROC_MACRO_DEPENDENCIES = { "ratelimiter": { }, "gateway": { + "async-trait": "@raze__async_trait__0_1_51//:async_trait", + "num-derive": "@raze__num_derive__0_3_3//:num_derive", "serde_repr": "@raze__serde_repr__0_1_7//:serde_repr", }, "cache": { @@ -1452,6 +1456,46 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.nuid-0.3.0.bazel"), ) + maybe( + http_archive, + name = "raze__num__0_4_0", + url = "https://crates.io/api/v1/crates/num/0.4.0/download", + type = "tar.gz", + sha256 = "43db66d1170d347f9a065114077f7dccb00c1b9478c89384490a3425279a4606", + strip_prefix = "num-0.4.0", + build_file = Label("//cargo/remote:BUILD.num-0.4.0.bazel"), + ) + + maybe( + http_archive, + name = "raze__num_bigint__0_4_2", + url = "https://crates.io/api/v1/crates/num-bigint/0.4.2/download", + type = "tar.gz", + sha256 = "74e768dff5fb39a41b3bcd30bb25cf989706c90d028d1ad71971987aa309d535", + strip_prefix = "num-bigint-0.4.2", + build_file = Label("//cargo/remote:BUILD.num-bigint-0.4.2.bazel"), + ) + + maybe( + http_archive, + name = "raze__num_complex__0_4_0", + url = "https://crates.io/api/v1/crates/num-complex/0.4.0/download", + type = "tar.gz", + sha256 = "26873667bbbb7c5182d4a37c1add32cdf09f841af72da53318fdb81543c15085", + strip_prefix = "num-complex-0.4.0", + build_file = Label("//cargo/remote:BUILD.num-complex-0.4.0.bazel"), + ) + + maybe( + http_archive, + name = "raze__num_derive__0_3_3", + url = "https://crates.io/api/v1/crates/num-derive/0.3.3/download", + type = "tar.gz", + sha256 = "876a53fff98e03a936a674b29568b0e605f06b29372c2489ff4de23f1949743d", + strip_prefix = "num-derive-0.3.3", + build_file = Label("//cargo/remote:BUILD.num-derive-0.3.3.bazel"), + ) + maybe( http_archive, name = "raze__num_integer__0_1_44", @@ -1462,6 +1506,26 @@ def raze_fetch_remote_crates(): build_file = Label("//cargo/remote:BUILD.num-integer-0.1.44.bazel"), ) + maybe( + http_archive, + name = "raze__num_iter__0_1_42", + url = "https://crates.io/api/v1/crates/num-iter/0.1.42/download", + type = "tar.gz", + sha256 = "b2021c8337a54d21aca0d59a92577a029af9431cb59b909b03252b9c164fad59", + strip_prefix = "num-iter-0.1.42", + build_file = Label("//cargo/remote:BUILD.num-iter-0.1.42.bazel"), + ) + + maybe( + http_archive, + name = "raze__num_rational__0_4_0", + url = "https://crates.io/api/v1/crates/num-rational/0.4.0/download", + type = "tar.gz", + sha256 = "d41702bd167c2df5520b384281bc111a4b5efcf7fbc4c9c222c815b07e0a6a6a", + strip_prefix = "num-rational-0.4.0", + build_file = Label("//cargo/remote:BUILD.num-rational-0.4.0.bazel"), + ) + maybe( http_archive, name = "raze__num_traits__0_1_43", diff --git a/cargo/remote/BUILD.num-0.4.0.bazel b/cargo/remote/BUILD.num-0.4.0.bazel new file mode 100644 index 0000000..8409859 --- /dev/null +++ b/cargo/remote/BUILD.num-0.4.0.bazel @@ -0,0 +1,62 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +rust_library( + name = "num", + srcs = glob(["**/*.rs"]), + crate_features = [ + "default", + "num-bigint", + "std", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.4.0", + # buildifier: leave-alone + deps = [ + "@raze__num_bigint__0_4_2//:num_bigint", + "@raze__num_complex__0_4_0//:num_complex", + "@raze__num_integer__0_1_44//:num_integer", + "@raze__num_iter__0_1_42//:num_iter", + "@raze__num_rational__0_4_0//:num_rational", + "@raze__num_traits__0_2_14//:num_traits", + ], +) diff --git a/cargo/remote/BUILD.num-bigint-0.4.2.bazel b/cargo/remote/BUILD.num-bigint-0.4.2.bazel new file mode 100644 index 0000000..eb2b157 --- /dev/null +++ b/cargo/remote/BUILD.num-bigint-0.4.2.bazel @@ -0,0 +1,112 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets +# buildifier: disable=out-of-order-load +# buildifier: disable=load-on-top +load( + "@rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "num_bigint_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + "std", + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.4.2", + visibility = ["//visibility:private"], + deps = [ + "@raze__autocfg__1_0_1//:autocfg", + ], +) + +# Unsupported target "bigint" with type "bench" omitted + +# Unsupported target "factorial" with type "bench" omitted + +# Unsupported target "gcd" with type "bench" omitted + +# Unsupported target "roots" with type "bench" omitted + +# Unsupported target "shootout-pidigits" with type "bench" omitted + +rust_library( + name = "num_bigint", + srcs = glob(["**/*.rs"]), + crate_features = [ + "std", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.4.2", + # buildifier: leave-alone + deps = [ + ":num_bigint_build_script", + "@raze__num_integer__0_1_44//:num_integer", + "@raze__num_traits__0_2_14//:num_traits", + ], +) + +# Unsupported target "bigint" with type "test" omitted + +# Unsupported target "bigint_bitwise" with type "test" omitted + +# Unsupported target "bigint_scalar" with type "test" omitted + +# Unsupported target "biguint" with type "test" omitted + +# Unsupported target "biguint_scalar" with type "test" omitted + +# Unsupported target "modpow" with type "test" omitted + +# Unsupported target "roots" with type "test" omitted diff --git a/cargo/remote/BUILD.num-complex-0.4.0.bazel b/cargo/remote/BUILD.num-complex-0.4.0.bazel new file mode 100644 index 0000000..4e32b7b --- /dev/null +++ b/cargo/remote/BUILD.num-complex-0.4.0.bazel @@ -0,0 +1,55 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +rust_library( + name = "num_complex", + srcs = glob(["**/*.rs"]), + crate_features = [ + "std", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.4.0", + # buildifier: leave-alone + deps = [ + "@raze__num_traits__0_2_14//:num_traits", + ], +) diff --git a/cargo/remote/BUILD.num-derive-0.3.3.bazel b/cargo/remote/BUILD.num-derive-0.3.3.bazel new file mode 100644 index 0000000..d2afb67 --- /dev/null +++ b/cargo/remote/BUILD.num-derive-0.3.3.bazel @@ -0,0 +1,74 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets + +rust_library( + name = "num_derive", + srcs = glob(["**/*.rs"]), + crate_features = [ + ], + crate_root = "src/lib.rs", + crate_type = "proc-macro", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.3.3", + # buildifier: leave-alone + deps = [ + "@raze__proc_macro2__1_0_29//:proc_macro2", + "@raze__quote__1_0_9//:quote", + "@raze__syn__1_0_76//:syn", + ], +) + +# Unsupported target "empty_enum" with type "test" omitted + +# Unsupported target "issue-6" with type "test" omitted + +# Unsupported target "issue-9" with type "test" omitted + +# Unsupported target "newtype" with type "test" omitted + +# Unsupported target "newtype-2015" with type "test" omitted + +# Unsupported target "num_derive_without_num" with type "test" omitted + +# Unsupported target "trivial" with type "test" omitted + +# Unsupported target "trivial-2015" with type "test" omitted + +# Unsupported target "with_custom_values" with type "test" omitted diff --git a/cargo/remote/BUILD.num-integer-0.1.44.bazel b/cargo/remote/BUILD.num-integer-0.1.44.bazel index 51f2ad6..8f9a78e 100644 --- a/cargo/remote/BUILD.num-integer-0.1.44.bazel +++ b/cargo/remote/BUILD.num-integer-0.1.44.bazel @@ -42,6 +42,8 @@ cargo_build_script( build_script_env = { }, crate_features = [ + "i128", + "std", ], crate_root = "build.rs", data = glob(["**"]), @@ -70,6 +72,8 @@ rust_library( name = "num_integer", srcs = glob(["**/*.rs"]), crate_features = [ + "i128", + "std", ], crate_root = "src/lib.rs", crate_type = "lib", diff --git a/cargo/remote/BUILD.num-iter-0.1.42.bazel b/cargo/remote/BUILD.num-iter-0.1.42.bazel new file mode 100644 index 0000000..ecf8946 --- /dev/null +++ b/cargo/remote/BUILD.num-iter-0.1.42.bazel @@ -0,0 +1,90 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets +# buildifier: disable=out-of-order-load +# buildifier: disable=load-on-top +load( + "@rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "num_iter_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + "i128", + "std", + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.1.42", + visibility = ["//visibility:private"], + deps = [ + "@raze__autocfg__1_0_1//:autocfg", + ], +) + +rust_library( + name = "num_iter", + srcs = glob(["**/*.rs"]), + crate_features = [ + "i128", + "std", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2015", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.1.42", + # buildifier: leave-alone + deps = [ + ":num_iter_build_script", + "@raze__num_integer__0_1_44//:num_integer", + "@raze__num_traits__0_2_14//:num_traits", + ], +) diff --git a/cargo/remote/BUILD.num-rational-0.4.0.bazel b/cargo/remote/BUILD.num-rational-0.4.0.bazel new file mode 100644 index 0000000..6d9ef28 --- /dev/null +++ b/cargo/remote/BUILD.num-rational-0.4.0.bazel @@ -0,0 +1,93 @@ +""" +@generated +cargo-raze crate build file. + +DO NOT EDIT! Replaced on runs of cargo-raze +""" + +# buildifier: disable=load +load("@bazel_skylib//lib:selects.bzl", "selects") + +# buildifier: disable=load +load( + "@rules_rust//rust:rust.bzl", + "rust_binary", + "rust_library", + "rust_test", +) + +package(default_visibility = [ + # Public for visibility by "@raze__crate__version//" targets. + # + # Prefer access through "//cargo", which limits external + # visibility to explicit Cargo.toml dependencies. + "//visibility:public", +]) + +licenses([ + "notice", # MIT from expression "MIT OR Apache-2.0" +]) + +# Generated Targets +# buildifier: disable=out-of-order-load +# buildifier: disable=load-on-top +load( + "@rules_rust//cargo:cargo_build_script.bzl", + "cargo_build_script", +) + +cargo_build_script( + name = "num_rational_build_script", + srcs = glob(["**/*.rs"]), + build_script_env = { + }, + crate_features = [ + "num-bigint", + "num-bigint-std", + "std", + ], + crate_root = "build.rs", + data = glob(["**"]), + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.4.0", + visibility = ["//visibility:private"], + deps = [ + "@raze__autocfg__1_0_1//:autocfg", + ], +) + +rust_library( + name = "num_rational", + srcs = glob(["**/*.rs"]), + crate_features = [ + "num-bigint", + "num-bigint-std", + "std", + ], + crate_root = "src/lib.rs", + crate_type = "lib", + data = [], + edition = "2018", + rustc_flags = [ + "--cap-lints=allow", + ], + tags = [ + "cargo-raze", + "manual", + ], + version = "0.4.0", + # buildifier: leave-alone + deps = [ + ":num_rational_build_script", + "@raze__num_bigint__0_4_2//:num_bigint", + "@raze__num_integer__0_1_44//:num_integer", + "@raze__num_traits__0_2_14//:num_traits", + ], +) diff --git a/cargo/remote/BUILD.num-traits-0.2.14.bazel b/cargo/remote/BUILD.num-traits-0.2.14.bazel index 1e6e653..dc9a697 100644 --- a/cargo/remote/BUILD.num-traits-0.2.14.bazel +++ b/cargo/remote/BUILD.num-traits-0.2.14.bazel @@ -43,6 +43,7 @@ cargo_build_script( }, crate_features = [ "default", + "i128", "std", ], crate_root = "build.rs", @@ -67,6 +68,7 @@ rust_library( srcs = glob(["**/*.rs"]), crate_features = [ "default", + "i128", "std", ], crate_root = "src/lib.rs", diff --git a/gateway/cargo/BUILD.bazel b/gateway/cargo/BUILD.bazel index 9f1d69e..ed47b60 100644 --- a/gateway/cargo/BUILD.bazel +++ b/gateway/cargo/BUILD.bazel @@ -30,6 +30,15 @@ alias( ], ) +alias( + name = "async_trait", + actual = "@raze__async_trait__0_1_51//:async_trait", + tags = [ + "cargo-raze", + "manual", + ], +) + alias( name = "enumflags2", actual = "@raze__enumflags2__0_7_1//:enumflags2", @@ -84,6 +93,33 @@ alias( ], ) +alias( + name = "num", + actual = "@raze__num__0_4_0//:num", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "num_derive", + actual = "@raze__num_derive__0_3_3//:num_derive", + tags = [ + "cargo-raze", + "manual", + ], +) + +alias( + name = "num_traits", + actual = "@raze__num_traits__0_2_14//:num_traits", + tags = [ + "cargo-raze", + "manual", + ], +) + alias( name = "pretty_env_logger", actual = "@raze__pretty_env_logger__0_4_0//:pretty_env_logger",