1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-28 18:19:08 -05:00
denoland-deno/cli/Cargo.toml
Ryan Dahl d43b43ca78
Refactor snapshot build (#2825)
Instead of using core/snapshot_creator.rs, instead two crates are
introduced which allow building the snapshot during build.rs.

Rollup is removed and replaced with our own bundler. This removes
the Node build dependency. Modules in //js now use Deno-style imports
with file extensions, rather than Node style extensionless imports.

This improves incremental build time when changes are made to //js files
by about 40 seconds.
2019-09-02 17:07:11 -04:00

63 lines
1.5 KiB
TOML

# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
# Dummy package info required by `cargo fetch`.
# Use tools/sync_rust_crates.py to install deps after editing this file.
# Deno does not build with cargo. Deno uses a build system called gn.
# See build_extra/rust/BUILD.gn for the manually built configuration of rust
# crates.
[[bin]]
name = "deno"
path = "main.rs"
[package]
name = "deno_cli"
version = "0.16.0"
edition = "2018"
[dependencies]
deno = { path = "../core" }
ansi_term = "0.12.0"
atty = "0.2.13"
clap = "2.33.0"
dirs = "2.0.2"
futures = "0.1.28"
http = "0.1.18"
hyper = "0.12.33"
hyper-rustls = "0.17.1"
indexmap = "1.1.0"
integer-atomics = "1.0.2"
lazy_static = "1.3.0"
libc = "0.2.62"
log = "0.4.8"
rand = "0.6.5"
regex = "1.2.1"
remove_dir_all = "0.5.2"
reqwest = { version = "0.9.20", default-features = false, features = ["rustls-tls"] }
ring = "0.16.8"
rustyline = "5.0.2"
serde = { version = "1.0.99", features = ["derive"] }
serde_derive = "1.0.99"
serde_json = { version = "1.0.40", features = [ "preserve_order" ] }
source-map-mappings = "0.5.0"
tempfile = "3.1.0"
termcolor = "1.0.5"
tokio = "0.1.22"
tokio-executor = "0.1.8"
tokio-fs = "0.1.6"
tokio-io = "0.1.12"
tokio-process = "0.2.4"
tokio-rustls = "0.10.0"
tokio-threadpool = "0.1.15"
url = "1.7.2"
utime = "0.2.1"
deno_cli_snapshots = { path = "../cli_snapshots" }
deno_typescript = { path = "../deno_typescript" }
[target.'cfg(windows)'.dependencies]
winapi = "0.3.7"
fwdansi = "1.0.1"
[target.'cfg(unix)'.dependencies]
nix = "0.14.1"