Skip to content

Commit

Permalink
Add 'turbopack/' from commit '0b9b57ec17f1204ba7fef384ac94d9cfcd1f48bb'
Browse files Browse the repository at this point in the history
git-subtree-dir: turbopack
git-subtree-mainline: f43c53a
git-subtree-split: 0b9b57e
  • Loading branch information
ForsakenHarmony committed Jul 26, 2024
2 parents f43c53a + 0b9b57e commit b785510
Show file tree
Hide file tree
Showing 2,302 changed files with 378,348 additions and 0 deletions.
24 changes: 24 additions & 0 deletions turbopack/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# http://editorconfig.org
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.t]
trim_trailing_whitespace = false

[Makefile]
indent_style = tab

[{go.mod,go.sum,*.go}]
indent_style = tab

[*.rs]
# Keep in sync with rustfmt
max_line_length = 100
indent_size = 4
47 changes: 47 additions & 0 deletions turbopack/crates/node-file-trace/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
[package]
name = "node-file-trace"
version = "0.1.0"
description = "TBD"
license = "MPL-2.0"
edition = "2021"

[[bin]]
name = "node-file-trace"
path = "src/main.rs"
bench = false

[features]
default = ["cli", "custom_allocator"]
cli = ["dep:clap", "turbo-tasks-malloc"]
persistent_cache = []
serializable = []
tokio_console = [
"dep:console-subscriber",
"tokio/tracing",
"turbo-tasks/tokio_tracing",
]
node-api = []
custom_allocator = ["turbo-tasks-malloc", "turbo-tasks-malloc/custom_allocator"]

[lints]
workspace = true

[dependencies]
anyhow = { workspace = true }
clap = { workspace = true, optional = true, features = ["derive"] }
console-subscriber = { workspace = true, optional = true }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
tokio = { workspace = true, features = ["full"] }

turbo-tasks = { workspace = true }
turbo-tasks-fs = { workspace = true }
turbo-tasks-malloc = { workspace = true, optional = true, default-features = false }
turbo-tasks-memory = { workspace = true }
turbopack = { workspace = true }
turbopack-cli-utils = { workspace = true }
turbopack-core = { workspace = true }
turbopack-resolve = { workspace = true }

[build-dependencies]
turbo-tasks-build = { workspace = true }
5 changes: 5 additions & 0 deletions turbopack/crates/node-file-trace/build.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use turbo_tasks_build::generate_register;

fn main() {
generate_register();
}
Loading

0 comments on commit b785510

Please sign in to comment.