mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 23:34:47 -05:00
b8a537d020
A new low-level crate with focus on speed. This doesn't yet hook into the existing code base.
37 lines
710 B
Text
37 lines
710 B
Text
import("//build_extra/rust/rust.gni")
|
|
|
|
# deno_core does not depend on flatbuffers nor tokio.
|
|
main_extern = [
|
|
"$rust_build:futures",
|
|
"$rust_build:libc",
|
|
"$rust_build:serde_json",
|
|
"$rust_build:log",
|
|
]
|
|
|
|
rust_crate("deno_core") {
|
|
source_root = "lib.rs"
|
|
extern = main_extern
|
|
deps = [
|
|
"../libdeno:libdeno_static_lib",
|
|
]
|
|
}
|
|
|
|
rust_test("deno_core_test") {
|
|
source_root = "lib.rs"
|
|
extern = main_extern
|
|
deps = [
|
|
"../libdeno:libdeno_static_lib",
|
|
]
|
|
}
|
|
|
|
rust_executable("deno_core_http_bench") {
|
|
source_root = "http_bench.rs"
|
|
extern = [
|
|
"$rust_build:futures",
|
|
"$rust_build:lazy_static",
|
|
"$rust_build:libc",
|
|
"$rust_build:log",
|
|
"$rust_build:tokio",
|
|
":deno_core"
|
|
]
|
|
}
|