Skip to content

Commit 665f779

Browse files
authored
[rust] add ada-url crate (#5208)
* just update-rust * ada-url crate
1 parent 98fd5e1 commit 665f779

File tree

51 files changed

+960
-117
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+960
-117
lines changed

deps/rust/Cargo.lock

Lines changed: 88 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deps/rust/cargo.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ load("@workerd-cxx//third-party:cargo.bzl", WORKERD_CXX_PACKAGES = "PACKAGES")
88
PACKAGES = WORKERD_CXX_PACKAGES | {
99
# When adding packages here, please only enable features as needed to keep compile times and
1010
# binary sizes bounded.
11+
"ada-url": crate.spec(version = "3"),
1112
"anyhow": crate.spec(version = "1"),
1213
"async-trait": crate.spec(version = "0", default_features = False),
1314
"capnp": crate.spec(version = "0"),
Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
###############################################################################
2+
# @generated
3+
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
4+
# regenerate this file, run the following:
5+
#
6+
# bazel run @@//deps/rust:crates_vendor
7+
###############################################################################
8+
9+
load("@rules_rust//cargo:defs.bzl", "cargo_build_script")
10+
load("@rules_rust//rust:defs.bzl", "rust_library")
11+
12+
package(default_visibility = ["//visibility:public"])
13+
14+
rust_library(
15+
name = "ada_url",
16+
srcs = glob(
17+
include = ["**/*.rs"],
18+
allow_empty = True,
19+
),
20+
compile_data = glob(
21+
include = ["**"],
22+
allow_empty = True,
23+
exclude = [
24+
"**/* *",
25+
".tmp_git_root/**/*",
26+
"BUILD",
27+
"BUILD.bazel",
28+
"WORKSPACE",
29+
"WORKSPACE.bazel",
30+
],
31+
),
32+
crate_features = [
33+
"default",
34+
"std",
35+
],
36+
crate_root = "src/lib.rs",
37+
edition = "2024",
38+
rustc_flags = [
39+
"--cap-lints=allow",
40+
],
41+
tags = [
42+
"cargo-bazel",
43+
"crate-name=ada-url",
44+
"manual",
45+
"noclippy",
46+
"norustfmt",
47+
],
48+
version = "3.3.0",
49+
deps = [
50+
"@crates_vendor__ada-url-3.3.0//:build_script_build",
51+
],
52+
)
53+
54+
cargo_build_script(
55+
name = "_bs",
56+
srcs = glob(
57+
include = ["**/*.rs"],
58+
allow_empty = True,
59+
),
60+
compile_data = glob(
61+
include = ["**"],
62+
allow_empty = True,
63+
exclude = [
64+
"**/* *",
65+
"**/*.rs",
66+
".tmp_git_root/**/*",
67+
"BUILD",
68+
"BUILD.bazel",
69+
"WORKSPACE",
70+
"WORKSPACE.bazel",
71+
],
72+
),
73+
crate_features = [
74+
"default",
75+
"std",
76+
],
77+
crate_name = "build_script_build",
78+
crate_root = "build.rs",
79+
data = glob(
80+
include = ["**"],
81+
allow_empty = True,
82+
exclude = [
83+
"**/* *",
84+
".tmp_git_root/**/*",
85+
"BUILD",
86+
"BUILD.bazel",
87+
"WORKSPACE",
88+
"WORKSPACE.bazel",
89+
],
90+
),
91+
edition = "2024",
92+
pkg_name = "ada-url",
93+
rustc_flags = [
94+
"--cap-lints=allow",
95+
],
96+
tags = [
97+
"cargo-bazel",
98+
"crate-name=ada-url",
99+
"manual",
100+
"noclippy",
101+
"norustfmt",
102+
],
103+
version = "3.3.0",
104+
visibility = ["//visibility:private"],
105+
deps = [
106+
"@crates_vendor__cc-1.2.39//:cc",
107+
"@crates_vendor__link_args-0.6.0//:link_args",
108+
"@crates_vendor__regex-1.11.3//:regex",
109+
],
110+
)
111+
112+
alias(
113+
name = "build_script_build",
114+
actual = ":_bs",
115+
tags = ["manual"],
116+
)

deps/rust/crates/BUILD.anstyle-1.0.11.bazel renamed to deps/rust/crates/BUILD.anstyle-1.0.13.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,5 @@ rust_library(
4444
"noclippy",
4545
"norustfmt",
4646
],
47-
version = "1.0.11",
47+
version = "1.0.13",
4848
)

deps/rust/crates/BUILD.ast_node-3.0.4.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ rust_proc_macro(
4242
],
4343
version = "3.0.4",
4444
deps = [
45-
"@crates_vendor__quote-1.0.40//:quote",
45+
"@crates_vendor__quote-1.0.41//:quote",
4646
"@crates_vendor__swc_macros_common-1.0.1//:swc_macros_common",
4747
"@crates_vendor__syn-2.0.106//:syn",
4848
],

deps/rust/crates/BUILD.async-trait-0.1.89.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ rust_proc_macro(
4343
version = "0.1.89",
4444
deps = [
4545
"@crates_vendor__proc-macro2-1.0.101//:proc_macro2",
46-
"@crates_vendor__quote-1.0.40//:quote",
46+
"@crates_vendor__quote-1.0.41//:quote",
4747
"@crates_vendor__syn-2.0.106//:syn",
4848
],
4949
)

0 commit comments

Comments
 (0)