-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Initialize
swc_parallel
crate (#9839)
**Description:** This crate will be a wrapper for `chili` and `rayon`, which can be made single-threaded just by disabling `swc_parallel/parallel` cargo feature.
- Loading branch information
Showing
103 changed files
with
323 additions
and
313 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
[package] | ||
authors = ["강동윤 <[email protected]>"] | ||
description = "wasm module for swc" | ||
edition = "2021" | ||
license = "Apache-2.0" | ||
edition = { workspace = true } | ||
license = { workspace = true } | ||
name = "binding_core_wasm" | ||
publish = false | ||
repository = "https://github.com/swc-project/swc.git" | ||
repository = { workspace = true } | ||
version = "1.10.4" | ||
|
||
[lib] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
[package] | ||
authors = ["강동윤 <[email protected]>"] | ||
description = "wasm module for swc" | ||
edition = "2021" | ||
license = "Apache-2.0" | ||
edition = { workspace = true } | ||
license = { workspace = true } | ||
name = "binding_minifier_wasm" | ||
publish = false | ||
repository = "https://github.com/swc-project/swc.git" | ||
repository = { workspace = true } | ||
version = "1.10.4" | ||
|
||
[lib] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
[package] | ||
authors = ["강동윤 <[email protected]>"] | ||
description = "wasm module for swc" | ||
edition = "2021" | ||
license = "Apache-2.0" | ||
edition = { workspace = true } | ||
license = { workspace = true } | ||
name = "binding_typescript_wasm" | ||
publish = false | ||
repository = "https://github.com/swc-project/swc.git" | ||
repository = { workspace = true } | ||
version = "1.10.4" | ||
|
||
[lib] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
[package] | ||
authors = ["강동윤 <[email protected]>", "OJ Kwon <[email protected]>"] | ||
description = "Commandline for SWC" | ||
edition = "2021" | ||
edition = { workspace = true } | ||
include = ["Cargo.toml", "src/**/*.rs"] | ||
license = "Apache-2.0" | ||
license = { workspace = true } | ||
name = "swc_cli" | ||
repository = "https://github.com/swc-project/swc.git" | ||
repository = { workspace = true } | ||
version = "0.91.459" | ||
|
||
[[bin]] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,10 @@ | |
authors = ["강동윤 <[email protected]>"] | ||
description = "Macros for ast nodes." | ||
documentation = "https://rustdoc.swc.rs/ast_node/" | ||
edition = "2021" | ||
license = "Apache-2.0" | ||
edition = { workspace = true } | ||
license = { workspace = true } | ||
name = "ast_node" | ||
repository = "https://github.com/swc-project/swc.git" | ||
repository = { workspace = true } | ||
version = "3.0.0" | ||
|
||
[lib] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,10 @@ | |
authors = ["강동윤 <[email protected]>"] | ||
description = "scoped-tls, but with good error message" | ||
documentation = "https://rustdoc.swc.rs/better_scoped_tls/" | ||
edition = "2021" | ||
license = "Apache-2.0" | ||
edition = { workspace = true } | ||
license = { workspace = true } | ||
name = "better_scoped_tls" | ||
repository = "https://github.com/swc-project/swc.git" | ||
repository = { workspace = true } | ||
version = "1.0.0" | ||
|
||
[lib] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
[package] | ||
authors = ["강동윤 <[email protected]>", "OJ Kwon <[email protected]>"] | ||
description = "Macros to build customized bindings interface" | ||
edition = "2021" | ||
license = "Apache-2.0" | ||
edition = { workspace = true } | ||
license = { workspace = true } | ||
name = "binding_macros" | ||
repository = "https://github.com/swc-project/swc.git" | ||
repository = { workspace = true } | ||
version = "9.0.0" | ||
|
||
[lib] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
[package] | ||
authors = ["강동윤 <[email protected]>"] | ||
description = "Debug utilities" | ||
edition = "2021" | ||
license = "Apache-2.0" | ||
edition = { workspace = true } | ||
license = { workspace = true } | ||
name = "dbg-swc" | ||
repository = { workspace = true } | ||
version = "6.0.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,10 @@ | |
authors = ["강동윤 <[email protected]>"] | ||
description = "Automatically derive From impls for enums" | ||
documentation = "https://rustdoc.swc.rs/from_variant/" | ||
edition = "2021" | ||
license = "Apache-2.0" | ||
edition = { workspace = true } | ||
license = { workspace = true } | ||
name = "from_variant" | ||
repository = "https://github.com/swc-project/swc.git" | ||
repository = { workspace = true } | ||
version = "2.0.0" | ||
|
||
[lib] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,9 @@ | |
authors = ["강동윤 <[email protected]>"] | ||
description = "JsDoc parser writen in rust" | ||
documentation = "https://rustdoc.swc.rs/jsdoc/" | ||
edition = "2021" | ||
edition = { workspace = true } | ||
include = ["Cargo.toml", "src/**/*.rs"] | ||
license = "Apache-2.0" | ||
license = { workspace = true } | ||
name = "jsdoc" | ||
repository = { workspace = true } | ||
version = "5.0.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,10 @@ | |
authors = ["강동윤 <[email protected]>"] | ||
description = "Common logic for targetting vairous browsers" | ||
documentation = "https://rustdoc.swc.rs/preset_env_base/" | ||
edition = "2021" | ||
license = "Apache-2.0" | ||
edition = { workspace = true } | ||
license = { workspace = true } | ||
name = "preset_env_base" | ||
repository = "https://github.com/swc-project/swc.git" | ||
repository = { workspace = true } | ||
version = "1.0.0" | ||
|
||
[lib] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,10 @@ | |
authors = ["강동윤 <[email protected]>"] | ||
description = "String based enum." | ||
documentation = "https://rustdoc.swc.rs/string_enum/" | ||
edition = "2021" | ||
license = "Apache-2.0" | ||
edition = { workspace = true } | ||
license = { workspace = true } | ||
name = "string_enum" | ||
repository = "https://github.com/swc-project/swc.git" | ||
repository = { workspace = true } | ||
version = "1.0.0" | ||
|
||
[lib] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,11 +4,11 @@ | |
authors = ["강동윤 <[email protected]>"] | ||
description = "Speedy web compiler" | ||
documentation = "https://rustdoc.swc.rs/swc/" | ||
edition = "2021" | ||
edition = { workspace = true } | ||
include = ["Cargo.toml", "src/**/*.rs"] | ||
license = "Apache-2.0" | ||
license = { workspace = true } | ||
name = "swc" | ||
repository = "https://github.com/swc-project/swc.git" | ||
repository = { workspace = true } | ||
version = "9.0.1" | ||
|
||
[lib] | ||
|
@@ -48,8 +48,8 @@ plugin_transform_host_native = [ | |
"swc_plugin_runner/plugin_transform_host_native", | ||
] | ||
# Do not inject tokio runtime while running plugin transforms | ||
manual-tokio-runtmie = ["manual-tokio-runtime"] | ||
manual-tokio-runtime = [] | ||
manual-tokio-runtmie = ["manual-tokio-runtime"] | ||
|
||
[dependencies] | ||
anyhow = { workspace = true } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,8 @@ | |
authors = ["강동윤 <[email protected]>"] | ||
description = "A thin wrapper for bumpalo" | ||
documentation = "https://rustdoc.swc.rs/swc_allocator/" | ||
edition = "2021" | ||
license = "Apache-2.0" | ||
edition = { workspace = true } | ||
license = { workspace = true } | ||
name = "swc_allocator" | ||
repository = { workspace = true } | ||
version = "2.0.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,10 @@ | |
authors = ["강동윤 <[email protected]>"] | ||
description = "Atoms for the swc project." | ||
documentation = "https://rustdoc.swc.rs/swc_atoms/" | ||
edition = "2021" | ||
license = "Apache-2.0" | ||
edition = { workspace = true } | ||
license = { workspace = true } | ||
name = "swc_atoms" | ||
repository = "https://github.com/swc-project/swc.git" | ||
repository = { workspace = true } | ||
version = "3.0.0" | ||
|
||
[lib] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,11 +4,11 @@ authors = ["강동윤 <[email protected]>"] | |
build = "build.rs" | ||
description = "Very fast ecmascript bundler" | ||
documentation = "https://rustdoc.swc.rs/swc_bundler/" | ||
edition = "2021" | ||
edition = { workspace = true } | ||
include = ["Cargo.toml", "build.rs", "src/**/*.rs", "src/**/*.js"] | ||
license = "Apache-2.0" | ||
license = { workspace = true } | ||
name = "swc_bundler" | ||
repository = "https://github.com/swc-project/swc.git" | ||
repository = { workspace = true } | ||
version = "6.0.0" | ||
|
||
[package.metadata.docs.rs] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,11 +2,11 @@ | |
authors = ["강동윤 <[email protected]>"] | ||
description = "Cached types for swc" | ||
documentation = "https://rustdoc.swc.rs/swc_cached/" | ||
edition = "2021" | ||
edition = { workspace = true } | ||
include = ["Cargo.toml", "src/**/*.rs"] | ||
license = "Apache-2.0" | ||
license = { workspace = true } | ||
name = "swc_cached" | ||
repository = "https://github.com/swc-project/swc.git" | ||
repository = { workspace = true } | ||
version = "1.0.0" | ||
|
||
[lib] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
[package] | ||
authors = ["강동윤 <[email protected]>", "OJ Kwon <[email protected]>"] | ||
description = "Commandline for SWC (Internal crate with implementation)" | ||
edition = "2021" | ||
edition = { workspace = true } | ||
include = ["Cargo.toml", "src/**/*.rs"] | ||
license = "Apache-2.0" | ||
license = { workspace = true } | ||
name = "swc_cli_impl" | ||
repository = "https://github.com/swc-project/swc.git" | ||
repository = { workspace = true } | ||
version = "9.0.0" | ||
|
||
[[bin]] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,10 @@ | |
authors = ["강동윤 <[email protected]>"] | ||
description = "Common utilities for the swc project." | ||
documentation = "https://rustdoc.swc.rs/swc_common/" | ||
edition = "2021" | ||
license = "Apache-2.0" | ||
edition = { workspace = true } | ||
license = { workspace = true } | ||
name = "swc_common" | ||
repository = "https://github.com/swc-project/swc.git" | ||
repository = { workspace = true } | ||
version = "5.0.0" | ||
|
||
[package.metadata.docs.rs] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,11 +2,11 @@ | |
authors = ["강동윤 <[email protected]>"] | ||
description = "Base crate for the 'swc' crate. This is not a public API." | ||
documentation = "https://rustdoc.swc.rs/swc_compiler_base/" | ||
edition = "2021" | ||
edition = { workspace = true } | ||
include = ["Cargo.toml", "src/**/*.rs"] | ||
license = "Apache-2.0" | ||
license = { workspace = true } | ||
name = "swc_compiler_base" | ||
repository = "https://github.com/swc-project/swc.git" | ||
repository = { workspace = true } | ||
version = "7.0.0" | ||
|
||
[features] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,10 @@ | |
authors = ["강동윤 <[email protected]>"] | ||
description = "Types for configuring swc" | ||
documentation = "https://rustdoc.swc.rs/swc_config/" | ||
edition = "2021" | ||
license = "Apache-2.0" | ||
edition = { workspace = true } | ||
license = { workspace = true } | ||
name = "swc_config" | ||
repository = "https://github.com/swc-project/swc.git" | ||
repository = { workspace = true } | ||
version = "1.0.0" | ||
|
||
[dependencies] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,10 @@ | |
authors = ["강동윤 <[email protected]>"] | ||
description = "Macros to prevent mistakes" | ||
documentation = "https://rustdoc.swc.rs/swc_config_macro/" | ||
edition = "2021" | ||
license = "Apache-2.0" | ||
edition = { workspace = true } | ||
license = { workspace = true } | ||
name = "swc_config_macro" | ||
repository = "https://github.com/swc-project/swc.git" | ||
repository = { workspace = true } | ||
version = "1.0.0" | ||
|
||
[lib] | ||
|
Oops, something went wrong.