1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-26 09:10:40 -05:00

core: add Cargo.toml

This aids development using Visual Studio Code. The http_bench can't be
built with cargo yet because it needs to link with libdeno.
This commit is contained in:
Bert Belder 2019-02-26 16:23:30 -08:00
parent b8a537d020
commit 15831272bb
No known key found for this signature in database
GPG key ID: 7A77887B2E2ED461
3 changed files with 46 additions and 0 deletions

14
Cargo.lock generated
View file

@ -1,3 +1,5 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
[[package]]
name = "aho-corasick"
version = "0.6.9"
@ -230,6 +232,18 @@ dependencies = [
"winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "deno_core"
version = "0.0.1"
dependencies = [
"futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)",
"lazy_static 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.48 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
"serde_json 1.0.38 (registry+https://github.com/rust-lang/crates.io-index)",
"tokio 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "dirs"
version = "1.0.4"

View file

@ -4,6 +4,13 @@
# 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.
[workspace]
members = [
"./",
"core",
]
[package]
name = "deno"
version = "0.3.0"

25
core/Cargo.toml Normal file
View file

@ -0,0 +1,25 @@
# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
[package]
name = "deno_core"
version = "0.0.1"
edition = "2018"
[lib]
path = "lib.rs"
[[bin]]
name = "deno_core_http_bench"
path = "http_bench.rs"
required-features = ["bin-dependencies"]
[features]
bin-dependencies = ["tokio"]
[dependencies]
futures = "0.1.25"
lazy_static = "1.2.0"
libc = "0.2.48"
log = "0.4.6"
serde_json = "1.0.38"
tokio = { version = "0.1.15", optional = true }