1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 23:34:47 -05:00
denoland-deno/build_extra/rust/BUILD.gn

2194 lines
46 KiB
Text
Raw Normal View History

2019-01-21 14:03:30 -05:00
# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
2018-07-10 14:56:12 -04:00
# Dependencies between third party crates is mapped out here manually. This is
# not so difficult and having it be tedious to add dependencies might help us
2018-08-02 23:06:54 -04:00
# avoid dependency hell later on. Always try to minimize dependencies.
# Versioning for third party rust crates is controlled in //Cargo.toml
# Use //tools/sync_third_party.py instead of running "cargo install".
import("rust.gni")
2018-07-10 14:56:12 -04:00
2019-01-09 19:22:46 -05:00
cargo_home = "//third_party/rust_crates"
2018-07-10 14:56:12 -04:00
2019-02-07 17:46:52 -05:00
rust_crate("aho_corasick") {
edition = "2015"
2019-04-15 11:26:24 -04:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/aho-corasick-0.7.3/src/lib.rs"
features = [
"default",
"memchr",
"std",
]
2019-02-07 17:46:52 -05:00
extern = [ ":memchr" ]
args = [
"--cap-lints",
"allow",
]
}
rust_crate("ansi_term") {
edition = "2015"
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/ansi_term-0.11.0/src/lib.rs"
args = [
"--cap-lints",
"allow",
]
if (is_win) {
extern = [ ":winapi" ]
}
}
2019-01-09 19:22:46 -05:00
rust_crate("arrayvec") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.4.10/src/lib.rs"
extern = [ ":nodrop" ]
args = [
"--cap-lints",
"allow",
]
2018-12-23 12:39:40 -05:00
}
2019-01-09 19:22:46 -05:00
rust_crate("atty") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/atty-0.2.11/src/lib.rs"
args = [
"--cap-lints",
"allow",
]
2019-01-09 19:22:46 -05:00
if (is_posix) {
extern = [ ":libc" ]
}
if (is_win) {
extern = [ ":winapi" ]
}
}
2019-01-09 19:22:46 -05:00
rust_crate("base64") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-26 07:58:19 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/base64-0.10.1/src/lib.rs"
extern = [ ":byteorder" ]
2019-01-09 19:22:46 -05:00
args = [
"--cap-lints",
"allow",
]
}
2019-03-31 17:54:58 -04:00
rust_crate("bitflags") {
edition = "2015"
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/bitflags-1.0.4/src/lib.rs"
features = [ "default" ]
args = [
"--cap-lints",
"allow",
]
}
2019-01-09 19:22:46 -05:00
rust_crate("byteorder") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-26 07:58:19 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/byteorder-1.3.1/src/lib.rs"
2019-01-09 19:22:46 -05:00
features = [
"default",
"std",
]
args = [
"--cap-lints",
"allow",
]
2019-01-26 07:58:19 -05:00
# Added by custom-build script.
cfg = [ "byteorder_i128" ]
}
2019-01-09 19:22:46 -05:00
rust_crate("bytes") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-03-29 14:50:07 -04:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/bytes-0.4.12/src/lib.rs"
extern = [
2019-01-09 19:22:46 -05:00
":byteorder",
":iovec",
]
args = [
"--cap-lints",
"allow",
]
}
2019-01-09 19:22:46 -05:00
rust_crate("cfg_if") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-03-29 14:50:07 -04:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/cfg-if-0.1.7/src/lib.rs"
2018-07-21 11:00:09 -04:00
args = [
2019-01-09 19:22:46 -05:00
"--cap-lints",
"allow",
2018-07-21 11:00:09 -04:00
]
2018-07-10 14:56:12 -04:00
}
2019-03-31 17:54:58 -04:00
rust_crate("clap") {
edition = "2015"
2019-04-15 11:26:24 -04:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/clap-2.33.0/src/lib.rs"
2019-03-31 17:54:58 -04:00
features = [
"ansi_term",
"atty",
"color",
"default",
"strsim",
"suggestions",
"vec_map",
]
extern = [
":atty",
":bitflags",
":strsim",
":textwrap",
":unicode_width",
":vec_map",
]
args = [
"--cap-lints",
"allow",
]
if (is_posix) {
extern += [ ":ansi_term" ]
}
}
2019-01-09 19:22:46 -05:00
rust_crate("crossbeam_deque") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-03-29 14:50:07 -04:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/crossbeam-deque-0.7.1/src/lib.rs"
2018-07-10 14:56:12 -04:00
extern = [
2019-01-09 19:22:46 -05:00
":crossbeam_epoch",
":crossbeam_utils",
]
args = [
"--cap-lints",
"allow",
2018-07-10 14:56:12 -04:00
]
}
2019-01-09 19:22:46 -05:00
rust_crate("crossbeam_epoch") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-02-11 20:08:21 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/crossbeam-epoch-0.7.1/src/lib.rs"
2019-01-09 19:22:46 -05:00
features = [
"crossbeam-utils",
"default",
"lazy_static",
"std",
]
2018-07-24 01:45:23 -04:00
extern = [
2019-01-09 19:22:46 -05:00
":arrayvec",
2018-11-03 00:30:27 -04:00
":cfg_if",
2019-01-09 19:22:46 -05:00
":crossbeam_utils",
":lazy_static",
":memoffset",
":scopeguard",
]
args = [
"--cap-lints",
"allow",
2018-07-24 01:45:23 -04:00
]
}
2019-03-29 14:50:07 -04:00
rust_crate("crossbeam_queue") {
edition = "2015"
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/crossbeam-queue-0.1.2/src/lib.rs"
extern = [ ":crossbeam_utils" ]
args = [
"--cap-lints",
"allow",
]
}
2019-01-09 19:22:46 -05:00
rust_crate("crossbeam_utils") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-02-11 20:08:21 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/crossbeam-utils-0.6.5/src/lib.rs"
features = [
2019-01-09 19:22:46 -05:00
"default",
2019-02-11 20:08:21 -05:00
"lazy_static",
"std",
2018-07-24 01:45:23 -04:00
]
2019-02-11 20:08:21 -05:00
extern = [
":cfg_if",
":lazy_static",
]
2019-01-09 19:22:46 -05:00
args = [
"--cap-lints",
"allow",
2018-09-17 13:47:02 -04:00
]
}
2019-01-09 19:22:46 -05:00
rust_crate("ct_logs") {
2019-01-26 07:58:19 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/ct-logs-0.5.1/src/lib.rs"
2019-01-09 19:22:46 -05:00
extern = [ ":sct" ]
args = [
"--cap-lints",
"allow",
2019-01-07 10:36:08 -05:00
]
}
2019-01-09 19:22:46 -05:00
rust_crate("dirs") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-02-27 13:24:22 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/dirs-1.0.5/src/lib.rs"
2019-01-09 19:22:46 -05:00
args = [
"--cap-lints",
"allow",
]
2019-01-09 19:22:46 -05:00
if (is_posix) {
extern = [ ":libc" ]
}
if (is_win) {
extern = [ ":winapi" ]
2018-07-24 01:45:23 -04:00
}
}
2019-01-09 19:22:46 -05:00
rust_crate("flatbuffers") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/flatbuffers-0.5.0/src/lib.rs"
extern = [ ":smallvec" ]
args = [
"--cap-lints",
"allow",
]
}
2019-01-09 19:22:46 -05:00
rust_crate("fnv") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root =
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/fnv-1.0.6/lib.rs"
args = [
"--cap-lints",
"allow",
]
2018-07-24 01:45:23 -04:00
}
2018-08-11 16:04:11 -04:00
rust_crate("futures") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-04-15 11:26:24 -04:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.26/src/lib.rs"
features = [
2019-01-09 19:22:46 -05:00
"default",
"use_std",
"with-deprecated",
]
2019-01-09 19:22:46 -05:00
args = [
"--cap-lints",
"allow",
]
}
2019-01-09 19:22:46 -05:00
rust_crate("futures_cpupool") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/futures-cpupool-0.1.8/src/lib.rs"
features = [
"default",
2019-01-09 19:22:46 -05:00
"futures",
"with-deprecated",
]
extern = [
2019-01-09 19:22:46 -05:00
":futures",
":num_cpus",
]
2019-01-09 19:22:46 -05:00
args = [
"--cap-lints",
"allow",
]
}
2019-01-09 19:22:46 -05:00
rust_crate("h2") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-04-15 11:26:24 -04:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/h2-0.1.18/src/lib.rs"
extern = [
2019-01-09 19:22:46 -05:00
":byteorder",
":bytes",
":fnv",
":futures",
":http",
":indexmap",
":log",
":slab",
":string",
":tokio_io",
]
2019-01-09 19:22:46 -05:00
args = [
"--cap-lints",
"allow",
]
}
2019-01-09 19:22:46 -05:00
rust_crate("http") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-04-15 11:26:24 -04:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/http-0.1.17/src/lib.rs"
2019-01-09 19:22:46 -05:00
extern = [
":bytes",
":fnv",
":itoa",
]
args = [
"--cap-lints",
"allow",
]
}
2019-01-09 19:22:46 -05:00
rust_crate("httparse") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/httparse-1.3.3/src/lib.rs"
features = [
"default",
2019-01-09 19:22:46 -05:00
"std",
]
2019-01-09 19:22:46 -05:00
args = [
"--cap-lints",
"allow",
]
2019-01-09 19:22:46 -05:00
# Added by custom-build script.
cfg = [ "httparse_simd" ]
}
2019-01-09 19:22:46 -05:00
rust_crate("hyper") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-04-15 11:26:24 -04:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/hyper-0.12.27/src/lib.rs"
2019-01-09 19:22:46 -05:00
features = [
"__internal_flaky_tests",
"default",
"futures-cpupool",
"net2",
"runtime",
"tokio",
"tokio-executor",
"tokio-reactor",
"tokio-tcp",
"tokio-threadpool",
"tokio-timer",
]
extern = [
2019-01-09 19:22:46 -05:00
":bytes",
":futures",
":futures_cpupool",
":h2",
":http",
":httparse",
":iovec",
2019-01-09 19:22:46 -05:00
":itoa",
":log",
":net2",
":time",
":tokio",
":tokio_executor",
":tokio_io",
":tokio_reactor",
":tokio_tcp",
":tokio_threadpool",
":tokio_timer",
":want",
]
args = [
"--cap-lints",
"allow",
]
}
2019-01-09 19:22:46 -05:00
rust_crate("hyper_rustls") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-03-29 14:50:07 -04:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/hyper-rustls-0.16.1/src/lib.rs"
features = [
"ct-logs",
"default",
"hyper",
"tokio-runtime",
"webpki-roots",
]
extern = [
2019-01-26 07:58:19 -05:00
":bytes",
2019-01-09 19:22:46 -05:00
":ct_logs",
":futures",
":hyper",
":rustls",
":tokio_io",
":tokio_rustls",
":webpki",
":webpki_roots",
]
args = [
"--cap-lints",
"allow",
]
}
2019-01-09 19:22:46 -05:00
rust_crate("idna") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/idna-0.1.5/src/lib.rs"
extern = [
":matches",
":unicode_bidi",
":unicode_normalization",
]
args = [
"--cap-lints",
"allow",
]
}
rust_crate("indexmap") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/indexmap-1.0.2/src/lib.rs"
args = [
"--cap-lints",
"allow",
]
}
rust_crate("integer_atomics") {
edition = "2015"
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/integer-atomics-1.0.2/src/lib.rs"
args = [
"--cap-lints",
"allow",
]
}
2019-01-09 19:22:46 -05:00
rust_crate("iovec") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/iovec-0.1.2/src/lib.rs"
args = [
"--cap-lints",
"allow",
]
if (is_posix) {
extern = [ ":libc" ]
}
if (is_win) {
extern_version = [
{
crate_name = "winapi"
crate_version = "0.2.8"
},
]
}
}
rust_crate("itoa") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/itoa-0.4.3/src/lib.rs"
features = [
2019-01-09 19:22:46 -05:00
"default",
2018-11-30 15:34:52 -05:00
"std",
2019-01-09 19:22:46 -05:00
]
args = [
"--cap-lints",
"allow",
]
}
rust_crate("lazy_static") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-02-27 13:24:22 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/lazy_static-1.3.0/src/lib.rs"
2019-01-09 19:22:46 -05:00
args = [
"--cap-lints",
"allow",
]
}
rust_crate("lazycell") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/lazycell-1.2.1/src/lib.rs"
args = [
"--cap-lints",
"allow",
]
}
rust_crate("libc") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-03-29 14:50:07 -04:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/libc-0.2.51/src/lib.rs"
2019-01-09 19:22:46 -05:00
features = [
"default",
2019-01-09 19:22:46 -05:00
"use_std",
]
2019-01-09 19:22:46 -05:00
args = [
"--cap-lints",
"allow",
]
# Added by custom-build script.
2019-02-27 13:24:22 -05:00
cfg = [
"libc_align",
"libc_const_size_of",
"libc_core_cvoid",
2019-03-29 14:50:07 -04:00
"libc_packedN",
2019-02-27 13:24:22 -05:00
"libc_priv_mod_use",
"libc_union",
]
2019-01-09 19:22:46 -05:00
}
rust_crate("lock_api") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/lock_api-0.1.5/src/lib.rs"
extern = [
":scopeguard",
2019-01-09 19:22:46 -05:00
## Override: avoid dependency on on 'owning_ref'.
# ":owning_ref",
]
2019-01-09 19:22:46 -05:00
args = [
"--cap-lints",
"allow",
]
## Override: avoid dependency on on 'owning_ref'.
# features = [ "owning_ref" ]
}
2019-01-09 19:22:46 -05:00
rust_crate("log") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/log-0.4.6/src/lib.rs"
extern = [ ":cfg_if" ]
args = [
"--cap-lints",
"allow",
]
}
rust_crate("matches") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/matches-0.1.8/lib.rs"
args = [
"--cap-lints",
"allow",
]
}
rust_crate("memchr") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-02-27 13:24:22 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/memchr-2.2.0/src/lib.rs"
features = [
"default",
2019-01-09 19:22:46 -05:00
"use_std",
]
2019-01-09 19:22:46 -05:00
args = [
"--cap-lints",
"allow",
2018-11-30 15:34:52 -05:00
]
2019-01-09 19:22:46 -05:00
# Added by custom-build script.
cfg = [
"memchr_runtime_avx",
"memchr_runtime_simd",
"memchr_runtime_sse2",
"memchr_runtime_sse42",
]
}
2019-01-09 19:22:46 -05:00
rust_crate("memoffset") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/memoffset-0.2.1/src/lib.rs"
args = [
"--cap-lints",
"allow",
]
}
2019-01-09 19:22:46 -05:00
rust_crate("mio") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/mio-0.6.16/src/lib.rs"
features = [
"default",
"with-deprecated",
]
extern = [
":iovec",
":lazycell",
":log",
":net2",
":slab",
]
args = [
2019-01-09 19:22:46 -05:00
"--cap-lints",
"allow",
]
2019-01-09 19:22:46 -05:00
if (is_posix) {
extern += [ ":libc" ]
}
if (is_win) {
extern += [ ":kernel32" ]
extern_version = [
{
crate_name = "miow"
crate_version = "0.2.1"
},
{
crate_name = "winapi"
crate_version = "0.2.8"
},
]
}
}
2019-01-09 19:22:46 -05:00
rust_crate("net2") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/net2-0.2.33/src/lib.rs"
features = [
"default",
"duration",
]
extern = [ ":cfg_if" ]
args = [
"--cap-lints",
"allow",
]
if (is_posix) {
extern += [ ":libc" ]
}
if (is_win) {
extern += [ ":winapi" ]
}
}
2019-01-09 19:22:46 -05:00
rust_crate("nodrop") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/nodrop-0.1.13/src/lib.rs"
args = [
"--cap-lints",
"allow",
]
}
2018-08-11 16:04:11 -04:00
rust_crate("num_cpus") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-02-11 20:08:21 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/num_cpus-1.10.0/src/lib.rs"
extern = [ ":libc" ]
2019-01-09 19:22:46 -05:00
args = [
"--cap-lints",
"allow",
]
}
2019-01-09 19:22:46 -05:00
## Override: avoid dependency on on 'owning_ref'.
# rust_crate("owning_ref") {
2019-01-14 01:30:38 -05:00
# edition = "2015"
2019-01-09 19:22:46 -05:00
# source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/owning_ref-0.4.0/src/lib.rs"
# extern = [ ":stable_deref_trait" ]
# args = [
# "--cap-lints",
# "allow",
# ]
# }
rust_crate("parking_lot") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/parking_lot-0.7.1/src/lib.rs"
features = [
"default",
"lock_api",
## Override: avoid dependency on on 'owning_ref'.
# "owning_ref",
]
2018-08-05 18:50:15 -04:00
extern = [
2019-01-09 19:22:46 -05:00
":lock_api",
":parking_lot_core",
]
args = [
"--cap-lints",
"allow",
]
}
rust_crate("parking_lot_core") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/parking_lot_core-0.4.0/src/lib.rs"
extern = [
":rand",
":smallvec",
]
args = [
"--cap-lints",
"allow",
]
# Added by custom-build script.
cfg = [ "has_localkey_try_with" ]
if (is_posix) {
extern += [ ":libc" ]
}
if (is_win) {
extern += [ ":winapi" ]
}
}
rust_crate("percent_encoding") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/percent-encoding-1.0.1/lib.rs"
args = [
"--cap-lints",
"allow",
]
}
rust_crate("rand") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-02-11 20:08:21 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/rand-0.6.5/src/lib.rs"
2019-01-09 19:22:46 -05:00
features = [
"alloc",
"default",
"rand_core",
2019-02-11 20:08:21 -05:00
"rand_jitter",
2019-01-09 19:22:46 -05:00
"rand_os",
"std",
]
extern = [
":rand_chacha",
2019-02-11 20:08:21 -05:00
":rand_core",
2019-01-09 19:22:46 -05:00
":rand_hc",
":rand_isaac",
2019-02-11 20:08:21 -05:00
":rand_jitter",
2019-01-09 19:22:46 -05:00
":rand_os",
":rand_pcg",
":rand_xorshift",
2019-01-26 07:58:19 -05:00
]
2019-01-09 19:22:46 -05:00
args = [
"--cap-lints",
"allow",
]
# Added by custom-build script.
cfg = [
"rustc_1_25",
"rustc_1_26",
"rustc_1_27",
]
if (is_posix) {
extern += [ ":libc" ]
}
if (is_win) {
extern += [ ":winapi" ]
}
}
rust_crate("rand_chacha") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/rand_chacha-0.1.1/src/lib.rs"
args = [
"--cap-lints",
"allow",
]
# Added by custom-build script.
cfg = [ "rustc_1_26" ]
# Override: use rand_core v0.4.0 instead of v0.3.1.
extern = [ ":rand_core" ]
## Override: use rand_core v0.4.0 instead of v0.3.1.
# extern_version = [
# {
# crate_name = "rand_core"
# crate_version = "0.3.1"
# },
# ]
2019-01-09 19:22:46 -05:00
}
rust_crate("rand_core") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-26 07:58:19 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/rand_core-0.4.0/src/lib.rs"
2019-01-09 19:22:46 -05:00
features = [
"alloc",
"std",
]
args = [
"--cap-lints",
"allow",
]
}
rust_crate("rand_hc") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/rand_hc-0.1.0/src/lib.rs"
args = [
"--cap-lints",
"allow",
]
# Override: use rand_core v0.4.0 instead of v0.3.1.
extern = [ ":rand_core" ]
## Override: use rand_core v0.4.0 instead of v0.3.1.
# extern_version = [
# {
# crate_name = "rand_core"
# crate_version = "0.3.1"
# },
# ]
2019-01-09 19:22:46 -05:00
}
rust_crate("rand_isaac") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/rand_isaac-0.1.1/src/lib.rs"
args = [
"--cap-lints",
"allow",
]
# Override: use rand_core v0.4.0 instead of v0.3.1.
extern = [ ":rand_core" ]
## Override: use rand_core v0.4.0 instead of v0.3.1.
# extern_version = [
# {
# crate_name = "rand_core"
# crate_version = "0.3.1"
# },
# ]
2019-01-09 19:22:46 -05:00
}
2019-02-11 20:08:21 -05:00
rust_crate("rand_jitter") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-02-11 20:08:21 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/rand_jitter-0.1.3/src/lib.rs"
features = [
"rand_core",
"std",
]
extern = [ ":rand_core" ]
2019-01-09 19:22:46 -05:00
args = [
"--cap-lints",
"allow",
]
2019-02-11 20:08:21 -05:00
if (is_mac) {
extern += [ ":libc" ]
}
if (is_win) {
extern += [ ":winapi" ]
}
}
2019-02-11 20:08:21 -05:00
rust_crate("rand_os") {
edition = "2015"
2019-03-29 14:50:07 -04:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/rand_os-0.1.3/src/lib.rs"
extern = [ ":rand_core" ]
2019-02-11 20:08:21 -05:00
args = [
"--cap-lints",
"allow",
]
2019-01-09 19:22:46 -05:00
if (is_posix) {
extern += [ ":libc" ]
2019-01-09 19:22:46 -05:00
}
# Per the #[link(...)] attribute found in 'src/macos.rs'.
if (is_mac) {
libs = [ "Security.framework" ]
}
if (is_win) {
extern += [ ":winapi" ]
2019-01-09 19:22:46 -05:00
}
}
rust_crate("rand_pcg") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-02-27 13:24:22 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/rand_pcg-0.1.2/src/lib.rs"
extern = [ ":rand_core" ]
2019-01-09 19:22:46 -05:00
args = [
"--cap-lints",
"allow",
]
# Added by custom-build script.
2019-02-27 13:24:22 -05:00
cfg = [ "rustc_1_26" ]
2019-01-09 19:22:46 -05:00
}
rust_crate("rand_xorshift") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/rand_xorshift-0.1.1/src/lib.rs"
args = [
"--cap-lints",
"allow",
]
# Override: use rand_core v0.4.0 instead of v0.3.1.
extern = [ ":rand_core" ]
## Override: use rand_core v0.4.0 instead of v0.3.1.
# extern_version = [
# {
# crate_name = "rand_core"
# crate_version = "0.3.1"
# },
# ]
2019-01-09 19:22:46 -05:00
}
2019-02-07 17:46:52 -05:00
rust_crate("regex") {
edition = "2015"
2019-04-17 07:44:20 -04:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/regex-1.1.6/src/lib.rs"
2019-02-07 17:46:52 -05:00
features = [
"default",
"use_std",
]
extern = [
":aho_corasick",
":memchr",
":regex_syntax",
":thread_local",
":utf8_ranges",
]
args = [
"--cap-lints",
"allow",
]
# Added by custom-build script.
cfg = [
"regex_runtime_teddy_avx2",
"regex_runtime_teddy_ssse3",
]
}
rust_crate("regex_syntax") {
edition = "2015"
2019-04-15 11:26:24 -04:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/regex-syntax-0.6.6/src/lib.rs"
2019-02-07 17:46:52 -05:00
extern = [ ":ucd_util" ]
args = [
"--cap-lints",
"allow",
]
}
2019-01-09 19:22:46 -05:00
rust_crate("remove_dir_all") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/remove_dir_all-0.5.1/src/lib.rs"
args = [
"--cap-lints",
"allow",
]
if (is_win) {
extern = [ ":winapi" ]
}
}
rust_crate("ring") {
2019-02-11 20:08:21 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/src/lib.rs"
2019-01-09 19:22:46 -05:00
features = [
"default",
"dev_urandom_fallback",
"use_heap",
]
deps = [
":ring-core",
## Override: don't build 'ring-test' static library.
# ":ring-test",
]
2019-02-11 20:08:21 -05:00
extern = [
":libc",
":spin",
":untrusted",
]
2019-01-09 19:22:46 -05:00
args = [
"--cap-lints",
"allow",
]
if (is_linux) {
2019-02-11 20:08:21 -05:00
extern += [ ":lazy_static" ]
2019-01-09 19:22:46 -05:00
}
# Per the #[link(...)] attribute found in 'src/rand.rs'.
if (is_mac) {
libs = [ "Security.framework" ]
}
if (is_win) {
2019-02-11 20:08:21 -05:00
extern += [ ":winapi" ]
2019-01-09 19:22:46 -05:00
}
}
static_library("ring-core") {
include_dirs = [
2019-02-11 20:08:21 -05:00
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/include",
2019-01-09 19:22:46 -05:00
]
sources = [
2019-02-11 20:08:21 -05:00
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/crypto/block.c",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/crypto/cpu-intel.c",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/crypto/crypto.c",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/crypto/fipsmodule/bn/generic.c",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/crypto/fipsmodule/bn/montgomery.c",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/crypto/fipsmodule/bn/montgomery_inv.c",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/crypto/fipsmodule/ec/ecp_nistz.c",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/crypto/fipsmodule/ec/ecp_nistz256.c",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/crypto/fipsmodule/ec/gfp_p256.c",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/crypto/fipsmodule/ec/gfp_p384.c",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/crypto/fipsmodule/modes/gcm.c",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/crypto/limbs/limbs.c",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/crypto/mem.c",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/third_party/fiat/curve25519.c",
2019-01-09 19:22:46 -05:00
]
if (is_linux) {
sources += [
2019-02-11 20:08:21 -05:00
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/pregenerated/aes-x86_64-elf.S",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/pregenerated/aesni-gcm-x86_64-elf.S",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/pregenerated/aesni-x86_64-elf.S",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/pregenerated/chacha-x86_64-elf.S",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/pregenerated/ghash-x86_64-elf.S",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/pregenerated/p256-x86_64-asm-elf.S",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/pregenerated/poly1305-x86_64-elf.S",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/pregenerated/sha256-x86_64-elf.S",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/pregenerated/sha512-x86_64-elf.S",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/pregenerated/vpaes-x86_64-elf.S",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/pregenerated/x86_64-mont-elf.S",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/pregenerated/x86_64-mont5-elf.S",
2019-01-09 19:22:46 -05:00
]
# Supress "warning: '_GNU_SOURCE' macro redefined."
cflags = [ "-Wno-macro-redefined" ]
}
if (is_mac) {
sources += [
2019-02-11 20:08:21 -05:00
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/pregenerated/aes-x86_64-macosx.S",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/pregenerated/aesni-gcm-x86_64-macosx.S",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/pregenerated/aesni-x86_64-macosx.S",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/pregenerated/chacha-x86_64-macosx.S",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/pregenerated/ghash-x86_64-macosx.S",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/pregenerated/p256-x86_64-asm-macosx.S",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/pregenerated/poly1305-x86_64-macosx.S",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/pregenerated/sha256-x86_64-macosx.S",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/pregenerated/sha512-x86_64-macosx.S",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/pregenerated/vpaes-x86_64-macosx.S",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/pregenerated/x86_64-mont-macosx.S",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/pregenerated/x86_64-mont5-macosx.S",
2019-01-09 19:22:46 -05:00
]
}
if (is_win) {
libs = [
2019-02-11 20:08:21 -05:00
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/pregenerated/aes-x86_64-nasm.obj",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/pregenerated/aesni-gcm-x86_64-nasm.obj",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/pregenerated/aesni-x86_64-nasm.obj",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/pregenerated/chacha-x86_64-nasm.obj",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/pregenerated/ghash-x86_64-nasm.obj",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/pregenerated/p256-x86_64-asm-nasm.obj",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/pregenerated/poly1305-x86_64-nasm.obj",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/pregenerated/sha256-x86_64-nasm.obj",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/pregenerated/sha512-x86_64-nasm.obj",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/pregenerated/vpaes-x86_64-nasm.obj",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/pregenerated/x86_64-mont-nasm.obj",
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/pregenerated/x86_64-mont5-nasm.obj",
2019-01-09 19:22:46 -05:00
]
# Suppress "warning: '_addcarry_u64' is not a recognized builtin."
cflags = [ "-Wno-ignored-pragma-intrinsic" ]
}
}
## Override: don't build 'ring-test' static library.
# static_library("ring-test") {
2019-02-11 20:08:21 -05:00
# include_dirs = [ "$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/include" ]
# sources = [ "$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.14.6/crypto/constant_time_test.c" ]
2019-01-09 19:22:46 -05:00
# }
rust_crate("rustls") {
2019-04-15 11:26:24 -04:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/rustls-0.15.2/src/lib.rs"
2019-01-09 19:22:46 -05:00
features = [
"default",
"log",
"logging",
]
extern = [
":base64",
2018-08-05 18:50:15 -04:00
":log",
2019-01-09 19:22:46 -05:00
":ring",
":sct",
":untrusted",
":webpki",
]
args = [
"--cap-lints",
"allow",
2018-08-05 18:50:15 -04:00
]
}
2019-01-09 19:22:46 -05:00
rust_crate("rustyline") {
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/rustyline-3.0.0/src/lib.rs"
2018-08-05 18:50:15 -04:00
extern = [
2019-01-09 19:22:46 -05:00
":dirs",
":libc",
2018-08-05 18:50:15 -04:00
":log",
2019-01-09 19:22:46 -05:00
":memchr",
":unicode_segmentation",
":unicode_width",
]
args = [
"--cap-lints",
"allow",
]
if (is_posix) {
extern += [
":utf8parse",
2019-04-23 11:59:22 -04:00
# Override: use nix v0.13.0 instead of v0.11.0.
":nix",
2019-01-09 19:22:46 -05:00
]
2019-04-23 11:59:22 -04:00
## Override: use nix v0.13.0 instead of v0.11.0.
# extern_version = [
# {
# crate_name = "nix"
# crate_version = "0.11.0"
# },
# ]
2019-01-09 19:22:46 -05:00
}
if (is_win) {
extern += [ ":winapi" ]
}
}
rust_crate("ryu") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/ryu-0.2.7/src/lib.rs"
args = [
"--cap-lints",
"allow",
]
# Added by custom-build script.
cfg = [
"integer128",
"must_use_return",
]
}
rust_crate("scopeguard") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/scopeguard-0.3.3/src/lib.rs"
args = [
"--cap-lints",
"allow",
]
}
rust_crate("sct") {
2019-01-26 07:58:19 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/sct-0.5.0/src/lib.rs"
2019-01-09 19:22:46 -05:00
extern = [
":ring",
":untrusted",
]
args = [
"--cap-lints",
"allow",
]
}
rust_crate("serde") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-04-15 11:26:24 -04:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.90/src/lib.rs"
2019-01-09 19:22:46 -05:00
features = [
"default",
"std",
]
args = [
"--cap-lints",
"allow",
]
# Added by custom-build script.
cfg = [
"core_duration",
2019-03-29 14:50:07 -04:00
"core_reverse",
2019-01-09 19:22:46 -05:00
"de_boxed_c_str",
"de_rc_dst",
"integer128",
"num_nonzero",
2019-02-11 20:08:21 -05:00
"ops_bound",
2019-01-09 19:22:46 -05:00
"range_inclusive",
2018-08-05 18:50:15 -04:00
]
}
2019-01-09 19:22:46 -05:00
rust_crate("serde_json") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-03-29 14:50:07 -04:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.39/src/lib.rs"
2019-01-09 19:22:46 -05:00
features = [ "default" ]
2018-08-05 18:50:15 -04:00
extern = [
":itoa",
2019-01-09 19:22:46 -05:00
":ryu",
":serde",
]
args = [
"--cap-lints",
"allow",
2018-08-05 18:50:15 -04:00
]
}
2019-01-09 19:22:46 -05:00
rust_crate("slab") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/slab-0.4.2/src/lib.rs"
args = [
"--cap-lints",
"allow",
]
2018-08-05 18:50:15 -04:00
}
2019-01-09 19:22:46 -05:00
rust_crate("smallvec") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-02-27 13:24:22 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/smallvec-0.6.9/lib.rs"
2019-01-09 19:22:46 -05:00
features = [
"default",
"std",
]
args = [
"--cap-lints",
"allow",
2018-08-05 18:50:15 -04:00
]
}
2019-01-09 19:22:46 -05:00
rust_crate("source_map_mappings") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/source-map-mappings-0.5.0/src/lib.rs"
extern = [
":vlq",
2018-08-05 18:50:15 -04:00
2019-02-11 20:08:21 -05:00
# Override: use rand v0.6.5 instead of v0.4.6.
2019-01-09 19:22:46 -05:00
":rand",
]
args = [
"--cap-lints",
"allow",
]
2019-02-11 20:08:21 -05:00
## Override: use rand v0.6.5 instead of v0.4.6.
2019-01-09 19:22:46 -05:00
# extern_version = [
# {
# crate_name = "rand"
2019-01-26 07:58:19 -05:00
# crate_version = "0.4.6"
2019-01-09 19:22:46 -05:00
# },
# ]
}
2019-02-11 20:08:21 -05:00
rust_crate("spin") {
edition = "2015"
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/spin-0.5.0/src/lib.rs"
args = [
"--cap-lints",
"allow",
]
}
2019-01-09 19:22:46 -05:00
## Override: avoid dependency on on 'owning_ref'.
# rust_crate("stable_deref_trait") {
2019-01-14 01:30:38 -05:00
# edition = "2015"
2019-01-09 19:22:46 -05:00
# source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/stable_deref_trait-1.1.1/src/lib.rs"
# features = [
# "default",
# "std",
# ]
# args = [
# "--cap-lints",
# "allow",
# ]
# }
2018-08-05 18:50:15 -04:00
rust_crate("string") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/string-0.1.3/src/lib.rs"
args = [
"--cap-lints",
"allow",
]
2018-08-05 18:50:15 -04:00
}
2019-03-31 17:54:58 -04:00
rust_crate("strsim") {
edition = "2015"
2019-04-15 11:26:24 -04:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/strsim-0.8.0/src/lib.rs"
2019-03-31 17:54:58 -04:00
args = [
"--cap-lints",
"allow",
]
}
2019-01-09 19:22:46 -05:00
rust_crate("tempfile") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-02-27 13:24:22 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/tempfile-3.0.7/src/lib.rs"
2018-08-05 18:50:15 -04:00
extern = [
2019-01-09 19:22:46 -05:00
":cfg_if",
":rand",
":remove_dir_all",
2018-08-05 18:50:15 -04:00
]
2019-01-09 19:22:46 -05:00
args = [
"--cap-lints",
"allow",
]
if (is_posix) {
extern += [ ":libc" ]
}
if (is_win) {
extern += [ ":winapi" ]
}
2018-08-05 18:50:15 -04:00
}
2019-03-31 17:54:58 -04:00
rust_crate("textwrap") {
edition = "2015"
2019-04-15 11:26:24 -04:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/textwrap-0.11.0/src/lib.rs"
2019-03-31 17:54:58 -04:00
extern = [ ":unicode_width" ]
args = [
"--cap-lints",
"allow",
]
}
2019-02-07 17:46:52 -05:00
rust_crate("thread_local") {
edition = "2015"
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/thread_local-0.3.6/src/lib.rs"
extern = [ ":lazy_static" ]
args = [
"--cap-lints",
"allow",
]
}
2019-01-09 19:22:46 -05:00
rust_crate("time") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/time-0.1.42/src/lib.rs"
extern = [ ":libc" ]
args = [
"--cap-lints",
"allow",
2018-08-05 18:50:15 -04:00
]
2019-01-09 19:22:46 -05:00
if (is_win) {
extern += [ ":winapi" ]
}
2018-08-05 18:50:15 -04:00
}
2018-08-11 16:04:11 -04:00
rust_crate("tokio") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-04-23 11:59:22 -04:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.19/src/lib.rs"
2019-01-09 19:22:46 -05:00
features = [
"bytes",
"codec",
"default",
"fs",
"io",
"mio",
"num_cpus",
"reactor",
"rt-full",
2019-01-26 07:58:19 -05:00
"sync",
2019-01-09 19:22:46 -05:00
"tcp",
"timer",
"tokio-codec",
"tokio-current-thread",
"tokio-executor",
"tokio-fs",
"tokio-io",
"tokio-reactor",
2019-01-26 07:58:19 -05:00
"tokio-sync",
2019-01-09 19:22:46 -05:00
"tokio-tcp",
"tokio-threadpool",
"tokio-timer",
2019-03-29 14:50:07 -04:00
"tokio-trace-core",
2019-01-09 19:22:46 -05:00
"tokio-udp",
"tokio-uds",
"udp",
"uds",
]
extern = [
2019-01-09 19:22:46 -05:00
":bytes",
":futures",
":mio",
2019-01-09 19:22:46 -05:00
":num_cpus",
2018-09-17 13:47:02 -04:00
":tokio_codec",
2019-01-09 19:22:46 -05:00
":tokio_current_thread",
":tokio_executor",
":tokio_fs",
":tokio_io",
":tokio_reactor",
2019-01-26 07:58:19 -05:00
":tokio_sync",
":tokio_tcp",
":tokio_threadpool",
":tokio_timer",
2019-03-29 14:50:07 -04:00
":tokio_trace_core",
":tokio_udp",
]
2019-01-09 19:22:46 -05:00
args = [
"--cap-lints",
"allow",
]
2019-01-09 19:22:46 -05:00
if (is_posix) {
extern += [ ":tokio_uds" ]
}
}
2019-01-09 19:22:46 -05:00
rust_crate("tokio_codec") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/tokio-codec-0.1.1/src/lib.rs"
extern = [
":bytes",
":futures",
2019-01-09 19:22:46 -05:00
":tokio_io",
]
args = [
"--cap-lints",
"allow",
]
}
2019-01-09 19:22:46 -05:00
rust_crate("tokio_current_thread") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-03-29 14:50:07 -04:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/tokio-current-thread-0.1.6/src/lib.rs"
extern = [
":futures",
":tokio_executor",
]
2019-01-09 19:22:46 -05:00
args = [
"--cap-lints",
"allow",
]
}
2019-01-09 19:22:46 -05:00
rust_crate("tokio_executor") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-03-29 14:50:07 -04:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/tokio-executor-0.1.7/src/lib.rs"
2018-09-17 13:47:02 -04:00
extern = [
2019-01-09 19:22:46 -05:00
":crossbeam_utils",
2018-09-17 13:47:02 -04:00
":futures",
]
2019-01-09 19:22:46 -05:00
args = [
"--cap-lints",
"allow",
]
}
2019-01-09 19:22:46 -05:00
rust_crate("tokio_fs") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-03-29 14:50:07 -04:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/tokio-fs-0.1.6/src/lib.rs"
extern = [
":futures",
2018-09-17 13:47:02 -04:00
":tokio_io",
2019-01-09 19:22:46 -05:00
":tokio_threadpool",
]
2019-01-09 19:22:46 -05:00
args = [
"--cap-lints",
"allow",
]
}
2019-01-09 19:22:46 -05:00
rust_crate("tokio_io") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-03-29 14:50:07 -04:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/tokio-io-0.1.12/src/lib.rs"
extern = [
2019-01-09 19:22:46 -05:00
":bytes",
":futures",
":log",
]
2019-01-09 19:22:46 -05:00
args = [
"--cap-lints",
"allow",
2018-09-17 13:47:02 -04:00
]
}
2019-01-09 19:22:46 -05:00
rust_crate("tokio_process") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/tokio-process-0.2.3/src/lib.rs"
extern = [
":futures",
2019-01-09 19:22:46 -05:00
":mio",
":tokio_io",
2019-01-09 19:22:46 -05:00
":tokio_reactor",
]
2019-01-09 19:22:46 -05:00
args = [
"--cap-lints",
"allow",
]
2019-01-09 19:22:46 -05:00
if (is_posix) {
extern += [
":libc",
":tokio_signal",
]
}
if (is_win) {
2019-01-09 19:22:46 -05:00
extern += [
":mio_named_pipes",
":winapi",
]
}
}
2019-01-09 19:22:46 -05:00
rust_crate("tokio_reactor") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-03-29 14:50:07 -04:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/tokio-reactor-0.1.9/src/lib.rs"
extern = [
2019-01-09 19:22:46 -05:00
":crossbeam_utils",
":futures",
":lazy_static",
":log",
2019-01-09 19:22:46 -05:00
":mio",
":num_cpus",
":parking_lot",
":slab",
":tokio_executor",
":tokio_io",
2019-03-29 14:50:07 -04:00
":tokio_sync",
]
2019-01-09 19:22:46 -05:00
args = [
"--cap-lints",
"allow",
]
}
2019-01-09 19:22:46 -05:00
rust_crate("tokio_rustls") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-04-17 07:44:20 -04:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/tokio-rustls-0.9.2/src/lib.rs"
features = [
2019-01-09 19:22:46 -05:00
"default",
"futures",
"tokio-io",
"tokio-support",
]
extern = [
2019-01-09 19:22:46 -05:00
":futures",
":rustls",
":tokio_io",
":webpki",
]
args = [
"--cap-lints",
"allow",
]
}
2019-01-26 07:58:19 -05:00
rust_crate("tokio_sync") {
edition = "2015"
2019-04-23 11:59:22 -04:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/tokio-sync-0.1.5/src/lib.rs"
2019-03-29 14:50:07 -04:00
extern = [
":fnv",
":futures",
]
2019-01-26 07:58:19 -05:00
args = [
"--cap-lints",
"allow",
]
}
2019-01-09 19:22:46 -05:00
rust_crate("tokio_tcp") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/tokio-tcp-0.1.3/src/lib.rs"
extern = [
2019-01-09 19:22:46 -05:00
":bytes",
":futures",
":iovec",
":mio",
":tokio_io",
":tokio_reactor",
]
args = [
"--cap-lints",
"allow",
]
}
2019-01-09 19:22:46 -05:00
rust_crate("tokio_threadpool") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-04-23 11:59:22 -04:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.14/src/lib.rs"
extern = [
2019-01-09 19:22:46 -05:00
":crossbeam_deque",
2019-03-29 14:50:07 -04:00
":crossbeam_queue",
2019-01-09 19:22:46 -05:00
":crossbeam_utils",
":futures",
":log",
":num_cpus",
":rand",
2019-01-26 07:58:19 -05:00
":slab",
2019-01-09 19:22:46 -05:00
":tokio_executor",
]
args = [
"--cap-lints",
"allow",
]
}
2019-01-09 19:22:46 -05:00
rust_crate("tokio_timer") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-02-11 20:08:21 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/tokio-timer-0.2.10/src/lib.rs"
extern = [
2019-01-09 19:22:46 -05:00
":crossbeam_utils",
":futures",
":slab",
":tokio_executor",
]
args = [
"--cap-lints",
"allow",
]
}
2019-03-29 14:50:07 -04:00
rust_crate("tokio_trace_core") {
edition = "2015"
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/tokio-trace-core-0.1.0/src/lib.rs"
extern = [ ":lazy_static" ]
args = [
"--cap-lints",
"allow",
]
}
2019-01-09 19:22:46 -05:00
rust_crate("tokio_udp") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/tokio-udp-0.1.3/src/lib.rs"
extern = [
2019-01-09 19:22:46 -05:00
":bytes",
":futures",
":log",
":mio",
":tokio_codec",
":tokio_io",
":tokio_reactor",
]
args = [
"--cap-lints",
"allow",
]
}
2019-01-09 19:22:46 -05:00
rust_crate("try_lock") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/try-lock-0.2.2/src/lib.rs"
args = [
"--cap-lints",
"allow",
]
}
2019-02-07 17:46:52 -05:00
rust_crate("ucd_util") {
edition = "2015"
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/ucd-util-0.1.3/src/lib.rs"
args = [
"--cap-lints",
"allow",
]
}
2019-01-09 19:22:46 -05:00
rust_crate("unicode_bidi") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/unicode-bidi-0.3.4/src/lib.rs"
features = [ "default" ]
extern = [ ":matches" ]
args = [
"--cap-lints",
"allow",
]
}
2018-09-02 01:58:23 -04:00
2019-01-09 19:22:46 -05:00
rust_crate("unicode_normalization") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-26 07:58:19 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/unicode-normalization-0.1.8/src/lib.rs"
extern = [ ":smallvec" ]
2019-01-09 19:22:46 -05:00
args = [
"--cap-lints",
"allow",
]
2018-09-02 01:58:23 -04:00
}
2019-01-09 19:22:46 -05:00
rust_crate("unicode_segmentation") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/unicode-segmentation-1.2.1/src/lib.rs"
args = [
"--cap-lints",
"allow",
]
2018-09-02 01:58:23 -04:00
}
2019-01-09 19:22:46 -05:00
rust_crate("unicode_width") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/unicode-width-0.1.5/src/lib.rs"
2018-09-02 01:58:23 -04:00
features = [ "default" ]
2019-01-09 19:22:46 -05:00
args = [
"--cap-lints",
"allow",
2018-09-17 13:47:02 -04:00
]
}
2019-01-09 19:22:46 -05:00
rust_crate("untrusted") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/untrusted-0.6.2/src/untrusted.rs"
args = [
"--cap-lints",
"allow",
]
2018-09-17 13:47:02 -04:00
}
2019-01-09 19:22:46 -05:00
rust_crate("url") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/url-1.7.2/src/lib.rs"
extern = [
":idna",
":matches",
":percent_encoding",
]
args = [
"--cap-lints",
"allow",
]
}
rust_crate("utime") {
edition = "2015"
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/utime-0.2.1/src/lib.rs"
if (is_win) {
extern = [ ":kernel32" ]
extern_version = [
{
crate_name = "winapi"
crate_version = "0.2.8"
},
]
}
if (is_posix) {
extern = [ ":libc" ]
}
args = [
"--cap-lints",
"allow",
]
}
2019-02-07 17:46:52 -05:00
rust_crate("utf8_ranges") {
edition = "2015"
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/utf8-ranges-1.0.2/src/lib.rs"
args = [
"--cap-lints",
"allow",
]
}
2019-03-31 17:54:58 -04:00
rust_crate("vec_map") {
edition = "2015"
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/vec_map-0.8.1/src/lib.rs"
args = [
"--cap-lints",
"allow",
]
}
2019-01-09 19:22:46 -05:00
rust_crate("vlq") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/vlq-0.5.1/src/lib.rs"
args = [
"--cap-lints",
"allow",
]
}
2019-01-09 19:22:46 -05:00
rust_crate("want") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/want-0.0.6/src/lib.rs"
extern = [
2019-01-09 19:22:46 -05:00
":futures",
":log",
2019-01-09 19:22:46 -05:00
":try_lock",
]
args = [
"--cap-lints",
"allow",
]
}
2019-01-09 19:22:46 -05:00
rust_crate("webpki") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-26 07:58:19 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/webpki-0.19.1/src/webpki.rs"
2019-01-09 19:22:46 -05:00
features = [
"default",
"std",
"trust_anchor_util",
]
extern = [
2019-01-09 19:22:46 -05:00
":ring",
":untrusted",
]
args = [
"--cap-lints",
"allow",
]
}
2019-01-09 19:22:46 -05:00
rust_crate("webpki_roots") {
2019-01-26 07:58:19 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/webpki-roots-0.16.0/src/lib.rs"
extern = [
2019-01-09 19:22:46 -05:00
":untrusted",
":webpki",
]
2019-01-09 19:22:46 -05:00
args = [
"--cap-lints",
"allow",
]
}
2019-02-11 20:08:21 -05:00
## Override: use rand v0.6.5 instead.
2019-01-26 07:58:19 -05:00
# rust_crate("rand-0.4.6") {
2019-01-09 19:22:46 -05:00
# crate_name = "rand"
2019-01-26 07:58:19 -05:00
# crate_version = "0.4.6"
2019-01-14 01:30:38 -05:00
# edition = "2015"
2019-01-26 07:58:19 -05:00
# source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/rand-0.4.6/src/lib.rs"
2019-01-09 19:22:46 -05:00
# features = [
# "default",
# "libc",
# "std",
# ]
# args = [
# "--cap-lints",
# "allow",
# ]
# if (is_posix) {
# extern = [ ":libc" ]
# }
#
# # Per the #[link(...)] attribute found in 'src/os.rs'.
# if (is_mac) {
# libs = [ "Security.framework" ]
# }
# if (is_win) {
# extern = [ ":winapi" ]
# }
# }
## Override: use rand_core v0.4.0 instead.
# rust_crate("rand_core-0.3.1") {
# crate_name = "rand_core"
# crate_version = "0.3.1"
# edition = "2015"
# source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/rand_core-0.3.1/src/lib.rs"
# extern = [ ":rand_core" ]
# args = [
# "--cap-lints",
# "allow",
# ]
# }
2019-01-26 07:58:19 -05:00
2019-01-09 19:22:46 -05:00
if (is_posix) {
rust_crate("arc_swap") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-04-15 11:26:24 -04:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/arc-swap-0.3.11/src/lib.rs"
2019-01-09 19:22:46 -05:00
args = [
"--cap-lints",
"allow",
]
}
2019-01-09 19:22:46 -05:00
rust_crate("mio_uds") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/mio-uds-0.6.7/src/lib.rs"
extern = [
":iovec",
":libc",
":mio",
]
args = [
"--cap-lints",
"allow",
]
}
2019-01-09 19:22:46 -05:00
rust_crate("nix") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-04-23 11:59:22 -04:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/nix-0.13.0/src/lib.rs"
2019-01-09 19:22:46 -05:00
extern = [
":bitflags",
":cfg_if",
":libc",
":void",
]
args = [
"--cap-lints",
"allow",
]
}
2019-01-09 19:22:46 -05:00
rust_crate("signal_hook") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-02-27 13:24:22 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/signal-hook-0.1.8/src/lib.rs"
2019-01-09 19:22:46 -05:00
extern = [
":arc_swap",
":libc",
]
2019-01-09 19:22:46 -05:00
args = [
"--cap-lints",
"allow",
]
}
rust_crate("tokio_signal") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/tokio-signal-0.2.7/src/lib.rs"
extern = [
":futures",
":libc",
2019-01-09 19:22:46 -05:00
":mio",
":mio_uds",
":signal_hook",
":tokio_executor",
":tokio_io",
":tokio_reactor",
]
args = [
"--cap-lints",
"allow",
]
}
2019-01-09 19:22:46 -05:00
rust_crate("tokio_uds") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/tokio-uds-0.2.5/src/lib.rs"
extern = [
":bytes",
":futures",
":iovec",
":libc",
":log",
":mio",
":mio_uds",
":tokio_codec",
":tokio_io",
":tokio_reactor",
]
args = [
"--cap-lints",
"allow",
]
}
2019-01-09 19:22:46 -05:00
rust_crate("utf8parse") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/utf8parse-0.1.1/src/lib.rs"
args = [
"--cap-lints",
"allow",
]
}
2019-02-27 13:24:22 -05:00
rust_crate("void") {
edition = "2015"
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/void-1.0.2/src/lib.rs"
features = [
"default",
"std",
]
args = [
"--cap-lints",
"allow",
]
}
2019-04-23 11:59:22 -04:00
## Override: use nix v0.13.0 instead.
# rust_crate("nix-0.11.0") {
# crate_name = "nix"
# crate_version = "0.11.0"
# edition = "2015"
# source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/nix-0.11.0/src/lib.rs"
# extern = [
# ":bitflags",
# ":cfg_if",
# ":libc",
# ":void",
# ]
# args = [
# "--cap-lints",
# "allow",
# ]
# }
}
2019-01-09 19:22:46 -05:00
if (is_win) {
rust_crate("kernel32") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/kernel32-sys-0.2.2/src/lib.rs"
extern_version = [
{
crate_name = "winapi"
crate_version = "0.2.8"
},
]
args = [
"--cap-lints",
"allow",
]
2019-01-09 19:22:46 -05:00
# Added by custom-build script.
libs = [ "kernel32.lib" ]
}
2019-01-09 19:22:46 -05:00
rust_crate("mio_named_pipes") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/mio-named-pipes-0.1.6/src/lib.rs"
extern = [
":log",
":mio",
":miow",
":winapi",
]
args = [
"--cap-lints",
"allow",
]
}
rust_crate("miow") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/miow-0.3.3/src/lib.rs"
extern = [
":socket2",
":winapi",
]
args = [
"--cap-lints",
"allow",
]
}
rust_crate("socket2") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/socket2-0.3.8/src/lib.rs"
extern = [ ":winapi" ]
args = [
"--cap-lints",
"allow",
]
}
rust_crate("winapi") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-04-15 11:26:24 -04:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/winapi-0.3.7/src/lib.rs"
2019-01-09 19:22:46 -05:00
features = [
"consoleapi",
"dbghelp",
"errhandlingapi",
"fileapi",
"handleapi",
"ioapiset",
"knownfolders",
"minwinbase",
"minwindef",
"namedpipeapi",
"ntdef",
"ntsecapi",
"ntstatus",
"objbase",
"processenv",
"processthreadsapi",
"profileapi",
"shlobj",
"std",
"synchapi",
"sysinfoapi",
"threadpoollegacyapiset",
"timezoneapi",
"winbase",
"wincon",
"winerror",
"winnt",
"winsock2",
"winuser",
"ws2def",
"ws2ipdef",
"ws2tcpip",
2019-02-11 20:08:21 -05:00
"wtypesbase",
2019-01-09 19:22:46 -05:00
# Added by custom-build script.
"basetsd",
"cfg",
"cfgmgr32",
"combaseapi",
2019-04-15 11:26:24 -04:00
"devpropdef",
2019-01-09 19:22:46 -05:00
"excpt",
"guiddef",
"in6addr",
"inaddr",
"ktmtypes",
"libloaderapi",
"limits",
"lsalookup",
"mstcpip",
"objidl",
"objidlbase",
"propidl",
"qos",
"rpc",
"rpcdce",
"rpcndr",
"shtypes",
"sspi",
"subauth",
"unknwnbase",
"vadefs",
"vcruntime",
2019-04-15 11:26:24 -04:00
"wincontypes",
2019-01-09 19:22:46 -05:00
"wincred",
"windef",
"wingdi",
"winreg",
"wtypes",
]
args = [
"--cap-lints",
"allow",
]
# Added by custom-build script.
libs = [
"advapi32.lib",
2019-04-15 11:26:24 -04:00
"cfgmgr32.lib",
2019-01-09 19:22:46 -05:00
"credui.lib",
"dbghelp.lib",
"fwpuclnt.lib",
"gdi32.lib",
"kernel32.lib",
"msimg32.lib",
"ntdll.lib",
"ole32.lib",
"opengl32.lib",
"secur32.lib",
"shell32.lib",
"synchronization.lib",
"user32.lib",
"winspool.lib",
"ws2_32.lib",
]
}
rust_crate("ws2_32") {
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/ws2_32-sys-0.2.1/src/lib.rs"
extern_version = [
{
crate_name = "winapi"
crate_version = "0.2.8"
},
]
args = [
"--cap-lints",
"allow",
]
# Added by custom-build script.
libs = [ "ws2_32.lib" ]
}
rust_crate("miow-0.2.1") {
crate_name = "miow"
crate_version = "0.2.1"
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/miow-0.2.1/src/lib.rs"
extern = [
":kernel32",
":net2",
":ws2_32",
]
extern_version = [
{
crate_name = "winapi"
crate_version = "0.2.8"
},
]
args = [
"--cap-lints",
"allow",
]
}
rust_crate("winapi-0.2.8") {
crate_name = "winapi"
crate_version = "0.2.8"
2019-01-14 01:30:38 -05:00
edition = "2015"
2019-01-09 19:22:46 -05:00
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/winapi-0.2.8/src/lib.rs"
args = [
"--cap-lints",
"allow",
]
}
}