Damien Martin-Guillerez | e008ebe | 2018-11-13 19:27:19 +0100 | [diff] [blame] | 1 | """ |
| 2 | cargo-raze crate build file. |
| 3 | |
| 4 | DO NOT EDIT! Replaced on runs of cargo-raze |
| 5 | """ |
| 6 | package(default_visibility = [ |
David Freese | 8d3cb68 | 2020-04-22 01:57:30 -0700 | [diff] [blame^] | 7 | # Public for visibility by "@raze__crate__version//" targets. |
| 8 | # |
| 9 | # Prefer access through "//proto/raze", which limits external |
| 10 | # visibility to explicit Cargo.toml dependencies. |
| 11 | "//visibility:public", |
Damien Martin-Guillerez | e008ebe | 2018-11-13 19:27:19 +0100 | [diff] [blame] | 12 | ]) |
| 13 | |
| 14 | licenses([ |
David Freese | 8d3cb68 | 2020-04-22 01:57:30 -0700 | [diff] [blame^] | 15 | "notice", # "MIT" |
Damien Martin-Guillerez | e008ebe | 2018-11-13 19:27:19 +0100 | [diff] [blame] | 16 | ]) |
| 17 | |
| 18 | load( |
| 19 | "@io_bazel_rules_rust//rust:rust.bzl", |
Marcel Hlopko | fe9a91e | 2019-11-04 00:15:38 +0100 | [diff] [blame] | 20 | "rust_library", |
David Freese | 8d3cb68 | 2020-04-22 01:57:30 -0700 | [diff] [blame^] | 21 | "rust_binary", |
Damien Martin-Guillerez | e008ebe | 2018-11-13 19:27:19 +0100 | [diff] [blame] | 22 | "rust_test", |
| 23 | ) |
| 24 | |
David Freese | 8d3cb68 | 2020-04-22 01:57:30 -0700 | [diff] [blame^] | 25 | |
Damien Martin-Guillerez | e008ebe | 2018-11-13 19:27:19 +0100 | [diff] [blame] | 26 | # Unsupported target "async_read" with type "test" omitted |
| 27 | # Unsupported target "length_delimited" with type "test" omitted |
| 28 | |
| 29 | rust_library( |
| 30 | name = "tokio_io", |
| 31 | crate_root = "src/lib.rs", |
| 32 | crate_type = "lib", |
David Freese | 8d3cb68 | 2020-04-22 01:57:30 -0700 | [diff] [blame^] | 33 | edition = "2015", |
| 34 | srcs = glob(["**/*.rs"]), |
| 35 | deps = [ |
| 36 | "@raze__bytes__0_4_12//:bytes", |
| 37 | "@raze__futures__0_1_29//:futures", |
| 38 | "@raze__log__0_4_6//:log", |
| 39 | ], |
Marcel Hlopko | fe9a91e | 2019-11-04 00:15:38 +0100 | [diff] [blame] | 40 | rustc_flags = [ |
| 41 | "--cap-lints=allow", |
| 42 | ], |
David Freese | 8d3cb68 | 2020-04-22 01:57:30 -0700 | [diff] [blame^] | 43 | version = "0.1.13", |
| 44 | crate_features = [ |
Damien Martin-Guillerez | e008ebe | 2018-11-13 19:27:19 +0100 | [diff] [blame] | 45 | ], |
Damien Martin-Guillerez | e008ebe | 2018-11-13 19:27:19 +0100 | [diff] [blame] | 46 | ) |
David Freese | 8d3cb68 | 2020-04-22 01:57:30 -0700 | [diff] [blame^] | 47 | |