mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -05:00
third_party: add rust crate 'clap'
This commit is contained in:
parent
97265895ba
commit
ff1c80d6d8
5 changed files with 107 additions and 11 deletions
37
Cargo.lock
generated
37
Cargo.lock
generated
|
@ -119,6 +119,20 @@ name = "cfg-if"
|
|||
version = "0.1.7"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "clap"
|
||||
version = "2.32.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"atty 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"strsim 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"textwrap 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"unicode-width 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"vec_map 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "cloudabi"
|
||||
version = "0.0.3"
|
||||
|
@ -196,6 +210,7 @@ version = "0.3.5"
|
|||
dependencies = [
|
||||
"ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"atty 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"clap 2.32.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"deno 0.3.5",
|
||||
"dirs 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"flatbuffers 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
@ -948,6 +963,11 @@ name = "string"
|
|||
version = "0.1.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "strsim"
|
||||
version = "0.7.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "syn"
|
||||
version = "0.15.29"
|
||||
|
@ -992,6 +1012,14 @@ dependencies = [
|
|||
"redox_termios 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "textwrap"
|
||||
version = "0.10.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"unicode-width 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "thread_local"
|
||||
version = "0.3.6"
|
||||
|
@ -1296,6 +1324,11 @@ name = "utf8parse"
|
|||
version = "0.1.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "vec_map"
|
||||
version = "0.8.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "vlq"
|
||||
version = "0.5.1"
|
||||
|
@ -1389,6 +1422,7 @@ dependencies = [
|
|||
"checksum bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)" = "206fdffcfa2df7cbe15601ef46c813fce0965eb3286db6b56c583b814b51c81c"
|
||||
"checksum cc 1.0.32 (registry+https://github.com/rust-lang/crates.io-index)" = "ad0daef304fa0b4238f5f7ed7178774b43b06f6a9b6509f6642bef4ff1f7b9b2"
|
||||
"checksum cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "11d43355396e872eefb45ce6342e4374ed7bc2b3a502d1b28e36d6e23c05d1f4"
|
||||
"checksum clap 2.32.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b957d88f4b6a63b9d70d5f454ac8011819c6efa7727858f458ab71c756ce2d3e"
|
||||
"checksum cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f"
|
||||
"checksum constant_time_eq 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "8ff012e225ce166d4422e0e78419d901719760f62ae2b7969ca6b564d1b54a9e"
|
||||
"checksum crossbeam-deque 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b18cd2e169ad86297e6bc0ad9aa679aee9daa4f19e8163860faf7c164e4f5a71"
|
||||
|
@ -1480,10 +1514,12 @@ dependencies = [
|
|||
"checksum spin 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "44363f6f51401c34e7be73db0db371c04705d35efbe9f7d6082e03a921a32c55"
|
||||
"checksum stable_deref_trait 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "dba1a27d3efae4351c8051072d619e3ade2820635c3958d826bfea39d59b54c8"
|
||||
"checksum string 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "b639411d0b9c738748b5397d5ceba08e648f4f1992231aa859af1a017f31f60b"
|
||||
"checksum strsim 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "bb4f380125926a99e52bc279241539c018323fab05ad6368b56f93d9369ff550"
|
||||
"checksum syn 0.15.29 (registry+https://github.com/rust-lang/crates.io-index)" = "1825685f977249735d510a242a6727b46efe914bb67e38d30c071b1b72b1d5c2"
|
||||
"checksum synstructure 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)" = "73687139bf99285483c96ac0add482c3776528beac1d97d444f6e91f203a2015"
|
||||
"checksum tempfile 3.0.7 (registry+https://github.com/rust-lang/crates.io-index)" = "b86c784c88d98c801132806dadd3819ed29d8600836c4088e855cdf3e178ed8a"
|
||||
"checksum termion 1.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "689a3bdfaab439fd92bc87df5c4c78417d3cbe537487274e9b0b2dce76e92096"
|
||||
"checksum textwrap 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)" = "307686869c93e71f94da64286f9a9524c0f308a9e1c87a583de8e9c9039ad3f6"
|
||||
"checksum thread_local 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)" = "c6b53e329000edc2b34dbe8545fd20e55a333362d0a321909685a19bd28c3f1b"
|
||||
"checksum time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)" = "db8dcfca086c1143c9270ac42a2bbd8a7ee477b78ac8e45b19abfb0cbede4b6f"
|
||||
"checksum tokio 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)" = "65641e515a437b308ab131a82ce3042ff9795bef5d6c5a9be4eb24195c417fd9"
|
||||
|
@ -1514,6 +1550,7 @@ dependencies = [
|
|||
"checksum url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "dd4e7c0d531266369519a4aa4f399d748bd37043b00bde1e4ff1f60a120b355a"
|
||||
"checksum utf8-ranges 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "796f7e48bef87609f7ade7e06495a87d5cd06c7866e6a5cbfceffc558a243737"
|
||||
"checksum utf8parse 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "8772a4ccbb4e89959023bc5b7cb8623a795caa7092d99f3aa9501b9484d4557d"
|
||||
"checksum vec_map 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "05c78687fb1a80548ae3250346c3db86a80a7cdd77bda190189f2d0a0987c81a"
|
||||
"checksum vlq 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "65dd7eed29412da847b0f78bcec0ac98588165988a8cfe41d4ea1d429f8ccfff"
|
||||
"checksum void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d"
|
||||
"checksum want 0.0.6 (registry+https://github.com/rust-lang/crates.io-index)" = "797464475f30ddb8830cc529aaaae648d581f99e2036a928877dfde027ddf6b3"
|
||||
|
|
|
@ -67,6 +67,16 @@ rust_crate("base64") {
|
|||
]
|
||||
}
|
||||
|
||||
rust_crate("bitflags") {
|
||||
edition = "2015"
|
||||
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/bitflags-1.0.4/src/lib.rs"
|
||||
features = [ "default" ]
|
||||
args = [
|
||||
"--cap-lints",
|
||||
"allow",
|
||||
]
|
||||
}
|
||||
|
||||
rust_crate("byteorder") {
|
||||
edition = "2015"
|
||||
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/byteorder-1.3.1/src/lib.rs"
|
||||
|
@ -105,6 +115,35 @@ rust_crate("cfg_if") {
|
|||
]
|
||||
}
|
||||
|
||||
rust_crate("clap") {
|
||||
edition = "2015"
|
||||
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/clap-2.32.0/src/lib.rs"
|
||||
features = [
|
||||
"ansi_term",
|
||||
"atty",
|
||||
"color",
|
||||
"default",
|
||||
"strsim",
|
||||
"suggestions",
|
||||
"vec_map",
|
||||
]
|
||||
extern = [
|
||||
":atty",
|
||||
":bitflags",
|
||||
":strsim",
|
||||
":textwrap",
|
||||
":unicode_width",
|
||||
":vec_map",
|
||||
]
|
||||
args = [
|
||||
"--cap-lints",
|
||||
"allow",
|
||||
]
|
||||
if (is_posix) {
|
||||
extern += [ ":ansi_term" ]
|
||||
}
|
||||
}
|
||||
|
||||
rust_crate("crossbeam_deque") {
|
||||
edition = "2015"
|
||||
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/crossbeam-deque-0.7.1/src/lib.rs"
|
||||
|
@ -1238,6 +1277,15 @@ rust_crate("string") {
|
|||
]
|
||||
}
|
||||
|
||||
rust_crate("strsim") {
|
||||
edition = "2015"
|
||||
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/strsim-0.7.0/src/lib.rs"
|
||||
args = [
|
||||
"--cap-lints",
|
||||
"allow",
|
||||
]
|
||||
}
|
||||
|
||||
rust_crate("tempfile") {
|
||||
edition = "2015"
|
||||
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/tempfile-3.0.7/src/lib.rs"
|
||||
|
@ -1258,6 +1306,16 @@ rust_crate("tempfile") {
|
|||
}
|
||||
}
|
||||
|
||||
rust_crate("textwrap") {
|
||||
edition = "2015"
|
||||
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/textwrap-0.10.0/src/lib.rs"
|
||||
extern = [ ":unicode_width" ]
|
||||
args = [
|
||||
"--cap-lints",
|
||||
"allow",
|
||||
]
|
||||
}
|
||||
|
||||
rust_crate("thread_local") {
|
||||
edition = "2015"
|
||||
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/thread_local-0.3.6/src/lib.rs"
|
||||
|
@ -1661,6 +1719,15 @@ rust_crate("utf8_ranges") {
|
|||
]
|
||||
}
|
||||
|
||||
rust_crate("vec_map") {
|
||||
edition = "2015"
|
||||
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/vec_map-0.8.1/src/lib.rs"
|
||||
args = [
|
||||
"--cap-lints",
|
||||
"allow",
|
||||
]
|
||||
}
|
||||
|
||||
rust_crate("vlq") {
|
||||
edition = "2015"
|
||||
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/vlq-0.5.1/src/lib.rs"
|
||||
|
@ -1765,16 +1832,6 @@ if (is_posix) {
|
|||
]
|
||||
}
|
||||
|
||||
rust_crate("bitflags") {
|
||||
edition = "2015"
|
||||
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/bitflags-1.0.4/src/lib.rs"
|
||||
features = [ "default" ]
|
||||
args = [
|
||||
"--cap-lints",
|
||||
"allow",
|
||||
]
|
||||
}
|
||||
|
||||
rust_crate("mio_uds") {
|
||||
edition = "2015"
|
||||
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/mio-uds-0.6.7/src/lib.rs"
|
||||
|
|
|
@ -12,6 +12,7 @@ main_extern = [
|
|||
|
||||
"$rust_build:ansi_term",
|
||||
"$rust_build:atty",
|
||||
"$rust_build:clap",
|
||||
"$rust_build:dirs",
|
||||
"$rust_build:flatbuffers",
|
||||
"$rust_build:futures",
|
||||
|
|
|
@ -20,6 +20,7 @@ deno = { path = "../core" }
|
|||
|
||||
ansi_term = "0.11.0"
|
||||
atty = "0.2.11"
|
||||
clap = "2.32.0"
|
||||
dirs = "1.0.5"
|
||||
flatbuffers = "0.5.0"
|
||||
futures = "0.1.25"
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 8b97fa2fe0c212bedba19c52e5a6fcc70ee5265e
|
||||
Subproject commit d2df9adb30b15326c1f481420df7bacb468cf440
|
Loading…
Reference in a new issue