2021-01-10 21:59:07 -05:00
|
|
|
# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
|
2020-09-21 08:26:41 -04:00
|
|
|
|
2019-02-26 19:23:30 -05:00
|
|
|
[workspace]
|
|
|
|
members = [
|
2019-03-30 14:45:36 -04:00
|
|
|
"cli",
|
2019-02-26 19:23:30 -05:00
|
|
|
"core",
|
2020-12-13 13:45:53 -05:00
|
|
|
"runtime",
|
2021-03-25 22:36:46 -04:00
|
|
|
"serde_v8",
|
2020-06-18 11:54:55 -04:00
|
|
|
"test_plugin",
|
|
|
|
"test_util",
|
2021-04-30 15:51:48 -04:00
|
|
|
"extensions/crypto",
|
|
|
|
"extensions/fetch",
|
|
|
|
"extensions/timers",
|
|
|
|
"extensions/url",
|
|
|
|
"extensions/web",
|
|
|
|
"extensions/webgpu",
|
|
|
|
"extensions/webidl",
|
|
|
|
"extensions/websocket",
|
2019-02-26 19:23:30 -05:00
|
|
|
]
|
2020-06-16 17:12:50 -04:00
|
|
|
exclude = [
|
|
|
|
"std/hash/_wasm"
|
|
|
|
]
|
2020-07-28 13:37:27 -04:00
|
|
|
|
2021-04-09 14:03:32 -04:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
codegen-units = 1
|
2021-04-10 02:46:27 -04:00
|
|
|
incremental = true
|
2021-04-09 14:03:32 -04:00
|
|
|
lto = true
|
|
|
|
opt-level = 'z' # Optimize for size
|
|
|
|
|
|
|
|
[profile.bench]
|
|
|
|
codegen-units = 1
|
2021-04-10 02:46:27 -04:00
|
|
|
incremental = true
|
2021-04-09 14:03:32 -04:00
|
|
|
lto = true
|
|
|
|
opt-level = 'z' # Optimize for size
|
|
|
|
|
2021-02-18 09:46:31 -05:00
|
|
|
# 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]
|
2021-03-25 22:36:46 -04:00
|
|
|
opt-level = 3
|
2021-04-06 13:38:49 -04:00
|
|
|
[profile.release.package.deno_core]
|
|
|
|
opt-level = 3
|
2021-04-11 08:10:22 -04:00
|
|
|
[profile.release.package.deno_runtime]
|
|
|
|
opt-level = 3
|
2021-04-06 13:38:49 -04:00
|
|
|
[profile.release.package.rusty_v8]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.serde_v8]
|
|
|
|
opt-level = 3
|
|
|
|
[profile.release.package.serde]
|
|
|
|
opt-level = 3
|