blob: e25da3477deaab01f339f8c03cdb6ead0722dc0a [file] [log] [blame]
Lorenz Brund141d182023-10-02 15:07:01 +02001"""
2@generated
3cargo-raze crate build file.
4
5DO NOT EDIT! Replaced on runs of cargo-raze
6"""
7
8# buildifier: disable=load
9load("@bazel_skylib//lib:selects.bzl", "selects")
10
11# buildifier: disable=load
12load(
13 "@rules_rust//rust:defs.bzl",
14 "rust_binary",
15 "rust_library",
16 "rust_proc_macro",
17 "rust_test",
18)
19
20package(default_visibility = [
21 # Public for visibility by "@raze__crate__version//" targets.
22 #
23 # Prefer access through "//third_party/rust/cargo", which limits external
24 # visibility to explicit Cargo.toml dependencies.
25 "//visibility:public",
26])
27
28licenses([
29 "notice", # MIT from expression "MIT OR Apache-2.0"
30])
31
32# Generated Targets
33
34# Unsupported target "buffer" with type "bench" omitted
35
36# Unsupported target "write" with type "bench" omitted
37
38# Unsupported target "autobahn-client" with type "example" omitted
39
40# Unsupported target "autobahn-server" with type "example" omitted
41
42# Unsupported target "callback-error" with type "example" omitted
43
44# Unsupported target "client" with type "example" omitted
45
46# Unsupported target "server" with type "example" omitted
47
48# Unsupported target "srv_accept_unmasked_frames" with type "example" omitted
49
50rust_library(
51 name = "tungstenite",
52 srcs = glob(["**/*.rs"]),
53 crate_features = [
54 "data-encoding",
55 "handshake",
56 "http",
57 "httparse",
58 "sha1",
59 "url",
60 ],
61 crate_root = "src/lib.rs",
62 data = [],
63 edition = "2018",
64 rustc_flags = [
65 "--cap-lints=allow",
66 ],
67 tags = [
68 "cargo-raze",
69 "crate-name=tungstenite",
70 "manual",
71 ],
72 version = "0.20.1",
73 # buildifier: leave-alone
74 deps = [
75 "@raze__byteorder__1_4_3//:byteorder",
76 "@raze__bytes__1_5_0//:bytes",
77 "@raze__data_encoding__2_4_0//:data_encoding",
78 "@raze__http__0_2_9//:http",
79 "@raze__httparse__1_8_0//:httparse",
80 "@raze__log__0_4_20//:log",
81 "@raze__rand__0_8_5//:rand",
82 "@raze__sha1__0_10_6//:sha1",
83 "@raze__thiserror__1_0_49//:thiserror",
84 "@raze__url__2_4_1//:url",
85 "@raze__utf_8__0_7_6//:utf_8",
86 ],
87)