Skip to content

Commit

Permalink
prepare crates for publishing (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
ForsakenHarmony committed Oct 20, 2022
1 parent 7023636 commit 1567203
Show file tree
Hide file tree
Showing 35 changed files with 78 additions and 56 deletions.
6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ members = [
"crates/turbo-tasks-fs",
"crates/turbo-tasks-hash",
"crates/turbo-tasks-macros",
"crates/turbo-tasks-macros-shared",
"crates/turbo-tasks-memory",
"crates/turbo-tasks-testing",
"crates/turbo-tasks",
Expand All @@ -21,9 +22,12 @@ members = [
"crates/turbopack-css",
"crates/turbopack-dev-server",
"crates/turbopack-ecmascript",
"crates/turbopack-env",
"crates/turbopack-json",
"crates/turbopack-static",
"crates/turbopack-swc-utils",
"crates/turbopack",
"crates/xtask",
"xtask",
]

[profile.release]
Expand Down
4 changes: 2 additions & 2 deletions crates/next-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "next-core"
version = "0.1.0"
description = "TBD"
license = "MPL-2.0"
edition = "2021"

[lib]
bench = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = "1.0.47"
futures = "0.3.21"
Expand Down
4 changes: 2 additions & 2 deletions crates/next-dev/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[package]
name = "next-dev"
version = "0.1.0"
description = "TBD"
license = "MPL-2.0"
edition = "2021"
autobenches = false

Expand All @@ -16,8 +18,6 @@ bench = false
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",
Expand Down
4 changes: 2 additions & 2 deletions crates/node-file-trace/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[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

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[features]
default = ["cli"]
cli = ["dep:clap", "dep:turbo-malloc"]
Expand Down
7 changes: 5 additions & 2 deletions crates/swc-ast-explorer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
[package]
name = "swc-ast-explorer"
version = "0.1.0"
description = "TBD"
license = "MPL-2.0"
edition = "2021"

# don't publish this crate (for now)
publish = false

[[bin]]
name = "swc-ast-explorer"
path = "src/main.rs"
bench = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = "1.0.47"
clap = { version = "3.2.15", features = ["derive"] }
Expand Down
4 changes: 2 additions & 2 deletions crates/turbo-malloc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "turbo-malloc"
version = "0.1.0"
description = "TBD"
license = "MPL-2.0"
edition = "2021"
autobenches = false

[lib]
bench = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[target.'cfg(not(target_os = "linux"))'.dependencies]
mimalloc-rust = { version = "0.2" }

Expand Down
4 changes: 2 additions & 2 deletions crates/turbo-tasks-build/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "turbo-tasks-build"
version = "0.1.0"
description = "TBD"
license = "MPL-2.0"
edition = "2021"

[lib]
bench = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = "1.0.53"
cargo-lock = "8.0.2"
Expand Down
4 changes: 2 additions & 2 deletions crates/turbo-tasks-env/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "turbo-tasks-env"
version = "0.1.0"
description = "TBD"
license = "MPL-2.0"
edition = "2021"

[lib]
bench = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = "1.0.47"
dotenvy = "0.15.5"
Expand Down
4 changes: 2 additions & 2 deletions crates/turbo-tasks-fs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "turbo-tasks-fs"
version = "0.1.0"
description = "TBD"
license = "MPL-2.0"
edition = "2021"

[lib]
bench = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = "1.0.47"
bitflags = "1.3.2"
Expand Down
4 changes: 2 additions & 2 deletions crates/turbo-tasks-hash/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "turbo-tasks-hash"
version = "0.1.0"
description = "TBD"
license = "MPL-2.0"
edition = "2021"
autobenches = false

[lib]
bench = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
base16 = "0.2.1"
md4 = "0.10.1"
Expand Down
2 changes: 2 additions & 0 deletions crates/turbo-tasks-macros-shared/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[package]
name = "turbo-tasks-macros-shared"
version = "0.1.0"
description = "TBD"
license = "MPL-2.0"
edition = "2021"

[lib]
Expand Down
4 changes: 2 additions & 2 deletions crates/turbo-tasks-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "turbo-tasks-macros"
version = "0.1.0"
description = "TBD"
license = "MPL-2.0"
edition = "2021"

[lib]
proc-macro = true
bench = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = "1.0.53"
convert_case = "0.5.0"
Expand Down
4 changes: 2 additions & 2 deletions crates/turbo-tasks-memory/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "turbo-tasks-memory"
version = "0.1.0"
description = "TBD"
license = "MPL-2.0"
edition = "2021"
autobenches = false

[lib]
bench = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = "1.0.47"
concurrent-queue = "1.2.2"
Expand Down
7 changes: 5 additions & 2 deletions crates/turbo-tasks-rocksdb/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
[package]
name = "turbo-tasks-rocksdb"
version = "0.1.0"
description = "TBD"
license = "MPL-2.0"
edition = "2021"

# don't publish this crate (for now)
publish = false

[lib]
bench = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = "1.0.47"
event-listener = "2.5.2"
Expand Down
4 changes: 2 additions & 2 deletions crates/turbo-tasks-testing/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "turbo-tasks-testing"
version = "0.1.0"
description = "TBD"
license = "MPL-2.0"
edition = "2021"
autobenches = false

[lib]
bench = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = "1.0.47"
event-listener = "2.5.2"
Expand Down
4 changes: 2 additions & 2 deletions crates/turbo-tasks/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
name = "turbo-tasks"
version = "0.1.0"
description = "TBD"
license = "MPL-2.0"
edition = "2021"

[lib]
bench = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[features]
assert_task_state = []
tokio_tracing = ["tokio/tracing"]
Expand Down
2 changes: 2 additions & 0 deletions crates/turbopack-cli-utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[package]
name = "turbopack-cli-utils"
version = "0.1.0"
description = "TBD"
license = "MPL-2.0"
edition = "2021"
autobenches = false

Expand Down
4 changes: 2 additions & 2 deletions crates/turbopack-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "turbopack-core"
version = "0.1.0"
description = "TBD"
license = "MPL-2.0"
edition = "2021"
autobenches = false

[lib]
bench = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = "1.0.47"
async-trait = "0.1.56"
Expand Down
5 changes: 5 additions & 0 deletions crates/turbopack-create-test-app/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
[package]
name = "turbopack-create-test-app"
version = "0.1.0"
description = "TBD"
license = "MPL-2.0"
edition = "2021"

# don't publish this crate (for now)
publish = false

[[bin]]
name = "turbopack-create-test-app"
path = "src/main.rs"
Expand Down
4 changes: 2 additions & 2 deletions crates/turbopack-css/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "turbopack-css"
version = "0.1.0"
description = "TBD"
license = "MPL-2.0"
edition = "2021"
autobenches = false

[lib]
bench = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = "1.0.47"
async-trait = "0.1.56"
Expand Down
4 changes: 2 additions & 2 deletions crates/turbopack-dev-server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "turbopack-dev-server"
version = "0.1.0"
description = "TBD"
license = "MPL-2.0"
edition = "2021"
autobenches = false

[lib]
bench = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = "1.0.47"
event-listener = "2.5.2"
Expand Down
4 changes: 2 additions & 2 deletions crates/turbopack-ecmascript/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "turbopack-ecmascript"
version = "0.1.0"
description = "TBD"
license = "MPL-2.0"
edition = "2021"
autobenches = false

[lib]
bench = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = "1.0.47"
async-trait = "0.1.56"
Expand Down
4 changes: 2 additions & 2 deletions crates/turbopack-env/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "turbopack-env"
version = "0.1.0"
description = "TBD"
license = "MPL-2.0"
edition = "2021"
autobenches = false

[lib]
bench = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = "1.0.47"
dotenvy = "0.15.5"
Expand Down
4 changes: 2 additions & 2 deletions crates/turbopack-json/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "turbopack-json"
version = "0.1.0"
description = "TBD"
license = "MPL-2.0"
edition = "2021"
autobenches = false

[lib]
bench = false

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = "1.0.47"

Expand Down
Loading

0 comments on commit 1567203

Please sign in to comment.