summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/BUILD.gn8
-rw-r--r--core/Cargo.toml2
-rw-r--r--core/http_bench.rs8
3 files changed, 9 insertions, 9 deletions
diff --git a/core/BUILD.gn b/core/BUILD.gn
index 3439fa25d..e74c26cca 100644
--- a/core/BUILD.gn
+++ b/core/BUILD.gn
@@ -3,7 +3,7 @@ import("//build_extra/rust/rust.gni")
group("default") {
testonly = true
deps = [
- ":deno_core",
+ ":deno",
":deno_core_http_bench",
":deno_core_http_bench_test",
":deno_core_test",
@@ -17,7 +17,7 @@ group("deno_core_deps") {
]
}
-# deno_core does not depend on flatbuffers nor tokio.
+# deno does not depend on flatbuffers nor tokio.
main_extern = [
"$rust_build:futures",
"$rust_build:libc",
@@ -25,7 +25,7 @@ main_extern = [
"$rust_build:log",
]
-rust_crate("deno_core") {
+rust_crate("deno") {
source_root = "lib.rs"
deps = [
":deno_core_deps",
@@ -47,7 +47,7 @@ http_bench_extern = [
"$rust_build:libc",
"$rust_build:log",
"$rust_build:tokio",
- ":deno_core",
+ ":deno",
]
if (is_win) {
http_bench_extern += [ "$rust_build:winapi" ]
diff --git a/core/Cargo.toml b/core/Cargo.toml
index 758c06dc8..06addd9c1 100644
--- a/core/Cargo.toml
+++ b/core/Cargo.toml
@@ -1,7 +1,7 @@
# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
[package]
-name = "deno_core"
+name = "deno"
version = "0.3.5"
edition = "2018"
diff --git a/core/http_bench.rs b/core/http_bench.rs
index 8b6a8e8fc..37965510f 100644
--- a/core/http_bench.rs
+++ b/core/http_bench.rs
@@ -2,7 +2,7 @@
///
/// > DENO_BUILD_MODE=release ./tools/build.py && \
/// ./target/release/deno_core_http_bench --multi-thread
-extern crate deno_core;
+extern crate deno;
extern crate futures;
extern crate libc;
extern crate tokio;
@@ -12,7 +12,7 @@ extern crate log;
#[macro_use]
extern crate lazy_static;
-use deno_core::*;
+use deno::*;
use futures::future::lazy;
use std::collections::HashMap;
use std::env;
@@ -168,7 +168,7 @@ fn main() {
// TODO currently isolate.execute() must be run inside tokio, hence the
// lazy(). It would be nice to not have that contraint. Probably requires
// using v8::MicrotasksPolicy::kExplicit
- let isolate = deno_core::Isolate::new(HttpBench());
+ let isolate = deno::Isolate::new(HttpBench());
isolate.then(|r| {
js_check(r);
@@ -177,7 +177,7 @@ fn main() {
});
let args: Vec<String> = env::args().collect();
- let args = deno_core::v8_set_flags(args);
+ let args = deno::v8_set_flags(args);
if args.len() > 1 && args[1] == "--multi-thread" {
println!("multi-thread");
tokio::run(main_future);