mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 04:51:22 +00: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:
parent
b8a537d020
commit
15831272bb
14
Cargo.lock
generated
14
Cargo.lock
generated
@ -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"
|
||||
|
@ -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
25
core/Cargo.toml
Normal 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 }
|
Loading…
Reference in New Issue
Block a user