2019-01-21 14:03:30 -05:00
|
|
|
# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
2018-07-06 00:58:09 -04:00
|
|
|
|
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-08-28 20:05:01 -04:00
|
|
|
rust_rlib("adler32") {
|
|
|
|
cap_lints = "allow"
|
|
|
|
edition = "2015"
|
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/adler32-1.0.3/src/lib.rs"
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("aho_corasick") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-02-07 17:46:52 -05:00
|
|
|
edition = "2015"
|
2019-08-22 16:33:55 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/aho-corasick-0.7.6/src/lib.rs"
|
2019-04-15 11:26:24 -04:00
|
|
|
features = [
|
|
|
|
"default",
|
|
|
|
"std",
|
|
|
|
]
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [ "memchr" ]
|
2019-02-07 17:46:52 -05:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("ansi_term") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-02-07 16:19:50 -05:00
|
|
|
edition = "2015"
|
2019-08-02 11:58:09 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/ansi_term-0.12.0/src/lib.rs"
|
2019-02-07 16:19:50 -05:00
|
|
|
if (is_win) {
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [ "winapi" ]
|
2019-02-07 16:19:50 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("arrayvec") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-08-02 11:58:09 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/arrayvec-0.4.11/src/lib.rs"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [ "nodrop" ]
|
2019-08-02 11:58:09 -04:00
|
|
|
|
|
|
|
# Added by custom-build script.
|
|
|
|
cfg = [ "has_stable_maybe_uninit" ]
|
2018-12-23 12:39:40 -05:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("atty") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-08-02 11:58:09 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/atty-0.2.13/src/lib.rs"
|
2019-01-09 19:22:46 -05:00
|
|
|
if (is_posix) {
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [ "libc" ]
|
2019-01-09 19:22:46 -05:00
|
|
|
}
|
|
|
|
if (is_win) {
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [ "winapi" ]
|
2019-01-09 19:22:46 -05:00
|
|
|
}
|
2018-11-05 12:55:59 -05:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("base64") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [ "byteorder" ]
|
2018-11-05 12:55:59 -05:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("bitflags") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-03-31 17:54:58 -04:00
|
|
|
edition = "2015"
|
2019-06-15 09:19:13 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/bitflags-1.1.0/src/lib.rs"
|
2019-03-31 17:54:58 -04:00
|
|
|
features = [ "default" ]
|
2019-06-15 09:19:13 -04:00
|
|
|
|
|
|
|
# Added by custom-build script.
|
|
|
|
cfg = [ "bitflags_const_fn" ]
|
2019-03-31 17:54:58 -04:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("byteorder") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-06-15 09:19:13 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/byteorder-1.3.2/src/lib.rs"
|
2019-01-09 19:22:46 -05:00
|
|
|
features = [
|
|
|
|
"default",
|
|
|
|
"std",
|
|
|
|
]
|
2019-01-26 07:58:19 -05:00
|
|
|
|
|
|
|
# Added by custom-build script.
|
|
|
|
cfg = [ "byteorder_i128" ]
|
2018-11-05 12:55:59 -05:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("bytes") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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"
|
2019-05-16 23:43:23 -04:00
|
|
|
features = [ "either" ]
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"byteorder",
|
2019-05-16 23:43:23 -04:00
|
|
|
"either",
|
2019-05-14 17:30:56 -04:00
|
|
|
"iovec",
|
2019-01-09 19:22:46 -05:00
|
|
|
]
|
2018-11-05 12:55:59 -05:00
|
|
|
}
|
|
|
|
|
2019-08-02 11:58:09 -04:00
|
|
|
## Override: use rand v0.6.5 instead.
|
|
|
|
# rust_rlib("c2_chacha") {
|
2019-08-22 16:23:49 -04:00
|
|
|
# cap_lints = "allow"
|
2019-08-02 11:58:09 -04:00
|
|
|
# source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/c2-chacha-0.2.2/src/lib.rs"
|
|
|
|
# features = [
|
|
|
|
# "lazy_static",
|
|
|
|
# "simd",
|
|
|
|
# "std",
|
|
|
|
# ]
|
|
|
|
# extern_rlib = [
|
|
|
|
# "lazy_static",
|
|
|
|
# "ppv_lite86",
|
|
|
|
# ]
|
|
|
|
# }
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("cfg_if") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-05-16 23:43:23 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/cfg-if-0.1.9/src/lib.rs"
|
2018-07-10 14:56:12 -04:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("clap") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-03-31 17:54:58 -04:00
|
|
|
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",
|
|
|
|
]
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"atty",
|
|
|
|
"bitflags",
|
|
|
|
"strsim",
|
|
|
|
"textwrap",
|
|
|
|
"unicode_width",
|
|
|
|
"vec_map",
|
2019-03-31 17:54:58 -04:00
|
|
|
]
|
2019-08-02 11:58:09 -04:00
|
|
|
|
|
|
|
# Override: use ansi_term v0.12.0 instead of v0.11.0.
|
2019-03-31 17:54:58 -04:00
|
|
|
if (is_posix) {
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib += [ "ansi_term" ]
|
2019-08-02 11:58:09 -04:00
|
|
|
# extern = [
|
|
|
|
# {
|
|
|
|
# label = ":ansi_term-0.11.0"
|
|
|
|
# crate_type = "rlib"
|
|
|
|
# crate_name = "ansi_term"
|
|
|
|
# crate_version = "0.11.0"
|
|
|
|
# },
|
|
|
|
# ]
|
2019-03-31 17:54:58 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-28 20:05:01 -04:00
|
|
|
rust_rlib("cookie") {
|
|
|
|
cap_lints = "allow"
|
|
|
|
edition = "2015"
|
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/cookie-0.12.0/src/lib.rs"
|
|
|
|
features = [
|
|
|
|
"percent-encode",
|
|
|
|
"url",
|
|
|
|
]
|
|
|
|
extern_rlib = [
|
|
|
|
"time",
|
|
|
|
"url",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
rust_rlib("cookie_store") {
|
|
|
|
cap_lints = "allow"
|
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/cookie_store-0.7.0/src/lib.rs"
|
|
|
|
extern_rlib = [
|
|
|
|
"cookie",
|
|
|
|
"failure",
|
|
|
|
"idna",
|
|
|
|
"log",
|
|
|
|
"publicsuffix",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"time",
|
|
|
|
"try_from",
|
|
|
|
"url",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
rust_rlib("crc32fast") {
|
|
|
|
cap_lints = "allow"
|
|
|
|
edition = "2015"
|
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/crc32fast-1.2.0/src/lib.rs"
|
|
|
|
features = [
|
|
|
|
"default",
|
|
|
|
"std",
|
|
|
|
]
|
|
|
|
extern_rlib = [ "cfg_if" ]
|
|
|
|
|
|
|
|
# Added by custom-build script.
|
|
|
|
cfg = [ "crc32fast_stdarchx86" ]
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("crossbeam_deque") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"crossbeam_epoch",
|
|
|
|
"crossbeam_utils",
|
2019-01-09 19:22:46 -05:00
|
|
|
]
|
2018-07-10 14:56:12 -04:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("crossbeam_epoch") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-08-02 11:58:09 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/crossbeam-epoch-0.7.2/src/lib.rs"
|
2019-01-09 19:22:46 -05:00
|
|
|
features = [
|
|
|
|
"default",
|
|
|
|
"lazy_static",
|
|
|
|
"std",
|
|
|
|
]
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"arrayvec",
|
|
|
|
"cfg_if",
|
|
|
|
"crossbeam_utils",
|
|
|
|
"lazy_static",
|
|
|
|
"memoffset",
|
|
|
|
"scopeguard",
|
2019-01-09 19:22:46 -05:00
|
|
|
]
|
2018-07-24 01:45:23 -04:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("crossbeam_queue") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-03-29 14:50:07 -04:00
|
|
|
edition = "2015"
|
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/crossbeam-queue-0.1.2/src/lib.rs"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [ "crossbeam_utils" ]
|
2019-03-29 14:50:07 -04:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("crossbeam_utils") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-08-02 11:58:09 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/crossbeam-utils-0.6.6/src/lib.rs"
|
2018-07-28 05:07:54 -04:00
|
|
|
features = [
|
2019-01-09 19:22:46 -05:00
|
|
|
"default",
|
2019-02-11 20:08:21 -05:00
|
|
|
"lazy_static",
|
2018-07-28 05:07:54 -04:00
|
|
|
"std",
|
2018-07-24 01:45:23 -04:00
|
|
|
]
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"cfg_if",
|
|
|
|
"lazy_static",
|
2019-02-11 20:08:21 -05:00
|
|
|
]
|
2018-09-17 13:47:02 -04:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("ct_logs") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-08-28 18:58:42 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/ct-logs-0.6.0/src/lib.rs"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [ "sct" ]
|
2019-01-07 10:36:08 -05:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("dirs") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-08-02 11:58:09 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/dirs-2.0.2/src/lib.rs"
|
2019-05-29 23:08:19 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"cfg_if",
|
|
|
|
"dirs_sys",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
rust_rlib("dirs_sys") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-05-29 23:08:19 -04:00
|
|
|
edition = "2015"
|
2019-08-02 11:58:09 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/dirs-sys-0.3.4/src/lib.rs"
|
2019-05-29 23:08:19 -04:00
|
|
|
extern_rlib = [ "cfg_if" ]
|
2019-01-09 19:22:46 -05:00
|
|
|
if (is_posix) {
|
2019-05-29 23:08:19 -04:00
|
|
|
extern_rlib += [ "libc" ]
|
2019-01-09 19:22:46 -05:00
|
|
|
}
|
|
|
|
if (is_win) {
|
2019-05-29 23:08:19 -04:00
|
|
|
extern_rlib += [ "winapi" ]
|
2018-07-24 01:45:23 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-28 20:05:01 -04:00
|
|
|
rust_rlib("dtoa") {
|
|
|
|
cap_lints = "allow"
|
|
|
|
edition = "2015"
|
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/dtoa-0.4.4/src/lib.rs"
|
|
|
|
}
|
|
|
|
|
2019-05-16 23:43:23 -04:00
|
|
|
rust_rlib("either") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-05-16 23:43:23 -04:00
|
|
|
edition = "2015"
|
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/either-1.5.2/src/lib.rs"
|
|
|
|
features = [
|
|
|
|
"default",
|
|
|
|
"use_std",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-08-28 20:05:01 -04:00
|
|
|
rust_rlib("encoding_rs") {
|
|
|
|
cap_lints = "allow"
|
|
|
|
edition = "2015"
|
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/encoding_rs-0.8.17/src/lib.rs"
|
|
|
|
extern_rlib = [ "cfg_if" ]
|
|
|
|
}
|
|
|
|
|
|
|
|
rust_rlib("error_chain") {
|
|
|
|
cap_lints = "allow"
|
|
|
|
edition = "2015"
|
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/error-chain-0.12.1/src/lib.rs"
|
|
|
|
features = [
|
|
|
|
"default",
|
|
|
|
"example_generated",
|
|
|
|
]
|
|
|
|
|
|
|
|
# Added by custom-build script.
|
|
|
|
cfg = [ "has_error_source" ]
|
|
|
|
if (is_win) {
|
|
|
|
features += [ "backtrace" ]
|
|
|
|
extern_rlib = [ "backtrace" ]
|
|
|
|
}
|
|
|
|
|
|
|
|
## Override: 'backtrace' is not supported on POSIX platforms.
|
|
|
|
# if (is_posix) {
|
|
|
|
# features += [ "backtrace" ]
|
|
|
|
# }
|
|
|
|
}
|
|
|
|
|
|
|
|
rust_rlib("failure") {
|
|
|
|
cap_lints = "allow"
|
|
|
|
edition = "2015"
|
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/failure-0.1.5/src/lib.rs"
|
|
|
|
features = [
|
|
|
|
"default",
|
|
|
|
"derive",
|
|
|
|
"failure_derive",
|
|
|
|
"std",
|
|
|
|
]
|
|
|
|
extern = [
|
|
|
|
{
|
|
|
|
label = ":failure_derive"
|
|
|
|
crate_type = "proc_macro"
|
|
|
|
crate_name = "failure_derive"
|
|
|
|
},
|
|
|
|
]
|
|
|
|
if (is_win) {
|
|
|
|
features += [ "backtrace" ]
|
|
|
|
extern_rlib = [ "backtrace" ]
|
|
|
|
}
|
|
|
|
|
|
|
|
## Override: 'backtrace' is not supported on POSIX platforms.
|
|
|
|
# if (is_posix) {
|
|
|
|
# features += [ "backtrace" ]
|
|
|
|
# }
|
|
|
|
}
|
|
|
|
|
|
|
|
rust_proc_macro("failure_derive") {
|
|
|
|
cap_lints = "allow"
|
|
|
|
edition = "2015"
|
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/failure_derive-0.1.5/src/lib.rs"
|
|
|
|
extern_rlib = [
|
|
|
|
"synstructure",
|
|
|
|
|
|
|
|
# Override: use proc_macro2 v1.0.1 instead of v0.4.30.
|
|
|
|
"proc_macro2",
|
|
|
|
|
|
|
|
# Override: use quote v1.0.2 instead of v0.6.13.
|
|
|
|
"quote",
|
|
|
|
]
|
|
|
|
extern = [
|
|
|
|
{
|
|
|
|
label = ":syn-0.15.44"
|
|
|
|
crate_type = "rlib"
|
|
|
|
crate_name = "syn"
|
|
|
|
crate_version = "0.15.44"
|
|
|
|
},
|
|
|
|
|
|
|
|
## Override: use proc_macro2 v1.0.1 instead of v0.4.30.
|
|
|
|
# {
|
|
|
|
# label = ":proc_macro2-0.4.30"
|
|
|
|
# crate_type = "rlib"
|
|
|
|
# crate_name = "proc_macro2"
|
|
|
|
# crate_version = "0.4.30"
|
|
|
|
# },
|
|
|
|
|
|
|
|
## Override: use quote v1.0.2 instead of v0.6.13.
|
|
|
|
# {
|
|
|
|
# label = ":quote-0.6.13"
|
|
|
|
# crate_type = "rlib"
|
|
|
|
# crate_name = "quote"
|
|
|
|
# crate_version = "0.6.13"
|
|
|
|
# },
|
|
|
|
]
|
|
|
|
|
|
|
|
# Added by custom-build script.
|
|
|
|
cfg = [ "has_dyn_trait" ]
|
|
|
|
}
|
|
|
|
|
|
|
|
rust_rlib("flate2") {
|
|
|
|
cap_lints = "allow"
|
|
|
|
edition = "2015"
|
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/flate2-1.0.11/src/lib.rs"
|
|
|
|
features = [
|
|
|
|
"miniz_oxide",
|
|
|
|
"rust_backend",
|
|
|
|
]
|
|
|
|
extern_rlib = [
|
|
|
|
"crc32fast",
|
|
|
|
"libc",
|
|
|
|
"miniz_oxide",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("fnv") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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"
|
2018-07-24 01:45:23 -04:00
|
|
|
}
|
2018-07-28 20:46:27 -04:00
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("futures") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-08-02 11:58:09 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/futures-0.1.28/src/lib.rs"
|
2018-08-08 20:15:27 -04:00
|
|
|
features = [
|
2019-01-09 19:22:46 -05:00
|
|
|
"default",
|
2018-08-08 20:15:27 -04:00
|
|
|
"use_std",
|
|
|
|
"with-deprecated",
|
2018-07-28 20:46:27 -04:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("futures_cpupool") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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"
|
2018-08-08 05:48:56 -04:00
|
|
|
features = [
|
|
|
|
"default",
|
|
|
|
"with-deprecated",
|
|
|
|
]
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"futures",
|
|
|
|
"num_cpus",
|
2018-07-28 20:46:27 -04:00
|
|
|
]
|
2018-08-08 05:48:56 -04:00
|
|
|
}
|
|
|
|
|
2019-08-02 11:58:09 -04:00
|
|
|
## Override: use rand v0.6.5 instead.
|
|
|
|
# rust_rlib("getrandom") {
|
2019-08-22 16:23:49 -04:00
|
|
|
# cap_lints = "allow"
|
2019-08-22 16:33:55 -04:00
|
|
|
# source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/getrandom-0.1.10/src/lib.rs"
|
2019-08-02 11:58:09 -04:00
|
|
|
# features = [ "std" ]
|
|
|
|
# extern_rlib = [ "cfg_if" ]
|
|
|
|
# if (is_posix) {
|
|
|
|
# extern_rlib += [ "libc" ]
|
|
|
|
# }
|
|
|
|
#
|
|
|
|
# # Per the #[link(...)] attribute found in 'src/ios.rs'.
|
|
|
|
# if (is_mac) {
|
|
|
|
# libs = [ "Security.framework" ]
|
|
|
|
# }
|
2019-08-22 16:33:55 -04:00
|
|
|
#
|
|
|
|
# # Added by custom-build script.
|
|
|
|
# if (is_win) {
|
|
|
|
# libs = [ "advapi32.lib" ]
|
|
|
|
# }
|
2019-08-02 11:58:09 -04:00
|
|
|
# }
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("h2") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-08-02 11:58:09 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/h2-0.1.26/src/lib.rs"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"byteorder",
|
|
|
|
"bytes",
|
|
|
|
"fnv",
|
|
|
|
"futures",
|
|
|
|
"http",
|
|
|
|
"indexmap",
|
|
|
|
"log",
|
|
|
|
"slab",
|
|
|
|
"string",
|
|
|
|
"tokio_io",
|
2018-08-08 05:48:56 -04:00
|
|
|
]
|
2018-07-28 20:46:27 -04:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("http") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-08-02 11:58:09 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/http-0.1.18/src/lib.rs"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"bytes",
|
|
|
|
"fnv",
|
|
|
|
"itoa",
|
2019-01-09 19:22:46 -05:00
|
|
|
]
|
2018-07-28 20:46:27 -04:00
|
|
|
}
|
|
|
|
|
2019-05-16 23:43:23 -04:00
|
|
|
rust_rlib("http_body") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-05-16 23:43:23 -04:00
|
|
|
edition = "2015"
|
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/http-body-0.1.0/src/lib.rs"
|
|
|
|
extern_rlib = [
|
|
|
|
"bytes",
|
|
|
|
"futures",
|
|
|
|
"http",
|
|
|
|
"tokio_buf",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("httparse") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-08-02 11:58:09 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/httparse-1.3.4/src/lib.rs"
|
2018-08-08 05:48:56 -04:00
|
|
|
features = [
|
|
|
|
"default",
|
2019-01-09 19:22:46 -05:00
|
|
|
"std",
|
2018-08-08 05:48:56 -04:00
|
|
|
]
|
2018-07-28 20:46:27 -04:00
|
|
|
|
2019-01-09 19:22:46 -05:00
|
|
|
# Added by custom-build script.
|
2019-08-02 11:58:09 -04:00
|
|
|
cfg = [
|
|
|
|
"httparse_min_2018",
|
|
|
|
"httparse_simd",
|
|
|
|
]
|
2018-07-28 20:46:27 -04:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("hyper") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-08-02 11:58:09 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/hyper-0.12.33/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",
|
|
|
|
]
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"bytes",
|
|
|
|
"futures",
|
|
|
|
"futures_cpupool",
|
|
|
|
"h2",
|
|
|
|
"http",
|
2019-05-16 23:43:23 -04:00
|
|
|
"http_body",
|
2019-05-14 17:30:56 -04:00
|
|
|
"httparse",
|
|
|
|
"iovec",
|
|
|
|
"itoa",
|
|
|
|
"log",
|
|
|
|
"net2",
|
|
|
|
"time",
|
|
|
|
"tokio",
|
2019-05-16 23:43:23 -04:00
|
|
|
"tokio_buf",
|
2019-05-14 17:30:56 -04:00
|
|
|
"tokio_executor",
|
|
|
|
"tokio_io",
|
|
|
|
"tokio_reactor",
|
|
|
|
"tokio_tcp",
|
|
|
|
"tokio_threadpool",
|
|
|
|
"tokio_timer",
|
|
|
|
"want",
|
2019-01-09 19:22:46 -05:00
|
|
|
]
|
2019-08-02 11:58:09 -04:00
|
|
|
|
|
|
|
# Added by custom-build script.
|
|
|
|
cfg = [
|
|
|
|
"error_source",
|
|
|
|
"try_from",
|
|
|
|
]
|
2018-07-28 20:46:27 -04:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("hyper_rustls") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-08-28 18:58:42 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/hyper-rustls-0.17.1/src/lib.rs"
|
2019-03-29 14:50:07 -04:00
|
|
|
features = [
|
|
|
|
"ct-logs",
|
|
|
|
"default",
|
|
|
|
"tokio-runtime",
|
|
|
|
"webpki-roots",
|
|
|
|
]
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"bytes",
|
|
|
|
"ct_logs",
|
|
|
|
"futures",
|
|
|
|
"hyper",
|
|
|
|
"rustls",
|
|
|
|
"tokio_io",
|
|
|
|
"tokio_rustls",
|
|
|
|
"webpki",
|
|
|
|
"webpki_roots",
|
2019-01-09 19:22:46 -05:00
|
|
|
]
|
2018-07-28 20:46:27 -04:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("idna") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-08-28 18:32:03 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/idna-0.1.5/src/lib.rs"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"matches",
|
|
|
|
"unicode_bidi",
|
|
|
|
"unicode_normalization",
|
2019-01-09 19:22:46 -05:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("indexmap") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-08-22 16:33:55 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/indexmap-1.1.0/src/lib.rs"
|
2019-01-09 19:22:46 -05:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("integer_atomics") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-26 08:32:00 -05:00
|
|
|
edition = "2015"
|
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/integer-atomics-1.0.2/src/lib.rs"
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("iovec") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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"
|
|
|
|
if (is_posix) {
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [ "libc" ]
|
2019-01-09 19:22:46 -05:00
|
|
|
}
|
|
|
|
if (is_win) {
|
2019-05-14 17:30:56 -04:00
|
|
|
extern = [
|
2019-01-09 19:22:46 -05:00
|
|
|
{
|
2019-05-14 17:30:56 -04:00
|
|
|
label = ":winapi-0.2.8"
|
|
|
|
crate_type = "rlib"
|
2019-08-02 11:58:09 -04:00
|
|
|
crate_name = "winapi"
|
2019-01-09 19:22:46 -05:00
|
|
|
crate_version = "0.2.8"
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("itoa") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-05-10 23:03:03 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/itoa-0.4.4/src/lib.rs"
|
2018-08-29 14:06:41 -04:00
|
|
|
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
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("lazy_static") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("libc") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-08-22 16:33:55 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/libc-0.2.62/src/lib.rs"
|
2019-01-09 19:22:46 -05:00
|
|
|
features = [
|
2018-08-29 14:06:41 -04:00
|
|
|
"default",
|
2019-06-15 09:19:13 -04:00
|
|
|
"std",
|
2018-08-29 14:06:41 -04:00
|
|
|
]
|
2019-01-09 19:22:46 -05:00
|
|
|
|
|
|
|
# Added by custom-build script.
|
2019-02-27 13:24:22 -05:00
|
|
|
cfg = [
|
2019-08-22 16:33:55 -04:00
|
|
|
"freebsd11",
|
2019-02-27 13:24:22 -05:00
|
|
|
"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
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("lock_api") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
2019-08-02 11:58:09 -04:00
|
|
|
# Override: use scopeguard v1.0.0 instead of v0.3.3.
|
2019-05-14 17:30:56 -04:00
|
|
|
"scopeguard",
|
2019-01-09 19:22:46 -05:00
|
|
|
## Override: avoid dependency on on 'owning_ref'.
|
2019-05-14 17:30:56 -04:00
|
|
|
# "owning_ref",
|
2018-07-28 20:46:27 -04:00
|
|
|
]
|
2019-01-09 19:22:46 -05:00
|
|
|
|
|
|
|
## Override: avoid dependency on on 'owning_ref'.
|
|
|
|
# features = [ "owning_ref" ]
|
2019-08-02 11:58:09 -04:00
|
|
|
|
|
|
|
## Override: use scopeguard v1.0.0 instead of v0.3.3.
|
|
|
|
# extern = [
|
|
|
|
# {
|
|
|
|
# label = ":scopeguard-0.3.3"
|
|
|
|
# crate_type = "rlib"
|
|
|
|
# crate_name = "scopeguard"
|
|
|
|
# crate_version = "0.3.3"
|
|
|
|
# },
|
|
|
|
# ]
|
2018-07-28 20:46:27 -04:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("log") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-08-02 11:58:09 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/log-0.4.8/src/lib.rs"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [ "cfg_if" ]
|
2019-08-02 11:58:09 -04:00
|
|
|
|
|
|
|
# Added by custom-build script.
|
|
|
|
cfg = [ "atomic_cas" ]
|
2019-01-09 19:22:46 -05:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("matches") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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"
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("memchr") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-08-02 11:58:09 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/memchr-2.2.1/src/lib.rs"
|
2018-08-29 14:06:41 -04:00
|
|
|
features = [
|
|
|
|
"default",
|
2019-01-09 19:22:46 -05:00
|
|
|
"use_std",
|
2018-08-29 14:06:41 -04:00
|
|
|
]
|
2018-07-28 20:46:27 -04: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",
|
|
|
|
]
|
2018-07-28 20:46:27 -04:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("memoffset") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-08-02 11:58:09 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/memoffset-0.5.1/src/lib.rs"
|
|
|
|
|
|
|
|
# Added by custom-build script.
|
|
|
|
cfg = [ "memoffset_maybe_uninit" ]
|
2018-07-28 20:46:27 -04:00
|
|
|
}
|
|
|
|
|
2019-08-28 20:05:01 -04:00
|
|
|
rust_rlib("mime") {
|
|
|
|
cap_lints = "allow"
|
|
|
|
edition = "2015"
|
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/mime-0.3.13/src/lib.rs"
|
|
|
|
extern_rlib = [ "unicase" ]
|
|
|
|
}
|
|
|
|
|
|
|
|
rust_rlib("mime_guess") {
|
|
|
|
cap_lints = "allow"
|
|
|
|
edition = "2015"
|
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/mime_guess-2.0.1/src/lib.rs"
|
|
|
|
features = [
|
|
|
|
"default",
|
|
|
|
"rev-mappings",
|
|
|
|
]
|
|
|
|
extern_rlib = [
|
|
|
|
"mime",
|
|
|
|
"unicase",
|
|
|
|
]
|
|
|
|
|
|
|
|
# Contains file generated by custom-build script: 'mime_types_generated.rs'.
|
|
|
|
generated_source_dir =
|
|
|
|
"$cargo_home/registry/gen/github.com-1ecc6299db9ec823/mime_guess-2.0.1"
|
|
|
|
}
|
|
|
|
|
|
|
|
rust_rlib("miniz_oxide") {
|
|
|
|
cap_lints = "allow"
|
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/miniz_oxide-0.3.2/src/lib.rs"
|
|
|
|
extern_rlib = [ "adler32" ]
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("mio") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-05-29 23:08:19 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/mio-0.6.19/src/lib.rs"
|
2019-01-09 19:22:46 -05:00
|
|
|
features = [
|
|
|
|
"default",
|
|
|
|
"with-deprecated",
|
|
|
|
]
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"iovec",
|
|
|
|
"log",
|
|
|
|
"net2",
|
|
|
|
"slab",
|
2019-01-09 19:22:46 -05:00
|
|
|
]
|
|
|
|
if (is_posix) {
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib += [ "libc" ]
|
2019-01-09 19:22:46 -05:00
|
|
|
}
|
|
|
|
if (is_win) {
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib += [ "kernel32" ]
|
|
|
|
extern = [
|
2019-01-09 19:22:46 -05:00
|
|
|
{
|
2019-05-14 17:30:56 -04:00
|
|
|
label = ":miow-0.2.1"
|
|
|
|
crate_type = "rlib"
|
2019-08-02 11:58:09 -04:00
|
|
|
crate_name = "miow"
|
2019-01-09 19:22:46 -05:00
|
|
|
crate_version = "0.2.1"
|
|
|
|
},
|
|
|
|
{
|
2019-05-14 17:30:56 -04:00
|
|
|
label = ":winapi-0.2.8"
|
|
|
|
crate_type = "rlib"
|
2019-08-02 11:58:09 -04:00
|
|
|
crate_name = "winapi"
|
2019-01-09 19:22:46 -05:00
|
|
|
crate_version = "0.2.8"
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
2018-07-28 20:46:27 -04:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("net2") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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",
|
|
|
|
]
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [ "cfg_if" ]
|
2019-01-09 19:22:46 -05:00
|
|
|
if (is_posix) {
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib += [ "libc" ]
|
2019-01-09 19:22:46 -05:00
|
|
|
}
|
|
|
|
if (is_win) {
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib += [ "winapi" ]
|
2019-01-09 19:22:46 -05:00
|
|
|
}
|
2018-07-28 20:46:27 -04:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("nodrop") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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"
|
2018-07-28 20:46:27 -04:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("num_cpus") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-06-15 09:19:13 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/num_cpus-1.10.1/src/lib.rs"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [ "libc" ]
|
2018-07-28 20:46:27 -04:00
|
|
|
}
|
|
|
|
|
2019-01-09 19:22:46 -05:00
|
|
|
## Override: avoid dependency on on 'owning_ref'.
|
2019-05-14 17:30:56 -04:00
|
|
|
# rust_rlib("owning_ref") {
|
2019-08-22 16:23:49 -04:00
|
|
|
# cap_lints = "allow"
|
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"
|
2019-05-14 17:30:56 -04:00
|
|
|
# extern_rlib = [ "stable_deref_trait" ]
|
2019-01-09 19:22:46 -05:00
|
|
|
# }
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("parking_lot") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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",
|
|
|
|
## Override: avoid dependency on on 'owning_ref'.
|
|
|
|
# "owning_ref",
|
|
|
|
]
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"lock_api",
|
|
|
|
"parking_lot_core",
|
2019-01-09 19:22:46 -05:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("parking_lot_core") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"rand",
|
|
|
|
"smallvec",
|
2019-01-09 19:22:46 -05:00
|
|
|
]
|
|
|
|
|
|
|
|
# Added by custom-build script.
|
|
|
|
cfg = [ "has_localkey_try_with" ]
|
|
|
|
if (is_posix) {
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib += [ "libc" ]
|
2019-01-09 19:22:46 -05:00
|
|
|
}
|
|
|
|
if (is_win) {
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib += [ "winapi" ]
|
2019-01-09 19:22:46 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("percent_encoding") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-08-28 18:32:03 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/percent-encoding-1.0.1/lib.rs"
|
2019-01-09 19:22:46 -05:00
|
|
|
}
|
|
|
|
|
2019-08-02 11:58:09 -04:00
|
|
|
## Override: use rand v0.6.5 instead.
|
|
|
|
# rust_rlib("ppv_lite86") {
|
2019-08-22 16:23:49 -04:00
|
|
|
# cap_lints = "allow"
|
2019-08-02 11:58:09 -04:00
|
|
|
# source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/ppv-lite86-0.2.5/src/lib.rs"
|
|
|
|
# features = [
|
|
|
|
# "default",
|
|
|
|
# "simd",
|
|
|
|
# "std",
|
|
|
|
# ]
|
|
|
|
# }
|
|
|
|
|
2019-05-16 23:17:50 -04:00
|
|
|
rust_rlib("proc_macro2") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-08-22 16:33:55 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/proc-macro2-1.0.1/src/lib.rs"
|
2019-05-16 23:17:50 -04:00
|
|
|
features = [
|
|
|
|
"default",
|
|
|
|
"proc-macro",
|
|
|
|
]
|
|
|
|
extern_rlib = [ "unicode_xid" ]
|
|
|
|
|
|
|
|
# Added by custom-build script.
|
|
|
|
cfg = [
|
|
|
|
"use_proc_macro",
|
|
|
|
"wrap_proc_macro",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-08-28 20:05:01 -04:00
|
|
|
rust_rlib("publicsuffix") {
|
|
|
|
cap_lints = "allow"
|
|
|
|
edition = "2015"
|
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/publicsuffix-1.5.2/src/lib.rs"
|
|
|
|
extern_rlib = [
|
|
|
|
"error_chain",
|
|
|
|
"idna",
|
|
|
|
"lazy_static",
|
|
|
|
"regex",
|
|
|
|
"url",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-05-16 23:17:50 -04:00
|
|
|
rust_rlib("quote") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-08-22 16:33:55 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/quote-1.0.2/src/lib.rs"
|
2019-05-16 23:17:50 -04:00
|
|
|
features = [
|
|
|
|
"default",
|
|
|
|
"proc-macro",
|
|
|
|
]
|
|
|
|
extern_rlib = [ "proc_macro2" ]
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("rand") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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_os",
|
|
|
|
"std",
|
|
|
|
]
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"rand_hc",
|
|
|
|
"rand_isaac",
|
|
|
|
"rand_jitter",
|
|
|
|
"rand_os",
|
|
|
|
"rand_pcg",
|
|
|
|
"rand_xorshift",
|
2019-01-26 07:58:19 -05:00
|
|
|
]
|
2019-08-02 11:58:09 -04:00
|
|
|
extern = [
|
|
|
|
{
|
|
|
|
label = ":rand_chacha-0.1.1"
|
|
|
|
crate_type = "rlib"
|
|
|
|
crate_name = "rand_chacha"
|
|
|
|
crate_version = "0.1.1"
|
|
|
|
},
|
|
|
|
{
|
2019-08-22 16:33:55 -04:00
|
|
|
label = ":rand_core-0.4.2"
|
2019-08-02 11:58:09 -04:00
|
|
|
crate_type = "rlib"
|
|
|
|
crate_name = "rand_core"
|
2019-08-22 16:33:55 -04:00
|
|
|
crate_version = "0.4.2"
|
2019-08-02 11:58:09 -04:00
|
|
|
},
|
|
|
|
]
|
2019-01-09 19:22:46 -05:00
|
|
|
|
|
|
|
# Added by custom-build script.
|
|
|
|
cfg = [
|
|
|
|
"rustc_1_25",
|
|
|
|
"rustc_1_26",
|
|
|
|
"rustc_1_27",
|
|
|
|
]
|
|
|
|
if (is_posix) {
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib += [ "libc" ]
|
2019-01-09 19:22:46 -05:00
|
|
|
}
|
|
|
|
if (is_win) {
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib += [ "winapi" ]
|
2019-01-09 19:22:46 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-02 11:58:09 -04:00
|
|
|
## Override: use rand v0.6.5 instead.
|
|
|
|
# rust_rlib("rand_chacha") {
|
2019-08-22 16:23:49 -04:00
|
|
|
# cap_lints = "allow"
|
2019-08-02 11:58:09 -04:00
|
|
|
# source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/rand_chacha-0.2.1/src/lib.rs"
|
|
|
|
# features = [
|
|
|
|
# "default",
|
|
|
|
# "simd",
|
|
|
|
# "std",
|
|
|
|
# ]
|
|
|
|
# extern_rlib = [
|
|
|
|
# "c2_chacha",
|
|
|
|
# "rand_core",
|
|
|
|
# ]
|
|
|
|
# }
|
2019-01-09 19:22:46 -05:00
|
|
|
|
2019-08-02 11:58:09 -04:00
|
|
|
## Override: use rand v0.6.5 instead.
|
|
|
|
# rust_rlib("rand_core") {
|
2019-08-22 16:23:49 -04:00
|
|
|
# cap_lints = "allow"
|
2019-08-02 11:58:09 -04:00
|
|
|
# edition = "2015"
|
|
|
|
# source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/rand_core-0.5.0/src/lib.rs"
|
|
|
|
# features = [
|
|
|
|
# "alloc",
|
|
|
|
# "getrandom",
|
|
|
|
# "std",
|
|
|
|
# ]
|
|
|
|
# extern_rlib = [ "getrandom" ]
|
|
|
|
# }
|
2019-01-09 19:22:46 -05:00
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("rand_hc") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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"
|
2019-01-26 08:24:13 -05:00
|
|
|
|
2019-08-22 16:33:55 -04:00
|
|
|
# Override: use rand_core v0.4.2 instead of v0.3.1.
|
2019-08-02 11:58:09 -04:00
|
|
|
extern = [
|
|
|
|
{
|
2019-08-22 16:33:55 -04:00
|
|
|
label = ":rand_core-0.4.2"
|
2019-08-02 11:58:09 -04:00
|
|
|
crate_type = "rlib"
|
|
|
|
crate_name = "rand_core"
|
2019-08-22 16:33:55 -04:00
|
|
|
crate_version = "0.4.2"
|
2019-08-02 11:58:09 -04:00
|
|
|
},
|
|
|
|
# {
|
|
|
|
# label = ":rand_core-0.3.1"
|
|
|
|
# crate_type = "rlib"
|
|
|
|
# crate_name = "rand_core"
|
|
|
|
# crate_version = "0.3.1"
|
|
|
|
# },
|
|
|
|
]
|
2019-01-09 19:22:46 -05:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("rand_isaac") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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"
|
2019-01-26 08:24:13 -05:00
|
|
|
|
2019-08-22 16:33:55 -04:00
|
|
|
# Override: use rand_core v0.4.2 instead of v0.3.1.
|
2019-08-02 11:58:09 -04:00
|
|
|
extern = [
|
|
|
|
{
|
2019-08-22 16:33:55 -04:00
|
|
|
label = ":rand_core-0.4.2"
|
2019-08-02 11:58:09 -04:00
|
|
|
crate_type = "rlib"
|
|
|
|
crate_name = "rand_core"
|
2019-08-22 16:33:55 -04:00
|
|
|
crate_version = "0.4.2"
|
2019-08-02 11:58:09 -04:00
|
|
|
},
|
|
|
|
# {
|
|
|
|
# label = ":rand_core-0.3.1"
|
|
|
|
# crate_type = "rlib"
|
|
|
|
# crate_name = "rand_core"
|
|
|
|
# crate_version = "0.3.1"
|
|
|
|
# },
|
|
|
|
]
|
2019-01-09 19:22:46 -05:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("rand_jitter") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-05-10 23:03:03 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/rand_jitter-0.1.4/src/lib.rs"
|
2019-08-22 16:33:55 -04:00
|
|
|
features = [ "std" ]
|
2019-08-02 11:58:09 -04:00
|
|
|
extern = [
|
|
|
|
{
|
2019-08-22 16:33:55 -04:00
|
|
|
label = ":rand_core-0.4.2"
|
2019-08-02 11:58:09 -04:00
|
|
|
crate_type = "rlib"
|
|
|
|
crate_name = "rand_core"
|
2019-08-22 16:33:55 -04:00
|
|
|
crate_version = "0.4.2"
|
2019-08-02 11:58:09 -04:00
|
|
|
},
|
|
|
|
]
|
2019-02-11 20:08:21 -05:00
|
|
|
if (is_mac) {
|
2019-08-02 11:58:09 -04:00
|
|
|
extern_rlib = [ "libc" ]
|
2019-02-11 20:08:21 -05:00
|
|
|
}
|
|
|
|
if (is_win) {
|
2019-08-02 11:58:09 -04:00
|
|
|
extern_rlib = [ "winapi" ]
|
2019-02-11 20:08:21 -05:00
|
|
|
}
|
|
|
|
}
|
2019-01-26 08:24:13 -05:00
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("rand_os") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-02-11 20:08:21 -05:00
|
|
|
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"
|
2019-08-02 11:58:09 -04:00
|
|
|
extern = [
|
|
|
|
{
|
2019-08-22 16:33:55 -04:00
|
|
|
label = ":rand_core-0.4.2"
|
2019-08-02 11:58:09 -04:00
|
|
|
crate_type = "rlib"
|
|
|
|
crate_name = "rand_core"
|
2019-08-22 16:33:55 -04:00
|
|
|
crate_version = "0.4.2"
|
2019-08-02 11:58:09 -04:00
|
|
|
},
|
|
|
|
]
|
2019-01-09 19:22:46 -05:00
|
|
|
if (is_posix) {
|
2019-08-02 11:58:09 -04:00
|
|
|
extern_rlib = [ "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) {
|
2019-08-02 11:58:09 -04:00
|
|
|
extern_rlib = [ "winapi" ]
|
2019-01-09 19:22:46 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("rand_pcg") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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"
|
2019-08-02 11:58:09 -04:00
|
|
|
extern = [
|
|
|
|
{
|
2019-08-22 16:33:55 -04:00
|
|
|
label = ":rand_core-0.4.2"
|
2019-08-02 11:58:09 -04:00
|
|
|
crate_type = "rlib"
|
|
|
|
crate_name = "rand_core"
|
2019-08-22 16:33:55 -04:00
|
|
|
crate_version = "0.4.2"
|
2019-08-02 11:58:09 -04:00
|
|
|
},
|
|
|
|
]
|
2019-01-09 19:22:46 -05:00
|
|
|
|
|
|
|
# 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
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("rand_xorshift") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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"
|
2019-01-26 08:24:13 -05:00
|
|
|
|
2019-08-22 16:33:55 -04:00
|
|
|
# Override: use rand_core v0.4.2 instead of v0.3.1.
|
2019-08-02 11:58:09 -04:00
|
|
|
extern = [
|
|
|
|
{
|
2019-08-22 16:33:55 -04:00
|
|
|
label = ":rand_core-0.4.2"
|
2019-08-02 11:58:09 -04:00
|
|
|
crate_type = "rlib"
|
|
|
|
crate_name = "rand_core"
|
2019-08-22 16:33:55 -04:00
|
|
|
crate_version = "0.4.2"
|
2019-08-02 11:58:09 -04:00
|
|
|
},
|
|
|
|
# {
|
|
|
|
# label = ":rand_core-0.3.1"
|
|
|
|
# crate_type = "rlib"
|
|
|
|
# crate_name = "rand_core"
|
|
|
|
# crate_version = "0.3.1"
|
|
|
|
# },
|
|
|
|
]
|
2019-01-09 19:22:46 -05:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("regex") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-02-07 17:46:52 -05:00
|
|
|
edition = "2015"
|
2019-08-22 16:33:55 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/regex-1.2.1/src/lib.rs"
|
2019-02-07 17:46:52 -05:00
|
|
|
features = [
|
|
|
|
"default",
|
|
|
|
"use_std",
|
|
|
|
]
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"aho_corasick",
|
|
|
|
"memchr",
|
|
|
|
"regex_syntax",
|
|
|
|
"thread_local",
|
2019-02-07 17:46:52 -05:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("regex_syntax") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-02-07 17:46:52 -05:00
|
|
|
edition = "2015"
|
2019-08-22 16:33:55 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/regex-syntax-0.6.11/src/lib.rs"
|
2019-02-07 17:46:52 -05:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("remove_dir_all") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-06-15 09:19:13 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/remove_dir_all-0.5.2/src/lib.rs"
|
2019-01-09 19:22:46 -05:00
|
|
|
if (is_win) {
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [ "winapi" ]
|
2019-01-09 19:22:46 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-08-28 20:05:01 -04:00
|
|
|
rust_rlib("reqwest") {
|
|
|
|
cap_lints = "allow"
|
|
|
|
edition = "2015"
|
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/reqwest-0.9.20/src/lib.rs"
|
|
|
|
features = [
|
|
|
|
"hyper-rustls",
|
|
|
|
"rustls",
|
|
|
|
"rustls-tls",
|
|
|
|
"tls",
|
|
|
|
"tokio-rustls",
|
|
|
|
"webpki-roots",
|
|
|
|
]
|
|
|
|
extern_rlib = [
|
|
|
|
"base64",
|
|
|
|
"bytes",
|
|
|
|
"cookie",
|
|
|
|
"cookie_store",
|
|
|
|
"encoding_rs",
|
|
|
|
"flate2",
|
|
|
|
"futures",
|
|
|
|
"http",
|
|
|
|
"hyper",
|
|
|
|
"hyper_rustls",
|
|
|
|
"log",
|
|
|
|
"mime",
|
|
|
|
"mime_guess",
|
|
|
|
"rustls",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"serde_urlencoded",
|
|
|
|
"time",
|
|
|
|
"tokio",
|
|
|
|
"tokio_executor",
|
|
|
|
"tokio_io",
|
|
|
|
"tokio_rustls",
|
|
|
|
"tokio_threadpool",
|
|
|
|
"tokio_timer",
|
|
|
|
"url",
|
|
|
|
"uuid",
|
|
|
|
"webpki_roots",
|
|
|
|
]
|
|
|
|
|
|
|
|
# These env vars are used by reqwest to set its user-agent string.
|
|
|
|
env = [
|
|
|
|
"CARGO_PKG_NAME=reqwest",
|
|
|
|
"CARGO_PKG_VERSION=0.9.20",
|
|
|
|
]
|
|
|
|
if (is_win) {
|
|
|
|
extern_rlib += [ "winreg" ]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("ring") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-08-28 18:58:42 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/src/lib.rs"
|
2019-01-09 19:22:46 -05:00
|
|
|
features = [
|
2019-08-28 18:58:42 -04:00
|
|
|
"alloc",
|
2019-01-09 19:22:46 -05:00
|
|
|
"default",
|
|
|
|
"dev_urandom_fallback",
|
2019-08-28 18:58:42 -04:00
|
|
|
"lazy_static",
|
2019-01-09 19:22:46 -05:00
|
|
|
]
|
|
|
|
deps = [
|
|
|
|
":ring-core",
|
|
|
|
## Override: don't build 'ring-test' static library.
|
|
|
|
# ":ring-test",
|
|
|
|
]
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"spin",
|
|
|
|
"untrusted",
|
2019-02-11 20:08:21 -05:00
|
|
|
]
|
2019-01-09 19:22:46 -05:00
|
|
|
if (is_linux) {
|
2019-08-28 18:58:42 -04:00
|
|
|
extern_rlib += [
|
|
|
|
"lazy_static",
|
|
|
|
"libc",
|
|
|
|
]
|
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-05-14 17:30:56 -04:00
|
|
|
extern_rlib += [ "winapi" ]
|
2019-01-09 19:22:46 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static_library("ring-core") {
|
|
|
|
include_dirs = [
|
2019-08-28 18:58:42 -04:00
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/include",
|
2019-01-09 19:22:46 -05:00
|
|
|
]
|
|
|
|
sources = [
|
2019-08-28 18:58:42 -04:00
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/crypto/cpu-intel.c",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/crypto/crypto.c",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/crypto/fipsmodule/bn/generic.c",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/crypto/fipsmodule/bn/montgomery.c",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/crypto/fipsmodule/bn/montgomery_inv.c",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/crypto/fipsmodule/ec/ecp_nistz.c",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/crypto/fipsmodule/ec/ecp_nistz256.c",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/crypto/fipsmodule/ec/gfp_p256.c",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/crypto/fipsmodule/ec/gfp_p384.c",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/crypto/fipsmodule/modes/gcm.c",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/crypto/limbs/limbs.c",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/crypto/mem.c",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/third_party/fiat/curve25519.c",
|
2019-01-09 19:22:46 -05:00
|
|
|
]
|
|
|
|
if (is_linux) {
|
|
|
|
sources += [
|
2019-08-28 18:58:42 -04:00
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/pregenerated/aes-x86_64-elf.S",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/pregenerated/aesni-gcm-x86_64-elf.S",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/pregenerated/aesni-x86_64-elf.S",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/pregenerated/chacha-x86_64-elf.S",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/pregenerated/ghash-x86_64-elf.S",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/pregenerated/p256-x86_64-asm-elf.S",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/pregenerated/poly1305-x86_64-elf.S",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/pregenerated/sha256-x86_64-elf.S",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/pregenerated/sha512-x86_64-elf.S",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/pregenerated/vpaes-x86_64-elf.S",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/pregenerated/x86_64-mont-elf.S",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/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-08-28 18:58:42 -04:00
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/pregenerated/aes-x86_64-macosx.S",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/pregenerated/aesni-gcm-x86_64-macosx.S",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/pregenerated/aesni-x86_64-macosx.S",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/pregenerated/chacha-x86_64-macosx.S",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/pregenerated/ghash-x86_64-macosx.S",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/pregenerated/p256-x86_64-asm-macosx.S",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/pregenerated/poly1305-x86_64-macosx.S",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/pregenerated/sha256-x86_64-macosx.S",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/pregenerated/sha512-x86_64-macosx.S",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/pregenerated/vpaes-x86_64-macosx.S",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/pregenerated/x86_64-mont-macosx.S",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/pregenerated/x86_64-mont5-macosx.S",
|
2019-01-09 19:22:46 -05:00
|
|
|
]
|
|
|
|
}
|
|
|
|
if (is_win) {
|
|
|
|
libs = [
|
2019-08-28 18:58:42 -04:00
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/pregenerated/aes-x86_64-nasm.obj",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/pregenerated/aesni-gcm-x86_64-nasm.obj",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/pregenerated/aesni-x86_64-nasm.obj",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/pregenerated/chacha-x86_64-nasm.obj",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/pregenerated/ghash-x86_64-nasm.obj",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/pregenerated/p256-x86_64-asm-nasm.obj",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/pregenerated/poly1305-x86_64-nasm.obj",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/pregenerated/sha256-x86_64-nasm.obj",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/pregenerated/sha512-x86_64-nasm.obj",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/pregenerated/vpaes-x86_64-nasm.obj",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/pregenerated/x86_64-mont-nasm.obj",
|
|
|
|
"$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/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-08-28 18:58:42 -04:00
|
|
|
# include_dirs = [ "$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/include" ]
|
|
|
|
# sources = [ "$cargo_home/registry/src/github.com-1ecc6299db9ec823/ring-0.16.8/crypto/constant_time_test.c" ]
|
2019-01-09 19:22:46 -05:00
|
|
|
# }
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("rustls") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-08-28 18:58:42 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/rustls-0.16.0/src/lib.rs"
|
2019-01-09 19:22:46 -05:00
|
|
|
features = [
|
2019-08-28 20:05:01 -04:00
|
|
|
"dangerous_configuration",
|
2019-01-09 19:22:46 -05:00
|
|
|
"default",
|
|
|
|
"log",
|
|
|
|
"logging",
|
|
|
|
]
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"base64",
|
|
|
|
"log",
|
|
|
|
"ring",
|
|
|
|
"sct",
|
|
|
|
"webpki",
|
2019-01-09 19:22:46 -05:00
|
|
|
]
|
2018-08-05 18:50:15 -04:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("rustyline") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-08-22 16:33:55 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/rustyline-5.0.2/src/lib.rs"
|
2019-05-10 23:03:03 -04:00
|
|
|
features = [
|
|
|
|
"default",
|
|
|
|
"dirs",
|
|
|
|
"with-dirs",
|
|
|
|
]
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
2019-08-02 11:58:09 -04:00
|
|
|
"dirs",
|
2019-05-14 17:30:56 -04:00
|
|
|
"libc",
|
|
|
|
"log",
|
|
|
|
"memchr",
|
|
|
|
"unicode_segmentation",
|
|
|
|
"unicode_width",
|
2019-01-09 19:22:46 -05:00
|
|
|
]
|
|
|
|
if (is_posix) {
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib += [
|
|
|
|
"nix",
|
|
|
|
"utf8parse",
|
2019-01-09 19:22:46 -05:00
|
|
|
]
|
|
|
|
}
|
|
|
|
if (is_win) {
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib += [ "winapi" ]
|
2019-01-09 19:22:46 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("ryu") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-08-02 11:58:09 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/ryu-1.0.0/src/lib.rs"
|
2019-01-09 19:22:46 -05:00
|
|
|
|
|
|
|
# Added by custom-build script.
|
|
|
|
cfg = [
|
|
|
|
"integer128",
|
|
|
|
"must_use_return",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("scopeguard") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-08-02 11:58:09 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/scopeguard-1.0.0/src/lib.rs"
|
2019-01-09 19:22:46 -05:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("sct") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-08-28 18:58:42 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/sct-0.6.0/src/lib.rs"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"ring",
|
|
|
|
"untrusted",
|
2019-01-09 19:22:46 -05:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("serde") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-08-22 16:33:55 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.99/src/lib.rs"
|
2019-01-09 19:22:46 -05:00
|
|
|
features = [
|
|
|
|
"default",
|
2019-08-22 20:27:51 -04:00
|
|
|
"derive",
|
|
|
|
"serde_derive",
|
2019-01-09 19:22:46 -05:00
|
|
|
"std",
|
|
|
|
]
|
2019-08-22 20:27:51 -04:00
|
|
|
extern = [
|
|
|
|
{
|
|
|
|
label = ":serde_derive"
|
|
|
|
crate_type = "proc_macro"
|
|
|
|
crate_name = "serde_derive"
|
|
|
|
},
|
|
|
|
]
|
2019-01-09 19:22:46 -05:00
|
|
|
|
|
|
|
# Added by custom-build script.
|
|
|
|
cfg = [
|
|
|
|
"core_duration",
|
2019-03-29 14:50:07 -04:00
|
|
|
"core_reverse",
|
2019-08-02 11:58:09 -04:00
|
|
|
"core_try_from",
|
2019-01-09 19:22:46 -05:00
|
|
|
"de_boxed_c_str",
|
|
|
|
"de_rc_dst",
|
|
|
|
"integer128",
|
|
|
|
"num_nonzero",
|
2019-08-02 11:58:09 -04:00
|
|
|
"num_nonzero_signed",
|
2019-02-11 20:08:21 -05:00
|
|
|
"ops_bound",
|
2019-01-09 19:22:46 -05:00
|
|
|
"range_inclusive",
|
2019-08-02 11:58:09 -04:00
|
|
|
"std_atomic",
|
|
|
|
"std_atomic64",
|
2018-08-05 18:50:15 -04:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-05-16 23:17:50 -04:00
|
|
|
rust_proc_macro("serde_derive") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-05-16 23:17:50 -04:00
|
|
|
edition = "2015"
|
2019-08-22 16:33:55 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/serde_derive-1.0.99/src/lib.rs"
|
2019-05-16 23:17:50 -04:00
|
|
|
features = [ "default" ]
|
|
|
|
extern_rlib = [
|
|
|
|
"proc_macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("serde_json") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-08-02 11:58:09 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.40/src/lib.rs"
|
2019-06-09 09:08:20 -04:00
|
|
|
features = [
|
|
|
|
"default",
|
2019-06-15 09:19:13 -04:00
|
|
|
"indexmap",
|
2019-06-09 09:08:20 -04:00
|
|
|
"preserve_order",
|
|
|
|
]
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
2019-06-15 09:19:13 -04:00
|
|
|
"indexmap",
|
2019-05-14 17:30:56 -04:00
|
|
|
"itoa",
|
|
|
|
"ryu",
|
|
|
|
"serde",
|
2019-01-09 19:22:46 -05:00
|
|
|
]
|
2018-08-05 18:50:15 -04:00
|
|
|
}
|
|
|
|
|
2019-08-28 20:05:01 -04:00
|
|
|
rust_rlib("serde_urlencoded") {
|
|
|
|
cap_lints = "allow"
|
|
|
|
edition = "2015"
|
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/serde_urlencoded-0.5.5/src/lib.rs"
|
|
|
|
extern_rlib = [
|
|
|
|
"dtoa",
|
|
|
|
"itoa",
|
|
|
|
"serde",
|
|
|
|
"url",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("slab") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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"
|
2018-08-05 18:50:15 -04:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("smallvec") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-06-15 09:19:13 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/smallvec-0.6.10/lib.rs"
|
2019-01-09 19:22:46 -05:00
|
|
|
features = [
|
|
|
|
"default",
|
|
|
|
"std",
|
|
|
|
]
|
2018-08-05 18:50:15 -04:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("source_map_mappings") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"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-05-14 17:30:56 -04:00
|
|
|
"rand",
|
2019-01-09 19:22:46 -05:00
|
|
|
]
|
|
|
|
|
2019-02-11 20:08:21 -05:00
|
|
|
## Override: use rand v0.6.5 instead of v0.4.6.
|
2019-05-14 17:30:56 -04:00
|
|
|
# extern = [
|
2019-01-09 19:22:46 -05:00
|
|
|
# {
|
2019-05-14 17:30:56 -04:00
|
|
|
# label = ":rand-0.4.6"
|
|
|
|
# crate_type = "rlib"
|
2019-08-02 11:58:09 -04:00
|
|
|
# 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-05-14 17:30:56 -04:00
|
|
|
rust_rlib("spin") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-02-11 20:08:21 -05:00
|
|
|
edition = "2015"
|
2019-08-28 18:58:42 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/spin-0.5.2/src/lib.rs"
|
2019-02-11 20:08:21 -05:00
|
|
|
}
|
|
|
|
|
2019-01-09 19:22:46 -05:00
|
|
|
## Override: avoid dependency on on 'owning_ref'.
|
2019-05-14 17:30:56 -04:00
|
|
|
# rust_rlib("stable_deref_trait") {
|
2019-08-22 16:23:49 -04:00
|
|
|
# cap_lints = "allow"
|
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",
|
|
|
|
# ]
|
|
|
|
# }
|
2018-08-05 18:50:15 -04:00
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("string") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-08-02 11:58:09 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/string-0.2.1/src/lib.rs"
|
2019-06-15 09:19:13 -04:00
|
|
|
features = [
|
|
|
|
"bytes",
|
|
|
|
"default",
|
|
|
|
]
|
|
|
|
extern_rlib = [ "bytes" ]
|
2018-08-05 18:50:15 -04:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("strsim") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-03-31 17:54:58 -04:00
|
|
|
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
|
|
|
}
|
|
|
|
|
2019-05-16 23:17:50 -04:00
|
|
|
rust_rlib("syn") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-08-22 16:33:55 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/syn-1.0.3/src/lib.rs"
|
2019-05-16 23:17:50 -04:00
|
|
|
features = [
|
|
|
|
"clone-impls",
|
|
|
|
"default",
|
|
|
|
"derive",
|
2019-08-28 18:58:42 -04:00
|
|
|
"full",
|
2019-05-16 23:17:50 -04:00
|
|
|
"parsing",
|
|
|
|
"printing",
|
|
|
|
"proc-macro",
|
|
|
|
"quote",
|
|
|
|
"visit",
|
|
|
|
]
|
|
|
|
extern_rlib = [
|
|
|
|
"proc_macro2",
|
|
|
|
"quote",
|
|
|
|
"unicode_xid",
|
|
|
|
]
|
|
|
|
|
|
|
|
# Added by custom-build script.
|
2019-08-22 16:33:55 -04:00
|
|
|
cfg = [ "syn_disable_nightly_tests" ]
|
2019-05-16 23:17:50 -04:00
|
|
|
}
|
|
|
|
|
2019-08-28 20:05:01 -04:00
|
|
|
rust_rlib("synstructure") {
|
|
|
|
cap_lints = "allow"
|
|
|
|
edition = "2015"
|
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/synstructure-0.10.2/src/lib.rs"
|
|
|
|
extern_rlib = [
|
|
|
|
# Override: use proc_macro2 v1.0.1 instead of v0.4.30.
|
|
|
|
"proc_macro2",
|
|
|
|
|
|
|
|
# Override: use quote v1.0.2 instead of v0.6.13.
|
|
|
|
"quote",
|
|
|
|
|
|
|
|
# Override: use unicode_xid v0.2.0 instead of v0.1.0.
|
|
|
|
"unicode_xid",
|
|
|
|
]
|
|
|
|
extern = [
|
|
|
|
{
|
|
|
|
label = ":syn-0.15.44"
|
|
|
|
crate_type = "rlib"
|
|
|
|
crate_name = "syn"
|
|
|
|
crate_version = "0.15.44"
|
|
|
|
},
|
|
|
|
|
|
|
|
## Override: use proc_macro2 v1.0.1 instead of v0.4.30.
|
|
|
|
# {
|
|
|
|
# label = ":proc_macro2-0.4.30"
|
|
|
|
# crate_type = "rlib"
|
|
|
|
# crate_name = "proc_macro2"
|
|
|
|
# crate_version = "0.4.30"
|
|
|
|
# },
|
|
|
|
|
|
|
|
## Override: use quote v1.0.2 instead of v0.6.13.
|
|
|
|
# {
|
|
|
|
# label = ":quote-0.6.13"
|
|
|
|
# crate_type = "rlib"
|
|
|
|
# crate_name = "quote"
|
|
|
|
# crate_version = "0.6.13"
|
|
|
|
# },
|
|
|
|
|
|
|
|
## Override: use unicode_xid v0.2.0 instead of v0.1.0.
|
|
|
|
# {
|
|
|
|
# label = ":unicode_xid-0.1.0"
|
|
|
|
# crate_type = "rlib"
|
|
|
|
# crate_name = "unicode_xid"
|
|
|
|
# crate_version = "0.1.0"
|
|
|
|
# },
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("tempfile") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-08-02 11:58:09 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/tempfile-3.1.0/src/lib.rs"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"cfg_if",
|
|
|
|
"remove_dir_all",
|
2019-08-02 11:58:09 -04:00
|
|
|
|
|
|
|
# Override: use rand v0.6.5 instead of v0.7.0.
|
|
|
|
"rand",
|
2018-08-05 18:50:15 -04:00
|
|
|
]
|
2019-08-02 11:58:09 -04:00
|
|
|
|
|
|
|
## Override: use rand v0.6.5 instead of v0.7.0.
|
|
|
|
# extern = [
|
|
|
|
# {
|
|
|
|
# label = ":rand-0.7.0"
|
|
|
|
# crate_type = "rlib"
|
|
|
|
# crate_name = "rand"
|
|
|
|
# crate_version = "0.7.0"
|
|
|
|
# },
|
|
|
|
# ]
|
2019-01-09 19:22:46 -05:00
|
|
|
if (is_posix) {
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib += [ "libc" ]
|
2019-01-09 19:22:46 -05:00
|
|
|
}
|
|
|
|
if (is_win) {
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib += [ "winapi" ]
|
2019-01-09 19:22:46 -05:00
|
|
|
}
|
2018-08-05 18:50:15 -04:00
|
|
|
}
|
|
|
|
|
2019-05-29 23:53:14 -04:00
|
|
|
rust_rlib("termcolor") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-05-29 23:53:14 -04:00
|
|
|
edition = "2015"
|
2019-08-02 11:58:09 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/termcolor-1.0.5/src/lib.rs"
|
2019-05-29 23:53:14 -04:00
|
|
|
if (is_win) {
|
|
|
|
extern_rlib = [ "wincolor" ]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("textwrap") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-03-31 17:54:58 -04:00
|
|
|
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-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [ "unicode_width" ]
|
2019-03-31 17:54:58 -04:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("thread_local") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-02-07 17:46:52 -05:00
|
|
|
edition = "2015"
|
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/thread_local-0.3.6/src/lib.rs"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [ "lazy_static" ]
|
2019-02-07 17:46:52 -05:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("time") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [ "libc" ]
|
2019-01-09 19:22:46 -05:00
|
|
|
if (is_win) {
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib += [ "winapi" ]
|
2019-01-09 19:22:46 -05:00
|
|
|
}
|
2018-08-05 18:50:15 -04:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("tokio") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-08-02 11:58:09 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.22/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",
|
|
|
|
"tokio-udp",
|
|
|
|
"tokio-uds",
|
|
|
|
"udp",
|
|
|
|
"uds",
|
|
|
|
]
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"bytes",
|
|
|
|
"futures",
|
|
|
|
"mio",
|
|
|
|
"num_cpus",
|
|
|
|
"tokio_codec",
|
|
|
|
"tokio_current_thread",
|
|
|
|
"tokio_executor",
|
|
|
|
"tokio_fs",
|
|
|
|
"tokio_io",
|
|
|
|
"tokio_reactor",
|
|
|
|
"tokio_sync",
|
|
|
|
"tokio_tcp",
|
|
|
|
"tokio_threadpool",
|
|
|
|
"tokio_timer",
|
|
|
|
"tokio_udp",
|
2018-07-28 20:46:27 -04:00
|
|
|
]
|
2019-01-09 19:22:46 -05:00
|
|
|
if (is_posix) {
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib += [ "tokio_uds" ]
|
2019-01-09 19:22:46 -05:00
|
|
|
}
|
2018-07-28 20:46:27 -04:00
|
|
|
}
|
|
|
|
|
2019-05-16 23:43:23 -04:00
|
|
|
rust_rlib("tokio_buf") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-05-16 23:43:23 -04:00
|
|
|
edition = "2015"
|
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/tokio-buf-0.1.1/src/lib.rs"
|
|
|
|
features = [
|
|
|
|
"default",
|
|
|
|
"either",
|
|
|
|
"util",
|
|
|
|
]
|
|
|
|
extern_rlib = [
|
|
|
|
"bytes",
|
|
|
|
"either",
|
|
|
|
"futures",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("tokio_codec") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"bytes",
|
|
|
|
"futures",
|
|
|
|
"tokio_io",
|
2019-01-09 19:22:46 -05:00
|
|
|
]
|
2018-07-28 20:46:27 -04:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("tokio_current_thread") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"futures",
|
|
|
|
"tokio_executor",
|
2018-07-28 20:46:27 -04:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("tokio_executor") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-08-02 11:58:09 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/tokio-executor-0.1.8/src/lib.rs"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"crossbeam_utils",
|
|
|
|
"futures",
|
2018-09-17 13:47:02 -04:00
|
|
|
]
|
2018-07-28 20:46:27 -04:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("tokio_fs") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"futures",
|
|
|
|
"tokio_io",
|
|
|
|
"tokio_threadpool",
|
2018-07-28 20:46:27 -04:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("tokio_io") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"bytes",
|
|
|
|
"futures",
|
|
|
|
"log",
|
2018-07-28 20:46:27 -04:00
|
|
|
]
|
2018-09-17 13:47:02 -04:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("tokio_process") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-08-02 11:58:09 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/tokio-process-0.2.4/src/lib.rs"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"futures",
|
|
|
|
"tokio_io",
|
|
|
|
"tokio_reactor",
|
2018-09-16 21:09:02 -04:00
|
|
|
]
|
2019-01-09 19:22:46 -05:00
|
|
|
if (is_posix) {
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib += [
|
2019-08-02 11:58:09 -04:00
|
|
|
"crossbeam_queue",
|
|
|
|
"lazy_static",
|
2019-05-14 17:30:56 -04:00
|
|
|
"libc",
|
2019-08-02 11:58:09 -04:00
|
|
|
"log",
|
|
|
|
"mio",
|
2019-05-14 17:30:56 -04:00
|
|
|
"tokio_signal",
|
2018-08-28 13:49:19 -04:00
|
|
|
]
|
|
|
|
}
|
|
|
|
if (is_win) {
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib += [
|
|
|
|
"mio_named_pipes",
|
|
|
|
"winapi",
|
2018-08-28 13:49:19 -04:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("tokio_reactor") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"crossbeam_utils",
|
|
|
|
"futures",
|
|
|
|
"lazy_static",
|
|
|
|
"log",
|
|
|
|
"mio",
|
|
|
|
"num_cpus",
|
|
|
|
"parking_lot",
|
|
|
|
"slab",
|
|
|
|
"tokio_executor",
|
|
|
|
"tokio_io",
|
|
|
|
"tokio_sync",
|
2018-08-28 13:49:19 -04:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("tokio_rustls") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-08-28 18:58:42 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/tokio-rustls-0.10.0/src/lib.rs"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
2019-08-28 18:58:42 -04:00
|
|
|
"bytes",
|
2019-05-14 17:30:56 -04:00
|
|
|
"futures",
|
2019-08-28 18:58:42 -04:00
|
|
|
"iovec",
|
2019-05-14 17:30:56 -04:00
|
|
|
"rustls",
|
|
|
|
"tokio_io",
|
|
|
|
"webpki",
|
2019-01-09 19:22:46 -05:00
|
|
|
]
|
2018-08-28 13:49:19 -04:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("tokio_sync") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-26 07:58:19 -05:00
|
|
|
edition = "2015"
|
2019-06-15 09:19:13 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/tokio-sync-0.1.6/src/lib.rs"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"fnv",
|
|
|
|
"futures",
|
2019-03-29 14:50:07 -04:00
|
|
|
]
|
2019-01-26 07:58:19 -05:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("tokio_tcp") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"bytes",
|
|
|
|
"futures",
|
|
|
|
"iovec",
|
|
|
|
"mio",
|
|
|
|
"tokio_io",
|
|
|
|
"tokio_reactor",
|
2019-01-09 19:22:46 -05:00
|
|
|
]
|
2018-08-28 13:49:19 -04:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("tokio_threadpool") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-08-02 11:58:09 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/tokio-threadpool-0.1.15/src/lib.rs"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"crossbeam_deque",
|
|
|
|
"crossbeam_queue",
|
|
|
|
"crossbeam_utils",
|
|
|
|
"futures",
|
|
|
|
"log",
|
|
|
|
"num_cpus",
|
|
|
|
"rand",
|
|
|
|
"slab",
|
|
|
|
"tokio_executor",
|
2019-01-09 19:22:46 -05:00
|
|
|
]
|
2018-08-28 13:49:19 -04:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("tokio_timer") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-05-16 23:43:23 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/tokio-timer-0.2.11/src/lib.rs"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"crossbeam_utils",
|
|
|
|
"futures",
|
|
|
|
"slab",
|
|
|
|
"tokio_executor",
|
2019-01-09 19:22:46 -05:00
|
|
|
]
|
2018-10-27 09:11:39 -04:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("tokio_udp") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"bytes",
|
|
|
|
"futures",
|
|
|
|
"log",
|
|
|
|
"mio",
|
|
|
|
"tokio_codec",
|
|
|
|
"tokio_io",
|
|
|
|
"tokio_reactor",
|
2019-01-09 19:22:46 -05:00
|
|
|
]
|
2018-08-28 13:49:19 -04:00
|
|
|
}
|
|
|
|
|
2019-08-28 20:05:01 -04:00
|
|
|
rust_rlib("try_from") {
|
|
|
|
cap_lints = "allow"
|
|
|
|
edition = "2015"
|
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/try_from-0.3.2/src/lib.rs"
|
|
|
|
extern_rlib = [ "cfg_if" ]
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("try_lock") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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"
|
2018-08-28 13:49:19 -04:00
|
|
|
}
|
|
|
|
|
2019-08-28 20:05:01 -04:00
|
|
|
rust_rlib("unicase") {
|
|
|
|
cap_lints = "allow"
|
|
|
|
edition = "2015"
|
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/unicase-2.4.0/src/lib.rs"
|
|
|
|
|
|
|
|
# Added by custom-build script.
|
|
|
|
cfg = [
|
|
|
|
"__unicase__const_fns",
|
|
|
|
"__unicase__default_hasher",
|
|
|
|
"__unicase__iter_cmp",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("unicode_bidi") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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" ]
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [ "matches" ]
|
2018-08-28 13:49:19 -04:00
|
|
|
}
|
2018-09-02 01:58:23 -04:00
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("unicode_normalization") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [ "smallvec" ]
|
2018-09-02 01:58:23 -04:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("unicode_segmentation") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-05-16 23:43:23 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/unicode-segmentation-1.3.0/src/lib.rs"
|
2018-09-02 01:58:23 -04:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("unicode_width") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-08-22 16:33:55 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/unicode-width-0.1.6/src/lib.rs"
|
2018-09-02 01:58:23 -04:00
|
|
|
features = [ "default" ]
|
2018-09-17 13:47:02 -04:00
|
|
|
}
|
|
|
|
|
2019-05-16 23:17:50 -04:00
|
|
|
rust_rlib("unicode_xid") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-05-16 23:17:50 -04:00
|
|
|
edition = "2015"
|
2019-08-22 16:33:55 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/unicode-xid-0.2.0/src/lib.rs"
|
2019-05-16 23:17:50 -04:00
|
|
|
features = [ "default" ]
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("untrusted") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-08-28 18:58:42 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/untrusted-0.7.0/src/untrusted.rs"
|
2018-09-17 13:47:02 -04:00
|
|
|
}
|
2018-10-24 00:02:43 -04:00
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("url") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-08-28 18:32:03 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/url-1.7.2/src/lib.rs"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"idna",
|
|
|
|
"matches",
|
|
|
|
"percent_encoding",
|
2019-01-09 19:22:46 -05:00
|
|
|
]
|
2018-10-24 00:02:43 -04:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("utime") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-02-07 17:46:52 -05:00
|
|
|
edition = "2015"
|
2019-05-10 23:03:03 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/utime-0.2.1/src/lib.rs"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [ "libc" ]
|
2019-05-10 23:03:03 -04:00
|
|
|
if (is_win) {
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib += [ "kernel32" ]
|
|
|
|
extern = [
|
2019-05-10 23:03:03 -04:00
|
|
|
{
|
2019-05-14 17:30:56 -04:00
|
|
|
label = ":winapi-0.2.8"
|
|
|
|
crate_type = "rlib"
|
2019-08-02 11:58:09 -04:00
|
|
|
crate_name = "winapi"
|
2019-05-10 23:03:03 -04:00
|
|
|
crate_version = "0.2.8"
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
# if (is_posix) {
|
|
|
|
# # Override: 'kernel32' should be a windows-only dependency.
|
2019-05-14 17:30:56 -04:00
|
|
|
# extern_rlib += [ "kernel32" ]
|
2019-05-10 23:03:03 -04:00
|
|
|
#
|
|
|
|
# # Override: 'winapi' should be a windows-only dependency.
|
2019-05-14 17:30:56 -04:00
|
|
|
# extern = [
|
2019-05-10 23:03:03 -04:00
|
|
|
# {
|
2019-05-14 17:30:56 -04:00
|
|
|
# label = ":winapi-0.2.8"
|
|
|
|
# crate_type = "rlib"
|
2019-08-02 11:58:09 -04:00
|
|
|
# crate_name = "winapi"
|
2019-05-10 23:03:03 -04:00
|
|
|
# crate_version = "0.2.8"
|
|
|
|
# },
|
|
|
|
# ]
|
|
|
|
# }
|
2019-02-07 17:46:52 -05:00
|
|
|
}
|
|
|
|
|
2019-08-28 20:05:01 -04:00
|
|
|
rust_rlib("uuid") {
|
|
|
|
cap_lints = "allow"
|
|
|
|
edition = "2015"
|
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/uuid-0.7.4/src/lib.rs"
|
|
|
|
features = [
|
|
|
|
"default",
|
|
|
|
"rand",
|
|
|
|
"std",
|
|
|
|
"v4",
|
|
|
|
]
|
|
|
|
extern_rlib = [ "rand" ]
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("vec_map") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-03-31 17:54:58 -04:00
|
|
|
edition = "2015"
|
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/vec_map-0.8.1/src/lib.rs"
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("vlq") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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"
|
2018-10-24 00:02:43 -04:00
|
|
|
}
|
2018-11-03 01:58:30 -04:00
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("want") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-08-02 11:58:09 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/want-0.2.0/src/lib.rs"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"futures",
|
|
|
|
"log",
|
|
|
|
"try_lock",
|
2019-01-09 19:22:46 -05:00
|
|
|
]
|
2018-11-03 01:58:30 -04:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("webpki") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-08-28 18:58:42 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/webpki-0.21.0/src/webpki.rs"
|
2019-01-09 19:22:46 -05:00
|
|
|
features = [
|
|
|
|
"default",
|
|
|
|
"std",
|
|
|
|
"trust_anchor_util",
|
|
|
|
]
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"ring",
|
|
|
|
"untrusted",
|
2019-01-09 19:22:46 -05:00
|
|
|
]
|
2018-11-03 01:58:30 -04:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("webpki_roots") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-08-28 18:58:42 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/webpki-roots-0.17.0/src/lib.rs"
|
|
|
|
extern_rlib = [ "webpki" ]
|
2019-01-09 19:22:46 -05:00
|
|
|
}
|
|
|
|
|
2019-08-28 20:05:01 -04:00
|
|
|
## Override: use proc_macro2 v1.0.1 instead.
|
|
|
|
# rust_rlib("proc_macro2-0.4.30") {
|
|
|
|
# crate_name = "proc_macro2"
|
|
|
|
# crate_version = "0.4.30"
|
|
|
|
# cap_lints = "allow"
|
|
|
|
# edition = "2015"
|
|
|
|
# source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/proc-macro2-0.4.30/src/lib.rs"
|
|
|
|
# features = [
|
|
|
|
# "default",
|
|
|
|
# "proc-macro",
|
|
|
|
# ]
|
|
|
|
# extern = [
|
|
|
|
# {
|
|
|
|
# label = ":unicode_xid-0.1.0"
|
|
|
|
# crate_type = "rlib"
|
|
|
|
# crate_name = "unicode_xid"
|
|
|
|
# crate_version = "0.1.0"
|
|
|
|
# },
|
|
|
|
# ]
|
|
|
|
#
|
|
|
|
# # Added by custom-build script.
|
|
|
|
# cfg = [
|
|
|
|
# "u128",
|
|
|
|
# "use_proc_macro",
|
|
|
|
# "wrap_proc_macro",
|
|
|
|
# ]
|
|
|
|
# }
|
|
|
|
|
|
|
|
# rust_rlib("quote-0.6.13") {
|
|
|
|
# crate_name = "quote"
|
|
|
|
# crate_version = "0.6.13"
|
|
|
|
#
|
|
|
|
# # Override: use proc_macro2 v1.0.1 instead of v0.4.30.
|
|
|
|
# extern = [
|
|
|
|
# {
|
|
|
|
# label = ":proc_macro2-0.4.30"
|
|
|
|
# crate_type = "rlib"
|
|
|
|
# crate_name = "proc_macro2"
|
|
|
|
# crate_version = "0.4.30"
|
|
|
|
# },
|
|
|
|
# ]
|
|
|
|
#
|
|
|
|
# # Override: use quote v1.0.2 instead.
|
|
|
|
# cap_lints = "allow"
|
|
|
|
#
|
|
|
|
# # Override: use quote v1.0.2 instead.
|
|
|
|
# edition = "2015"
|
|
|
|
#
|
|
|
|
# # Override: use quote v1.0.2 instead.
|
|
|
|
# source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/quote-0.6.13/src/lib.rs"
|
|
|
|
#
|
|
|
|
# # Override: use quote v1.0.2 instead.
|
|
|
|
# features = [
|
|
|
|
# "default",
|
|
|
|
# "proc-macro",
|
|
|
|
# ]
|
|
|
|
#
|
|
|
|
# # Override: use proc_macro2 v1.0.1 instead of v0.4.30.
|
|
|
|
# # Override: use quote v1.0.2 instead.
|
|
|
|
# extern_rlib = [ "proc_macro2" ]
|
|
|
|
# }
|
|
|
|
|
2019-02-11 20:08:21 -05:00
|
|
|
## Override: use rand v0.6.5 instead.
|
2019-05-14 17:30:56 -04:00
|
|
|
# rust_rlib("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-08-22 16:23:49 -04:00
|
|
|
# cap_lints = "allow"
|
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",
|
|
|
|
# ]
|
|
|
|
# if (is_posix) {
|
2019-05-14 17:30:56 -04:00
|
|
|
# extern_rlib = [ "libc" ]
|
2019-01-09 19:22:46 -05:00
|
|
|
# }
|
|
|
|
#
|
|
|
|
# # Per the #[link(...)] attribute found in 'src/os.rs'.
|
|
|
|
# if (is_mac) {
|
|
|
|
# libs = [ "Security.framework" ]
|
|
|
|
# }
|
|
|
|
# if (is_win) {
|
2019-05-14 17:30:56 -04:00
|
|
|
# extern_rlib = [ "winapi" ]
|
2019-01-09 19:22:46 -05:00
|
|
|
# }
|
|
|
|
# }
|
|
|
|
|
2019-08-02 11:58:09 -04:00
|
|
|
## Override: use rand v0.6.5 instead.
|
|
|
|
# rust_rlib("rand-0.7.0") {
|
|
|
|
# crate_name = "rand"
|
|
|
|
# crate_version = "0.7.0"
|
2019-08-22 16:23:49 -04:00
|
|
|
# cap_lints = "allow"
|
2019-08-02 11:58:09 -04:00
|
|
|
# source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/rand-0.7.0/src/lib.rs"
|
|
|
|
# features = [
|
|
|
|
# "alloc",
|
|
|
|
# "default",
|
|
|
|
# "getrandom",
|
|
|
|
# "getrandom_package",
|
|
|
|
# "std",
|
|
|
|
# ]
|
|
|
|
# extern_rlib = [
|
|
|
|
# "rand_chacha",
|
|
|
|
# "rand_core",
|
|
|
|
# ]
|
|
|
|
# extern = [
|
|
|
|
# {
|
|
|
|
# label = ":getrandom"
|
|
|
|
# crate_type = "rlib"
|
|
|
|
# crate_name = "getrandom"
|
|
|
|
# crate_alias = "getrandom_package"
|
|
|
|
# },
|
|
|
|
# ]
|
|
|
|
# if (is_posix) {
|
|
|
|
# extern_rlib += [ "libc" ]
|
|
|
|
# }
|
|
|
|
# }
|
|
|
|
|
|
|
|
rust_rlib("rand_chacha-0.1.1") {
|
|
|
|
crate_name = "rand_chacha"
|
|
|
|
crate_version = "0.1.1"
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-08-02 11:58:09 -04:00
|
|
|
edition = "2015"
|
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/rand_chacha-0.1.1/src/lib.rs"
|
|
|
|
|
|
|
|
# Added by custom-build script.
|
|
|
|
cfg = [ "rustc_1_26" ]
|
|
|
|
|
2019-08-22 16:33:55 -04:00
|
|
|
# Override: use rand_core v0.4.2 instead of v0.3.1.
|
2019-08-02 11:58:09 -04:00
|
|
|
extern = [
|
|
|
|
{
|
2019-08-22 16:33:55 -04:00
|
|
|
label = ":rand_core-0.4.2"
|
2019-08-02 11:58:09 -04:00
|
|
|
crate_type = "rlib"
|
|
|
|
crate_name = "rand_core"
|
2019-08-22 16:33:55 -04:00
|
|
|
crate_version = "0.4.2"
|
2019-08-02 11:58:09 -04:00
|
|
|
},
|
|
|
|
# {
|
|
|
|
# label = ":rand_core-0.3.1"
|
|
|
|
# crate_type = "rlib"
|
|
|
|
# crate_name = "rand_core"
|
|
|
|
# crate_version = "0.3.1"
|
|
|
|
# },
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-08-22 16:33:55 -04:00
|
|
|
## Override: use rand_core v0.4.2 instead.
|
2019-05-14 17:30:56 -04:00
|
|
|
# rust_rlib("rand_core-0.3.1") {
|
2019-01-26 08:24:13 -05:00
|
|
|
# crate_name = "rand_core"
|
|
|
|
# crate_version = "0.3.1"
|
2019-08-22 16:23:49 -04:00
|
|
|
# cap_lints = "allow"
|
2019-01-26 08:24:13 -05:00
|
|
|
# edition = "2015"
|
|
|
|
# source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/rand_core-0.3.1/src/lib.rs"
|
2019-08-02 11:58:09 -04:00
|
|
|
# extern = [
|
|
|
|
# {
|
2019-08-22 16:33:55 -04:00
|
|
|
# label = ":rand_core-0.4.2"
|
2019-08-02 11:58:09 -04:00
|
|
|
# crate_type = "rlib"
|
|
|
|
# crate_name = "rand_core"
|
2019-08-22 16:33:55 -04:00
|
|
|
# crate_version = "0.4.2"
|
2019-08-02 11:58:09 -04:00
|
|
|
# },
|
|
|
|
# ]
|
|
|
|
# }
|
|
|
|
|
2019-08-22 16:33:55 -04:00
|
|
|
rust_rlib("rand_core-0.4.2") {
|
2019-08-02 11:58:09 -04:00
|
|
|
crate_name = "rand_core"
|
2019-08-22 16:33:55 -04:00
|
|
|
crate_version = "0.4.2"
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-08-02 11:58:09 -04:00
|
|
|
edition = "2015"
|
2019-08-22 16:33:55 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/rand_core-0.4.2/src/lib.rs"
|
2019-08-02 11:58:09 -04:00
|
|
|
features = [
|
|
|
|
"alloc",
|
|
|
|
"std",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
## Override: use scopeguard v1.0.0 instead.
|
|
|
|
# rust_rlib("scopeguard-0.3.3") {
|
|
|
|
# crate_name = "scopeguard"
|
|
|
|
# crate_version = "0.3.3"
|
2019-08-22 16:23:49 -04:00
|
|
|
# cap_lints = "allow"
|
2019-08-02 11:58:09 -04:00
|
|
|
# edition = "2015"
|
|
|
|
# source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/scopeguard-0.3.3/src/lib.rs"
|
2019-01-26 08:24:13 -05:00
|
|
|
# }
|
2019-01-26 07:58:19 -05:00
|
|
|
|
2019-08-28 20:05:01 -04:00
|
|
|
rust_rlib("syn-0.15.44") {
|
|
|
|
crate_name = "syn"
|
|
|
|
crate_version = "0.15.44"
|
|
|
|
cap_lints = "allow"
|
|
|
|
edition = "2015"
|
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/syn-0.15.44/src/lib.rs"
|
|
|
|
features = [
|
|
|
|
"clone-impls",
|
|
|
|
"default",
|
|
|
|
"derive",
|
|
|
|
"extra-traits",
|
|
|
|
"parsing",
|
|
|
|
"printing",
|
|
|
|
"proc-macro",
|
|
|
|
"quote",
|
|
|
|
"visit",
|
|
|
|
]
|
|
|
|
extern_rlib = [
|
|
|
|
# Override: use proc_macro2 v1.0.1 instead of v0.4.30.
|
|
|
|
"proc_macro2",
|
|
|
|
|
|
|
|
# Override: use quote v1.0.2 instead of v0.6.13.
|
|
|
|
"quote",
|
|
|
|
|
|
|
|
# Override: use unicode_xid v0.2.0 instead of v0.1.0.
|
|
|
|
"unicode_xid",
|
|
|
|
]
|
|
|
|
|
|
|
|
# Added by custom-build script.
|
|
|
|
cfg = [
|
|
|
|
"syn_can_call_macro_by_path",
|
|
|
|
"syn_can_match_trailing_dollar",
|
|
|
|
"syn_can_use_associated_constants",
|
|
|
|
"syn_can_use_thread_id",
|
|
|
|
"syn_disable_nightly_tests",
|
|
|
|
]
|
|
|
|
|
|
|
|
# extern = [
|
|
|
|
# # Override: use proc_macro2 v1.0.1 instead of v0.4.30.
|
|
|
|
# {
|
|
|
|
# label = ":proc_macro2-0.4.30"
|
|
|
|
# crate_type = "rlib"
|
|
|
|
# crate_name = "proc_macro2"
|
|
|
|
# crate_version = "0.4.30"
|
|
|
|
# },
|
|
|
|
#
|
|
|
|
# # Override: use quote v1.0.2 instead of v0.6.13.
|
|
|
|
# {
|
|
|
|
# label = ":quote-0.6.13"
|
|
|
|
# crate_type = "rlib"
|
|
|
|
# crate_name = "quote"
|
|
|
|
# crate_version = "0.6.13"
|
|
|
|
# },
|
|
|
|
#
|
|
|
|
# # Override: use unicode_xid v0.2.0 instead of v0.1.0.
|
|
|
|
# {
|
|
|
|
# label = ":unicode_xid-0.1.0"
|
|
|
|
# crate_type = "rlib"
|
|
|
|
# crate_name = "unicode_xid"
|
|
|
|
# crate_version = "0.1.0"
|
|
|
|
# },
|
|
|
|
# ]
|
|
|
|
}
|
|
|
|
|
|
|
|
## Override: use unicode_xid v0.2.0 instead.
|
|
|
|
# rust_rlib("unicode_xid-0.1.0") {
|
|
|
|
# crate_name = "unicode_xid"
|
|
|
|
# crate_version = "0.1.0"
|
|
|
|
# cap_lints = "allow"
|
|
|
|
# edition = "2015"
|
|
|
|
# source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/unicode-xid-0.1.0/src/lib.rs"
|
|
|
|
# features = [ "default" ]
|
|
|
|
# }
|
|
|
|
|
2019-01-09 19:22:46 -05:00
|
|
|
if (is_posix) {
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("arc_swap") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-08-22 16:33:55 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/arc-swap-0.4.2/src/lib.rs"
|
2019-01-09 19:22:46 -05:00
|
|
|
}
|
2018-11-03 01:58:30 -04:00
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("mio_uds") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"iovec",
|
|
|
|
"libc",
|
|
|
|
"mio",
|
2019-01-09 19:22:46 -05:00
|
|
|
]
|
|
|
|
}
|
2018-11-03 01:58:30 -04:00
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("nix") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-08-02 11:58:09 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/nix-0.14.1/src/lib.rs"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"bitflags",
|
|
|
|
"cfg_if",
|
|
|
|
"libc",
|
|
|
|
"void",
|
2019-01-09 19:22:46 -05:00
|
|
|
]
|
|
|
|
}
|
2018-11-03 01:58:30 -04:00
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("signal_hook") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-01-14 01:30:38 -05:00
|
|
|
edition = "2015"
|
2019-08-02 11:58:09 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/signal-hook-0.1.10/src/lib.rs"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"libc",
|
|
|
|
"signal_hook_registry",
|
2019-05-10 23:03:03 -04:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("signal_hook_registry") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-05-10 23:03:03 -04:00
|
|
|
edition = "2015"
|
2019-08-22 16:33:55 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/signal-hook-registry-1.1.1/src/lib.rs"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"arc_swap",
|
|
|
|
"libc",
|
2018-11-03 01:58:30 -04:00
|
|
|
]
|
2019-01-09 19:22:46 -05:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("tokio_signal") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"futures",
|
|
|
|
"libc",
|
|
|
|
"mio",
|
|
|
|
"mio_uds",
|
|
|
|
"signal_hook",
|
|
|
|
"tokio_executor",
|
|
|
|
"tokio_io",
|
|
|
|
"tokio_reactor",
|
2019-01-09 19:22:46 -05:00
|
|
|
]
|
2018-11-03 01:58:30 -04:00
|
|
|
}
|
2018-12-06 23:05:36 -05:00
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("tokio_uds") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"bytes",
|
|
|
|
"futures",
|
|
|
|
"iovec",
|
|
|
|
"libc",
|
|
|
|
"log",
|
|
|
|
"mio",
|
|
|
|
"mio_uds",
|
|
|
|
"tokio_codec",
|
|
|
|
"tokio_io",
|
|
|
|
"tokio_reactor",
|
2019-01-09 19:22:46 -05:00
|
|
|
]
|
|
|
|
}
|
2018-12-06 23:05:36 -05:00
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("utf8parse") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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"
|
|
|
|
}
|
2019-02-27 13:24:22 -05:00
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("void") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-02-27 13:24:22 -05:00
|
|
|
edition = "2015"
|
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/void-1.0.2/src/lib.rs"
|
|
|
|
features = [
|
|
|
|
"default",
|
|
|
|
"std",
|
|
|
|
]
|
|
|
|
}
|
2019-08-02 11:58:09 -04:00
|
|
|
|
|
|
|
## Override: use ansi_term v0.12.0 instead.
|
|
|
|
# rust_rlib("ansi_term-0.11.0") {
|
|
|
|
# crate_name = "ansi_term"
|
|
|
|
# crate_version = "0.11.0"
|
2019-08-22 16:23:49 -04:00
|
|
|
# cap_lints = "allow"
|
2019-08-02 11:58:09 -04:00
|
|
|
# edition = "2015"
|
|
|
|
# source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/ansi_term-0.11.0/src/lib.rs"
|
|
|
|
# }
|
2018-12-06 23:05:36 -05:00
|
|
|
}
|
|
|
|
|
2019-01-09 19:22:46 -05:00
|
|
|
if (is_win) {
|
2019-08-28 20:05:01 -04:00
|
|
|
rust_rlib("backtrace") {
|
|
|
|
cap_lints = "allow"
|
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.35/src/lib.rs"
|
|
|
|
features = [
|
|
|
|
"backtrace-sys",
|
|
|
|
"dbghelp",
|
|
|
|
"default",
|
|
|
|
"dladdr",
|
|
|
|
"libbacktrace",
|
|
|
|
"libunwind",
|
|
|
|
"std",
|
|
|
|
]
|
|
|
|
extern_rlib = [
|
|
|
|
"backtrace_sys",
|
|
|
|
"cfg_if",
|
|
|
|
"libc",
|
|
|
|
"rustc_demangle",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
rust_rlib("backtrace_sys") {
|
|
|
|
cap_lints = "allow"
|
|
|
|
edition = "2015"
|
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/backtrace-sys-0.1.31/src/lib.rs"
|
|
|
|
extern_rlib = [ "libc" ]
|
|
|
|
|
|
|
|
# Added by custom-build script.
|
|
|
|
cfg = [ "empty" ]
|
|
|
|
}
|
|
|
|
|
2019-08-02 11:58:09 -04:00
|
|
|
rust_rlib("fwdansi") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-08-02 11:58:09 -04:00
|
|
|
edition = "2015"
|
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/fwdansi-1.0.1/src/lib.rs"
|
|
|
|
extern_rlib = [
|
|
|
|
"memchr",
|
|
|
|
"termcolor",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("kernel32") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern = [
|
2019-01-09 19:22:46 -05:00
|
|
|
{
|
2019-05-14 17:30:56 -04:00
|
|
|
label = ":winapi-0.2.8"
|
|
|
|
crate_type = "rlib"
|
2019-08-02 11:58:09 -04:00
|
|
|
crate_name = "winapi"
|
2019-01-09 19:22:46 -05:00
|
|
|
crate_version = "0.2.8"
|
|
|
|
},
|
|
|
|
]
|
2018-12-06 23:05:36 -05:00
|
|
|
|
2019-01-09 19:22:46 -05:00
|
|
|
# Added by custom-build script.
|
|
|
|
libs = [ "kernel32.lib" ]
|
|
|
|
}
|
2018-12-06 23:05:36 -05:00
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("mio_named_pipes") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"log",
|
|
|
|
"mio",
|
|
|
|
"miow",
|
|
|
|
"winapi",
|
2019-01-09 19:22:46 -05:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("miow") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"socket2",
|
|
|
|
"winapi",
|
2019-01-09 19:22:46 -05:00
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-08-28 20:05:01 -04:00
|
|
|
rust_rlib("rustc_demangle") {
|
|
|
|
cap_lints = "allow"
|
|
|
|
edition = "2015"
|
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/rustc-demangle-0.1.16/src/lib.rs"
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("socket2") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-08-22 16:33:55 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/socket2-0.3.11/src/lib.rs"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [ "winapi" ]
|
2019-01-09 19:22:46 -05:00
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("winapi") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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",
|
|
|
|
"errhandlingapi",
|
|
|
|
"fileapi",
|
|
|
|
"handleapi",
|
2019-08-28 20:05:01 -04:00
|
|
|
"impl-debug",
|
|
|
|
"impl-default",
|
2019-01-09 19:22:46 -05:00
|
|
|
"ioapiset",
|
|
|
|
"knownfolders",
|
|
|
|
"minwinbase",
|
|
|
|
"minwindef",
|
|
|
|
"namedpipeapi",
|
|
|
|
"ntdef",
|
|
|
|
"ntsecapi",
|
|
|
|
"ntstatus",
|
|
|
|
"objbase",
|
|
|
|
"processenv",
|
|
|
|
"processthreadsapi",
|
|
|
|
"profileapi",
|
|
|
|
"shlobj",
|
|
|
|
"std",
|
|
|
|
"synchapi",
|
|
|
|
"sysinfoapi",
|
|
|
|
"threadpoollegacyapiset",
|
|
|
|
"timezoneapi",
|
|
|
|
"winbase",
|
|
|
|
"wincon",
|
|
|
|
"winerror",
|
|
|
|
"winnt",
|
2019-08-28 20:05:01 -04:00
|
|
|
"winreg",
|
2019-01-09 19:22:46 -05:00
|
|
|
"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",
|
|
|
|
"wtypes",
|
|
|
|
]
|
|
|
|
|
|
|
|
# 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",
|
|
|
|
"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",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-05-29 23:53:14 -04:00
|
|
|
rust_rlib("winapi_util") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-05-29 23:53:14 -04:00
|
|
|
edition = "2015"
|
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/winapi-util-0.1.2/src/lib.rs"
|
|
|
|
extern_rlib = [ "winapi" ]
|
|
|
|
}
|
|
|
|
|
|
|
|
rust_rlib("wincolor") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
2019-05-29 23:53:14 -04:00
|
|
|
edition = "2015"
|
2019-08-22 16:33:55 -04:00
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/wincolor-1.0.2/src/lib.rs"
|
2019-05-29 23:53:14 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"winapi",
|
|
|
|
"winapi_util",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-08-28 20:05:01 -04:00
|
|
|
rust_rlib("winreg") {
|
|
|
|
cap_lints = "allow"
|
|
|
|
edition = "2015"
|
|
|
|
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/winreg-0.6.2/src/lib.rs"
|
|
|
|
extern_rlib = [ "winapi" ]
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("ws2_32") {
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern = [
|
2019-01-09 19:22:46 -05:00
|
|
|
{
|
2019-05-14 17:30:56 -04:00
|
|
|
label = ":winapi-0.2.8"
|
|
|
|
crate_type = "rlib"
|
2019-08-02 11:58:09 -04:00
|
|
|
crate_name = "winapi"
|
2019-01-09 19:22:46 -05:00
|
|
|
crate_version = "0.2.8"
|
|
|
|
},
|
|
|
|
]
|
|
|
|
|
|
|
|
# Added by custom-build script.
|
|
|
|
libs = [ "ws2_32.lib" ]
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("miow-0.2.1") {
|
2019-01-09 19:22:46 -05:00
|
|
|
crate_name = "miow"
|
|
|
|
crate_version = "0.2.1"
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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"
|
2019-05-14 17:30:56 -04:00
|
|
|
extern_rlib = [
|
|
|
|
"kernel32",
|
|
|
|
"net2",
|
|
|
|
"ws2_32",
|
2019-01-09 19:22:46 -05:00
|
|
|
]
|
2019-05-14 17:30:56 -04:00
|
|
|
extern = [
|
2019-01-09 19:22:46 -05:00
|
|
|
{
|
2019-05-14 17:30:56 -04:00
|
|
|
label = ":winapi-0.2.8"
|
|
|
|
crate_type = "rlib"
|
2019-08-02 11:58:09 -04:00
|
|
|
crate_name = "winapi"
|
2019-01-09 19:22:46 -05:00
|
|
|
crate_version = "0.2.8"
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2019-05-14 17:30:56 -04:00
|
|
|
rust_rlib("winapi-0.2.8") {
|
2019-01-09 19:22:46 -05:00
|
|
|
crate_name = "winapi"
|
|
|
|
crate_version = "0.2.8"
|
2019-08-22 16:23:49 -04:00
|
|
|
cap_lints = "allow"
|
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"
|
|
|
|
}
|
2018-12-06 23:05:36 -05:00
|
|
|
}
|