-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add cargo-raze build files for grpc-rust crate
This is a preliminary work for Rust support. This the result of running cargo raze on the grpc-rust crate at the 0.4.0 version with protobuf crates removed (since we import them directly).
- Loading branch information
Showing
109 changed files
with
5,231 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
""" | ||
cargo-raze crate build file. | ||
|
||
DO NOT EDIT! Replaced on runs of cargo-raze | ||
""" | ||
package(default_visibility = ["//visibility:public"]) | ||
|
||
licenses([ | ||
"notice", # "MIT" | ||
"unencumbered", # "Unlicense" | ||
]) | ||
|
||
load( | ||
"@io_bazel_rules_rust//rust:rust.bzl", | ||
"rust_library", | ||
"rust_binary", | ||
"rust_test", | ||
"rust_bench_test", | ||
) | ||
|
||
rust_binary( | ||
# Prefix bin name to disambiguate from (probable) collision with lib name | ||
# N.B.: The exact form of this is subject to change. | ||
name = "cargo_bin_aho_corasick_dot", | ||
crate_root = "src/main.rs", | ||
srcs = glob(["**/*.rs"]), | ||
deps = [ | ||
# Binaries get an implicit dependency on their lib | ||
":aho_corasick", | ||
"@raze__memchr__2_0_1//:memchr", | ||
], | ||
rustc_flags = [ | ||
"--cap-lints allow", | ||
"--target=x86_64-unknown-linux-gnu", | ||
], | ||
crate_features = [ | ||
], | ||
) | ||
|
||
|
||
rust_library( | ||
name = "aho_corasick", | ||
crate_root = "src/lib.rs", | ||
crate_type = "lib", | ||
srcs = glob(["**/*.rs"]), | ||
deps = [ | ||
"@raze__memchr__2_0_1//:memchr", | ||
], | ||
rustc_flags = [ | ||
"--cap-lints allow", | ||
"--target=x86_64-unknown-linux-gnu", | ||
], | ||
crate_features = [ | ||
], | ||
) | ||
|
||
# Unsupported target "bench" with type "bench" omitted | ||
# Unsupported target "dict-search" with type "example" omitted |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
""" | ||
cargo-raze crate build file. | ||
|
||
DO NOT EDIT! Replaced on runs of cargo-raze | ||
""" | ||
package(default_visibility = ["//visibility:public"]) | ||
|
||
licenses([ | ||
"notice", # "MIT" | ||
]) | ||
|
||
load( | ||
"@io_bazel_rules_rust//rust:rust.bzl", | ||
"rust_library", | ||
"rust_binary", | ||
"rust_test", | ||
"rust_bench_test", | ||
) | ||
|
||
|
||
rust_library( | ||
name = "ansi_term", | ||
crate_root = "src/lib.rs", | ||
crate_type = "lib", | ||
srcs = glob(["**/*.rs"]), | ||
deps = [ | ||
], | ||
rustc_flags = [ | ||
"--cap-lints allow", | ||
"--target=x86_64-unknown-linux-gnu", | ||
], | ||
crate_features = [ | ||
], | ||
) | ||
|
||
# Unsupported target "colours" with type "example" omitted |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
""" | ||
cargo-raze crate build file. | ||
|
||
DO NOT EDIT! Replaced on runs of cargo-raze | ||
""" | ||
package(default_visibility = ["//visibility:public"]) | ||
|
||
licenses([ | ||
"notice", # "MIT,Apache-2.0" | ||
]) | ||
|
||
load( | ||
"@io_bazel_rules_rust//rust:rust.bzl", | ||
"rust_library", | ||
"rust_binary", | ||
"rust_test", | ||
"rust_bench_test", | ||
) | ||
|
||
# Unsupported target "arraystring" with type "bench" omitted | ||
|
||
rust_library( | ||
name = "arrayvec", | ||
crate_root = "src/lib.rs", | ||
crate_type = "lib", | ||
srcs = glob(["**/*.rs"]), | ||
deps = [ | ||
"@raze__nodrop__0_1_12//:nodrop", | ||
], | ||
rustc_flags = [ | ||
"--cap-lints allow", | ||
"--target=x86_64-unknown-linux-gnu", | ||
], | ||
crate_features = [ | ||
], | ||
) | ||
|
||
# Unsupported target "extend" with type "bench" omitted | ||
# Unsupported target "serde" with type "test" omitted | ||
# Unsupported target "tests" with type "test" omitted |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
""" | ||
cargo-raze crate build file. | ||
|
||
DO NOT EDIT! Replaced on runs of cargo-raze | ||
""" | ||
package(default_visibility = ["//visibility:public"]) | ||
|
||
licenses([ | ||
"notice", # "MIT" | ||
]) | ||
|
||
load( | ||
"@io_bazel_rules_rust//rust:rust.bzl", | ||
"rust_library", | ||
"rust_binary", | ||
"rust_test", | ||
"rust_bench_test", | ||
) | ||
|
||
# Unsupported target "atty" with type "example" omitted | ||
|
||
rust_library( | ||
name = "atty", | ||
crate_root = "src/lib.rs", | ||
crate_type = "lib", | ||
srcs = glob(["**/*.rs"]), | ||
deps = [ | ||
"@raze__libc__0_2_41//:libc", | ||
], | ||
rustc_flags = [ | ||
"--cap-lints allow", | ||
"--target=x86_64-unknown-linux-gnu", | ||
], | ||
crate_features = [ | ||
], | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
""" | ||
cargo-raze crate build file. | ||
|
||
DO NOT EDIT! Replaced on runs of cargo-raze | ||
""" | ||
package(default_visibility = ["//visibility:public"]) | ||
|
||
licenses([ | ||
"notice", # "MIT,Apache-2.0" | ||
]) | ||
|
||
load( | ||
"@io_bazel_rules_rust//rust:rust.bzl", | ||
"rust_bench_test", | ||
"rust_binary", | ||
"rust_library", | ||
"rust_test", | ||
) | ||
|
||
rust_library( | ||
name = "base64", | ||
crate_root = "src/lib.rs", | ||
crate_type = "lib", | ||
srcs = glob(["**/*.rs"]), | ||
deps = [ | ||
"@raze__byteorder__1_2_3//:byteorder", | ||
"@raze__safemem__0_2_0//:safemem", | ||
], | ||
rustc_flags = [ | ||
"--cap-lints allow", | ||
"--target=x86_64-unknown-linux-gnu", | ||
], | ||
crate_features = [ | ||
], | ||
) | ||
|
||
# Unsupported target "benchmarks" with type "bench" omitted | ||
# Unsupported target "decode" with type "test" omitted | ||
# Unsupported target "encode" with type "test" omitted | ||
# Unsupported target "helpers" with type "test" omitted | ||
# Unsupported target "make_tables" with type "example" omitted | ||
# Unsupported target "tests" with type "test" omitted |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
""" | ||
cargo-raze crate build file. | ||
|
||
DO NOT EDIT! Replaced on runs of cargo-raze | ||
""" | ||
package(default_visibility = ["//visibility:public"]) | ||
|
||
licenses([ | ||
"notice", # "MIT,Apache-2.0" | ||
]) | ||
|
||
load( | ||
"@io_bazel_rules_rust//rust:rust.bzl", | ||
"rust_library", | ||
"rust_binary", | ||
"rust_test", | ||
"rust_bench_test", | ||
) | ||
|
||
|
||
rust_library( | ||
name = "bitflags", | ||
crate_root = "src/lib.rs", | ||
crate_type = "lib", | ||
srcs = glob(["**/*.rs"]), | ||
deps = [ | ||
], | ||
rustc_flags = [ | ||
"--cap-lints allow", | ||
"--target=x86_64-unknown-linux-gnu", | ||
], | ||
crate_features = [ | ||
"default", | ||
"example_generated", | ||
], | ||
) | ||
|
||
# Unsupported target "conflicting_trait_impls" with type "test" omitted | ||
# Unsupported target "external" with type "test" omitted | ||
# Unsupported target "external_no_std" with type "test" omitted | ||
# Unsupported target "i128_bitflags" with type "test" omitted |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
""" | ||
cargo-raze crate build file. | ||
|
||
DO NOT EDIT! Replaced on runs of cargo-raze | ||
""" | ||
package(default_visibility = ["//visibility:public"]) | ||
|
||
licenses([ | ||
"notice", # "MIT,Apache-2.0" | ||
]) | ||
|
||
load( | ||
"@io_bazel_rules_rust//rust:rust.bzl", | ||
"rust_library", | ||
"rust_binary", | ||
"rust_test", | ||
"rust_bench_test", | ||
) | ||
|
||
|
||
rust_library( | ||
name = "bitflags", | ||
crate_root = "src/lib.rs", | ||
crate_type = "lib", | ||
srcs = glob(["**/*.rs"]), | ||
deps = [ | ||
], | ||
rustc_flags = [ | ||
"--cap-lints allow", | ||
"--target=x86_64-unknown-linux-gnu", | ||
], | ||
crate_features = [ | ||
"default", | ||
], | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
""" | ||
cargo-raze crate build file. | ||
|
||
DO NOT EDIT! Replaced on runs of cargo-raze | ||
""" | ||
package(default_visibility = ["//visibility:public"]) | ||
|
||
licenses([ | ||
"notice", # "MIT" | ||
"unencumbered", # "Unlicense" | ||
]) | ||
|
||
load( | ||
"@io_bazel_rules_rust//rust:rust.bzl", | ||
"rust_library", | ||
"rust_binary", | ||
"rust_test", | ||
"rust_bench_test", | ||
) | ||
|
||
# Unsupported target "bench" with type "bench" omitted | ||
|
||
rust_library( | ||
name = "byteorder", | ||
crate_root = "src/lib.rs", | ||
crate_type = "lib", | ||
srcs = glob(["**/*.rs"]), | ||
deps = [ | ||
], | ||
rustc_flags = [ | ||
"--cap-lints allow", | ||
"--target=x86_64-unknown-linux-gnu", | ||
], | ||
crate_features = [ | ||
"default", | ||
"std", | ||
], | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
""" | ||
cargo-raze crate build file. | ||
|
||
DO NOT EDIT! Replaced on runs of cargo-raze | ||
""" | ||
package(default_visibility = ["//visibility:public"]) | ||
|
||
licenses([ | ||
"notice", # "MIT,Apache-2.0" | ||
]) | ||
|
||
load( | ||
"@io_bazel_rules_rust//rust:rust.bzl", | ||
"rust_library", | ||
"rust_binary", | ||
"rust_test", | ||
"rust_bench_test", | ||
) | ||
|
||
# Unsupported target "bytes" with type "bench" omitted | ||
|
||
rust_library( | ||
name = "bytes", | ||
crate_root = "src/lib.rs", | ||
crate_type = "lib", | ||
srcs = glob(["**/*.rs"]), | ||
deps = [ | ||
"@raze__byteorder__1_2_3//:byteorder", | ||
"@raze__iovec__0_1_2//:iovec", | ||
], | ||
rustc_flags = [ | ||
"--cap-lints allow", | ||
"--target=x86_64-unknown-linux-gnu", | ||
], | ||
crate_features = [ | ||
], | ||
) | ||
|
||
# Unsupported target "test_buf" with type "test" omitted | ||
# Unsupported target "test_buf_mut" with type "test" omitted | ||
# Unsupported target "test_bytes" with type "test" omitted | ||
# Unsupported target "test_chain" with type "test" omitted | ||
# Unsupported target "test_debug" with type "test" omitted | ||
# Unsupported target "test_from_buf" with type "test" omitted | ||
# Unsupported target "test_iter" with type "test" omitted | ||
# Unsupported target "test_serde" with type "test" omitted | ||
# Unsupported target "test_take" with type "test" omitted |
Oops, something went wrong.