xref: /aosp_15_r20/external/bazelbuild-rules_rust/test/3rdparty/BUILD.bazel (revision d4726bddaa87cc4778e7472feed243fa4b6c267f)
1*d4726bddSHONG Yifanload("//crate_universe:defs.bzl", "crate", "crates_vendor")
2*d4726bddSHONG Yifan
3*d4726bddSHONG Yifanpackage(default_visibility = ["//visibility:public"])
4*d4726bddSHONG Yifan
5*d4726bddSHONG Yifancrates_vendor(
6*d4726bddSHONG Yifan    name = "crates_vendor",
7*d4726bddSHONG Yifan    mode = "remote",
8*d4726bddSHONG Yifan    packages = {
9*d4726bddSHONG Yifan        "serde": crate.spec(
10*d4726bddSHONG Yifan            features = ["derive"],
11*d4726bddSHONG Yifan            version = "1",
12*d4726bddSHONG Yifan        ),
13*d4726bddSHONG Yifan        "serde_json": crate.spec(
14*d4726bddSHONG Yifan            version = "1",
15*d4726bddSHONG Yifan        ),
16*d4726bddSHONG Yifan    },
17*d4726bddSHONG Yifan    # Short for 'test 3rdparty'. Keep this short to reduce the risk to
18*d4726bddSHONG Yifan    # bump into absolute path length issues on Windows. See:
19*d4726bddSHONG Yifan    # https://github.com/bazelbuild/rules_rust/issues/1120
20*d4726bddSHONG Yifan    repository_name = "t3p",
21*d4726bddSHONG Yifan    tags = ["manual"],
22*d4726bddSHONG Yifan    vendor_path = "crates",
23*d4726bddSHONG Yifan)
24