Skip to content

Commit

Permalink
Add drop_guard to Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
allada committed Jan 11, 2021
1 parent c93b852 commit 3c147cd
Show file tree
Hide file tree
Showing 95 changed files with 561 additions and 407 deletions.
147 changes: 80 additions & 67 deletions Cargo.lock

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ tonic = "0.3.1"
lazy-init = "0.4.0"
log = "0.4.11"
env_logger = "0.8.2"
drop_guard = "0.2.1"

[dev-dependencies]
clap = "2.33.3"
Expand Down
11 changes: 10 additions & 1 deletion third_party/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@ alias(
],
)

alias(
name = "drop_guard",
actual = "@raze__drop_guard__0_2_1//:drop_guard",
tags = [
"cargo-raze",
"manual",
],
)

alias(
name = "env_logger",
actual = "@raze__env_logger__0_8_2//:env_logger",
Expand All @@ -68,7 +77,7 @@ alias(

alias(
name = "futures",
actual = "@raze__futures__0_3_8//:futures",
actual = "@raze__futures__0_3_9//:futures",
tags = [
"cargo-raze",
"manual",
Expand Down
240 changes: 130 additions & 110 deletions third_party/crates.bzl

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion third_party/remote/BUILD.async-stream-0.2.1.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ rust_library(
version = "0.2.1",
# buildifier: leave-alone
deps = [
"@raze__futures_core__0_3_8//:futures_core",
"@raze__futures_core__0_3_9//:futures_core",
],
)

Expand Down
2 changes: 1 addition & 1 deletion third_party/remote/BUILD.async-stream-impl-0.2.1.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ rust_library(
deps = [
"@raze__proc_macro2__1_0_24//:proc_macro2",
"@raze__quote__1_0_8//:quote",
"@raze__syn__1_0_57//:syn",
"@raze__syn__1_0_58//:syn",
],
)
2 changes: 1 addition & 1 deletion third_party/remote/BUILD.async-trait-0.1.42.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ rust_library(
deps = [
"@raze__proc_macro2__1_0_24//:proc_macro2",
"@raze__quote__1_0_8//:quote",
"@raze__syn__1_0_57//:syn",
"@raze__syn__1_0_58//:syn",
],
)

Expand Down
2 changes: 1 addition & 1 deletion third_party/remote/BUILD.atty-0.2.14.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ rust_library(
(
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
): [
"@raze__libc__0_2_81//:libc",
"@raze__libc__0_2_82//:libc",
],
"//conditions:default": [],
}),
Expand Down
2 changes: 1 addition & 1 deletion third_party/remote/BUILD.block-buffer-0.7.3.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ rust_library(
deps = [
"@raze__block_padding__0_1_5//:block_padding",
"@raze__byte_tools__0_3_1//:byte_tools",
"@raze__byteorder__1_3_4//:byteorder",
"@raze__byteorder__1_4_2//:byteorder",
"@raze__generic_array__0_12_3//:generic_array",
],
)
88 changes: 0 additions & 88 deletions third_party/remote/BUILD.byteorder-1.3.4.bazel

This file was deleted.

57 changes: 57 additions & 0 deletions third_party/remote/BUILD.byteorder-1.4.2.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
"""
@generated
cargo-raze crate build file.

DO NOT EDIT! Replaced on runs of cargo-raze
"""

# buildifier: disable=load
load(
"@io_bazel_rules_rust//rust:rust.bzl",
"rust_binary",
"rust_library",
"rust_test",
)

# buildifier: disable=load
load("@bazel_skylib//lib:selects.bzl", "selects")

package(default_visibility = [
# Public for visibility by "@raze__crate__version//" targets.
#
# Prefer access through "//third_party", which limits external
# visibility to explicit Cargo.toml dependencies.
"//visibility:public",
])

licenses([
"unencumbered", # Unlicense from expression "Unlicense OR MIT"
])

# Generated Targets

# Unsupported target "bench" with type "bench" omitted

rust_library(
name = "byteorder",
srcs = glob(["**/*.rs"]),
crate_features = [
"default",
"std",
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-raze",
"manual",
],
version = "1.4.2",
# buildifier: leave-alone
deps = [
],
)
83 changes: 83 additions & 0 deletions third_party/remote/BUILD.bytes-1.0.0.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
"""
@generated
cargo-raze crate build file.

DO NOT EDIT! Replaced on runs of cargo-raze
"""

# buildifier: disable=load
load(
"@io_bazel_rules_rust//rust:rust.bzl",
"rust_binary",
"rust_library",
"rust_test",
)

# buildifier: disable=load
load("@bazel_skylib//lib:selects.bzl", "selects")

package(default_visibility = [
# Public for visibility by "@raze__crate__version//" targets.
#
# Prefer access through "//third_party", which limits external
# visibility to explicit Cargo.toml dependencies.
"//visibility:public",
])

licenses([
"notice", # MIT from expression "MIT"
])

# Generated Targets

# Unsupported target "buf" with type "bench" omitted

# Unsupported target "bytes" with type "bench" omitted

# Unsupported target "bytes_mut" with type "bench" omitted

rust_library(
name = "bytes",
srcs = glob(["**/*.rs"]),
crate_features = [
"default",
"std",
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2018",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-raze",
"manual",
],
version = "1.0.0",
# buildifier: leave-alone
deps = [
],
)

# 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_bytes_odd_alloc" with type "test" omitted

# Unsupported target "test_bytes_vec_alloc" with type "test" omitted

# Unsupported target "test_chain" with type "test" omitted

# Unsupported target "test_debug" with type "test" omitted

# Unsupported target "test_iter" with type "test" omitted

# Unsupported target "test_reader" with type "test" omitted

# Unsupported target "test_serde" with type "test" omitted

# Unsupported target "test_take" with type "test" omitted
2 changes: 1 addition & 1 deletion third_party/remote/BUILD.ctor-0.1.17.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@ rust_library(
# buildifier: leave-alone
deps = [
"@raze__quote__1_0_8//:quote",
"@raze__syn__1_0_57//:syn",
"@raze__syn__1_0_58//:syn",
],
)
2 changes: 1 addition & 1 deletion third_party/remote/BUILD.derive-new-0.5.8.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ rust_library(
deps = [
"@raze__proc_macro2__1_0_24//:proc_macro2",
"@raze__quote__1_0_8//:quote",
"@raze__syn__1_0_57//:syn",
"@raze__syn__1_0_58//:syn",
],
)

Expand Down
2 changes: 1 addition & 1 deletion third_party/remote/BUILD.dirs-sys-0.3.5.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ rust_library(
(
"@io_bazel_rules_rust//rust/platform:x86_64-unknown-linux-gnu",
): [
"@raze__libc__0_2_81//:libc",
"@raze__libc__0_2_82//:libc",
],
"//conditions:default": [],
}),
Expand Down
59 changes: 59 additions & 0 deletions third_party/remote/BUILD.drop_guard-0.2.1.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
"""
@generated
cargo-raze crate build file.

DO NOT EDIT! Replaced on runs of cargo-raze
"""

# buildifier: disable=load
load(
"@io_bazel_rules_rust//rust:rust.bzl",
"rust_binary",
"rust_library",
"rust_test",
)

# buildifier: disable=load
load("@bazel_skylib//lib:selects.bzl", "selects")

package(default_visibility = [
# Public for visibility by "@raze__crate__version//" targets.
#
# Prefer access through "//third_party", which limits external
# visibility to explicit Cargo.toml dependencies.
"//visibility:public",
])

licenses([
"notice", # MIT from expression "MIT OR Apache-2.0"
])

# Generated Targets

# Unsupported target "rainbow" with type "example" omitted

# Unsupported target "thread" with type "example" omitted

# Unsupported target "threadpool" with type "example" omitted

rust_library(
name = "drop_guard",
srcs = glob(["**/*.rs"]),
crate_features = [
],
crate_root = "src/lib.rs",
crate_type = "lib",
data = [],
edition = "2015",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-raze",
"manual",
],
version = "0.2.1",
# buildifier: leave-alone
deps = [
],
)
Loading

0 comments on commit 3c147cd

Please sign in to comment.