rsnext/packages/next-swc/crates/next-dev/Cargo.toml
Will Binns-Smith e783ec8302 Benchmark startup time for bundling many modules (vercel/turbo#240)
* Basic startup bench for dev server

* fixes to benchmarking (vercel/turbo#268)

* use bench profile for benchmarking

* make setup and teardown not part of the measurement

add support for async setup and teardown

share browser between measurements

* updates for changes TestApp

Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>
2022-08-24 11:36:08 -07:00

59 lines
1.6 KiB
TOML

[package]
name = "next-dev"
version = "0.1.0"
edition = "2021"
[[bin]]
name = "next-dev"
path = "src/main.rs"
bench = false
[lib]
bench = false
[[bench]]
name = "mod"
harness = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
tokio_console = [
"dep:console-subscriber",
"tokio/tracing",
"turbo-tasks/tokio_tracing",
]
[dependencies]
anyhow = "1.0.47"
clap = { version = "3", features = ["derive"] }
console-subscriber = { version = "0.1.6", optional = true }
futures = "0.3.21"
json = "0.12.4"
mime = "0.3.16"
next-core = { path = "../next-core" }
serde = "1.0.136"
tokio = { version = "1.11.0", features = ["full"] }
turbo-tasks = { path = "../turbo-tasks" }
turbo-tasks-fs = { path = "../turbo-tasks-fs" }
turbo-tasks-memory = { path = "../turbo-tasks-memory" }
turbopack = { path = "../turbopack" }
turbopack-cli-utils = { path = "../turbopack-cli-utils" }
turbopack-core = { path = "../turbopack-core" }
turbopack-dev-server = { path = "../turbopack-dev-server" }
webbrowser = "0.7.1"
[dev-dependencies]
chromiumoxide = { version = "0.3.5", features = [
"tokio-runtime",
], default-features = false }
criterion = { version = "0.3.5", features = ["async_tokio"] }
lazy_static = "1.4.0"
regex = "1.6.0"
test-generator = "0.3.0"
# sync with chromiumoxide's tungstenite requirement.
tungstenite = "0.17.3" # For matching on errors from chromiumoxide. Keep in
turbopack-create-test-app = { path = "../turbopack-create-test-app" }
[build-dependencies]
turbo-tasks-build = { path = "../turbo-tasks-build" }