Skip to content

Commit

Permalink
core: add Cargo.toml
Browse files Browse the repository at this point in the history
This aids development using Visual Studio Code. The http_bench can't be
built with cargo yet because it needs to link with libdeno.
  • Loading branch information
piscisaureus committed Feb 27, 2019
1 parent b8a537d commit 1583127
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
25 changes: 25 additions & 0 deletions core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 }

0 comments on commit 1583127

Please sign in to comment.