mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -05:00
e83ff62ccb
This commit starts splitting out the deno_web op crate into multiple smaller crates. This commit splits out WebIDL and URL API, but in the future I want to split out each spec into its own crate. That means we will have (in rough order of loading): `webidl`, `dom`, `streams`, `console`, `encoding`, `url`, `file`, `fetch`, `websocket`, and `webgpu` crates.
45 lines
No EOL
859 B
TOML
45 lines
No EOL
859 B
TOML
# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
|
|
|
|
[workspace]
|
|
members = [
|
|
"cli",
|
|
"core",
|
|
"runtime",
|
|
"test_plugin",
|
|
"test_util",
|
|
"op_crates/crypto",
|
|
"op_crates/fetch",
|
|
"op_crates/url",
|
|
"op_crates/web",
|
|
"op_crates/webgpu",
|
|
"op_crates/webidl",
|
|
"op_crates/websocket",
|
|
]
|
|
exclude = [
|
|
"std/hash/_wasm"
|
|
]
|
|
|
|
|
|
[profile.release]
|
|
codegen-units = 1
|
|
lto = true
|
|
opt-level = 'z' # Optimize for size
|
|
|
|
[profile.bench]
|
|
codegen-units = 1
|
|
lto = true
|
|
opt-level = 'z' # Optimize for size
|
|
|
|
# Optimize these packages for perf
|
|
[profile.release.package.rand]
|
|
opt-level = 3
|
|
[profile.release.package.flate2]
|
|
opt-level = 3
|
|
[profile.release.package.brotli]
|
|
opt-level = 3
|
|
[profile.release.package.miniz_oxide]
|
|
opt-level = 3
|
|
[profile.release.package.async-compression]
|
|
opt-level = 3
|
|
[profile.release.package.brotli-decompressor]
|
|
opt-level = 3 |