Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 58 additions & 1 deletion plugins/bazel/cargo/Cargo.Bazel.lock
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ checksum = "754b69d351cdc2d8ee09ae203db831e005560fc6030da058f86ad60c92a9cb0a"
dependencies = [
"cssparser-macros",
"dtoa-short",
"itoa",
"itoa 0.4.8",
"matches",
"phf",
"proc-macro2",
Expand Down Expand Up @@ -182,6 +182,12 @@ version = "0.4.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4"

[[package]]
name = "itoa"
version = "1.0.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"

[[package]]
name = "lazy_static"
version = "1.5.0"
Expand Down Expand Up @@ -453,6 +459,12 @@ dependencies = [
"semver",
]

[[package]]
name = "ryu"
version = "1.0.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f"

[[package]]
name = "selectors"
version = "0.22.0"
Expand All @@ -479,6 +491,49 @@ version = "1.0.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f79dfe2d285b0488816f30e700a7438c5a73d816b5b7d3ac72fbc48b0d185e03"

[[package]]
name = "serde"
version = "1.0.228"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
dependencies = [
"serde_core",
"serde_derive",
]

[[package]]
name = "serde_core"
version = "1.0.228"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
dependencies = [
"serde_derive",
]

[[package]]
name = "serde_derive"
version = "1.0.228"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.96",
]

[[package]]
name = "serde_json"
version = "1.0.145"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c"
dependencies = [
"itoa 1.0.15",
"memchr",
"ryu",
"serde",
"serde_core",
]

[[package]]
name = "service-extensions"
version = "0.0.0"
Expand All @@ -487,6 +542,8 @@ dependencies = [
"lol_html",
"proxy-wasm",
"regex",
"serde",
"serde_json",
"url",
"uuid",
]
Expand Down
2 changes: 2 additions & 0 deletions plugins/bazel/cargo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ regex = "1.9"
url = "2.4"
# Pin version 2.0.0 until rust-version includes https://github.com/rust-lang/rust/issues/119128
lol_html = "=2.0.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
uuid = { version = "1.12.1", features = [ "v4" ] }

[lib]
Expand Down
12 changes: 12 additions & 0 deletions plugins/bazel/cargo/remote/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,18 @@ alias(
tags = ["manual"],
)

alias(
name = "serde",
actual = "@cu__serde-1.0.228//:serde",
tags = ["manual"],
)

alias(
name = "serde_json",
actual = "@cu__serde_json-1.0.145//:serde_json",
tags = ["manual"],
)

alias(
name = "url",
actual = "@cu__url-2.4.1//:url",
Expand Down
44 changes: 44 additions & 0 deletions plugins/bazel/cargo/remote/BUILD.itoa-1.0.15.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
###############################################################################
# @generated
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
# bazel run @//bazel/cargo:crates_vendor
###############################################################################

load("@rules_rust//rust:defs.bzl", "rust_library")

package(default_visibility = ["//visibility:public"])

rust_library(
name = "itoa",
srcs = glob(
include = ["**/*.rs"],
allow_empty = False,
),
compile_data = glob(
include = ["**"],
allow_empty = True,
exclude = [
"**/* *",
".tmp_git_root/**/*",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
),
crate_root = "src/lib.rs",
edition = "2018",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-bazel",
"crate-name=itoa",
"manual",
"noclippy",
"norustfmt",
],
version = "1.0.15",
)
44 changes: 44 additions & 0 deletions plugins/bazel/cargo/remote/BUILD.ryu-1.0.20.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
###############################################################################
# @generated
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
# bazel run @//bazel/cargo:crates_vendor
###############################################################################

load("@rules_rust//rust:defs.bzl", "rust_library")

package(default_visibility = ["//visibility:public"])

rust_library(
name = "ryu",
srcs = glob(
include = ["**/*.rs"],
allow_empty = False,
),
compile_data = glob(
include = ["**"],
allow_empty = True,
exclude = [
"**/* *",
".tmp_git_root/**/*",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
),
crate_root = "src/lib.rs",
edition = "2018",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-bazel",
"crate-name=ryu",
"manual",
"noclippy",
"norustfmt",
],
version = "1.0.20",
)
105 changes: 105 additions & 0 deletions plugins/bazel/cargo/remote/BUILD.serde-1.0.228.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
###############################################################################
# @generated
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
# bazel run @//bazel/cargo:crates_vendor
###############################################################################

load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
load("@rules_rust//rust:defs.bzl", "rust_library")

package(default_visibility = ["//visibility:public"])

rust_library(
name = "serde",
srcs = glob(
include = ["**/*.rs"],
allow_empty = False,
),
compile_data = glob(
include = ["**"],
allow_empty = True,
exclude = [
"**/* *",
".tmp_git_root/**/*",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
),
crate_features = [
"default",
"derive",
"serde_derive",
"std",
],
crate_root = "src/lib.rs",
edition = "2021",
proc_macro_deps = [
"@cu__serde_derive-1.0.228//:serde_derive",
],
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-bazel",
"crate-name=serde",
"manual",
"noclippy",
"norustfmt",
],
version = "1.0.228",
deps = [
"@cu__serde-1.0.228//:build_script_build",
"@cu__serde_core-1.0.228//:serde_core",
],
)

cargo_build_script(
name = "serde_bs",
srcs = glob(
include = ["**/*.rs"],
allow_empty = False,
),
crate_features = [
"default",
"derive",
"serde_derive",
"std",
],
crate_name = "build_script_build",
crate_root = "build.rs",
data = glob(
include = ["**"],
allow_empty = True,
exclude = [
"**/* *",
".tmp_git_root/**/*",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
),
edition = "2021",
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-bazel",
"crate-name=serde",
"manual",
"noclippy",
"norustfmt",
],
version = "1.0.228",
visibility = ["//visibility:private"],
)

alias(
name = "build_script_build",
actual = ":serde_bs",
tags = ["manual"],
)
Loading
Loading