diff options
author | Bert Belder <bertbelder@gmail.com> | 2019-02-26 16:23:30 -0800 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2019-02-26 16:23:36 -0800 |
commit | 15831272bbda8e052760afcd8800f75e09a51a53 (patch) | |
tree | 807e3910f7427ca9edae7a3c84c13b0c6712929b | |
parent | b8a537d020f5e4495572daa4d8a59f51fa3b20d1 (diff) |
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.
-rw-r--r-- | Cargo.lock | 14 | ||||
-rw-r--r-- | Cargo.toml | 7 | ||||
-rw-r--r-- | core/Cargo.toml | 25 |
3 files changed, 46 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock index e4399dcbc..c720672a0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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" @@ -231,6 +233,18 @@ dependencies = [ ] [[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" source = "registry+https://github.com/rust-lang/crates.io-index" diff --git a/Cargo.toml b/Cargo.toml index ce796ea3e..37057d54c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/core/Cargo.toml b/core/Cargo.toml new file mode 100644 index 000000000..dd55e7bc0 --- /dev/null +++ b/core/Cargo.toml @@ -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 } |