Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(oxc_index)!: move to own repo github.com/oxc-project/oxc-index-vec #7464

Merged
merged 1 commit into from
Nov 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
refactor(oxc_index)!: move to own repo github.com/oxc-project/oxc-ind…
…ex-vec (#7464)

closes #7454
Boshen committed Nov 25, 2024
commit 5d65656517b4078b3b47e047d525a332d04e4792
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -104,7 +104,7 @@ jobs:
RUSTFLAGS: "--cfg tokio_unstable -C target-feature=+atomics,+bulk-memory,+mutable-globals,+simd128 -C link-args=--max-memory=67108864"
CARGO_TARGET_WASM32_WASIP1_THREADS_RUNNER: "wasmtime run -W bulk-memory=y -W threads=y -S threads=y --dir=${{ github.workspace }}::${{ github.workspace }} --"
# Insta is not able to run on wasmtime, omit the packages that depend on it
TEST_FLAGS: "-p oxc_ast -p oxc_cfg -p oxc_index -p oxc_regular_expression -p oxc_module_lexer -- --nocapture"
TEST_FLAGS: "-p oxc_ast -p oxc_cfg -p oxc_regular_expression -p oxc_module_lexer -- --nocapture"
steps:
- uses: taiki-e/checkout-action@v1
- uses: Boshen/setup-rust@main
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -88,7 +88,6 @@ oxc_data_structures = { version = "0.37.0", path = "crates/oxc_data_structures"
oxc_diagnostics = { version = "0.37.0", path = "crates/oxc_diagnostics" }
oxc_ecmascript = { version = "0.37.0", path = "crates/oxc_ecmascript" }
oxc_estree = { version = "0.37.0", path = "crates/oxc_estree" }
oxc_index = { version = "0.37.0", path = "crates/oxc_index" }
oxc_isolated_declarations = { version = "0.37.0", path = "crates/oxc_isolated_declarations" }
oxc_mangler = { version = "0.37.0", path = "crates/oxc_mangler" }
oxc_minifier = { version = "0.37.0", path = "crates/oxc_minifier" }
@@ -168,6 +167,7 @@ num-bigint = "0.4.6"
num-traits = "0.2.19"
once_cell = "1.20.2"
oxc-browserslist = "1.1.0"
oxc_index = "1.0.0"
oxc_resolver = "2.0.0"
petgraph = "0.6.5"
phf = "0.11.2"
1 change: 0 additions & 1 deletion crates/oxc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -34,7 +34,6 @@ oxc_regular_expression = { workspace = true }
oxc_cfg = { workspace = true, optional = true }
oxc_codegen = { workspace = true, optional = true }
oxc_diagnostics = { workspace = true }
oxc_index = { workspace = true }
oxc_isolated_declarations = { workspace = true, optional = true }
oxc_mangler = { workspace = true, optional = true }
oxc_minifier = { workspace = true, optional = true }
8 changes: 0 additions & 8 deletions crates/oxc/src/lib.rs
Original file line number Diff line number Diff line change
@@ -30,14 +30,6 @@ pub mod diagnostics {
pub use oxc_diagnostics::*;
}

pub mod index {
//! A Vec with newtype indexing.
//!
//! See the [`oxc_index` module-level documentation](oxc_index) for more information.
#[doc(inline)]
pub use oxc_index::*;
}

pub mod parser {
//! JavaScript/TypeScript parser.
//!
74 changes: 0 additions & 74 deletions crates/oxc_index/CHANGELOG.md

This file was deleted.

28 changes: 0 additions & 28 deletions crates/oxc_index/Cargo.toml

This file was deleted.

841 changes: 0 additions & 841 deletions crates/oxc_index/src/idxslice.rs

This file was deleted.

214 changes: 0 additions & 214 deletions crates/oxc_index/src/indexing.rs

This file was deleted.

842 changes: 0 additions & 842 deletions crates/oxc_index/src/lib.rs

This file was deleted.

620 changes: 0 additions & 620 deletions crates/oxc_index/src/macros.rs

This file was deleted.

307 changes: 0 additions & 307 deletions crates/oxc_index/src/rayon_impl.rs

This file was deleted.

551 changes: 0 additions & 551 deletions crates/oxc_index/tests/test.rs

This file was deleted.