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

feat: Add rust implementation of Yarn3+ lockfile #4589

Merged
Merged
Show file tree
Hide file tree
Changes from 27 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
b563977
add turborepo ffi crate
arlyon Jan 25, 2023
1f884c1
add turborepo ffi go module
arlyon Jan 25, 2023
6a51720
add license to turborepo-ffi
arlyon Jan 30, 2023
e4fdc1c
add windows link statements
arlyon Jan 30, 2023
35afe66
make make targets PHONY
arlyon Feb 2, 2023
db2b1f3
allow dead code for into_proto
arlyon Feb 2, 2023
425ff57
add first pass of Rust npm lockfile
chris-olszewski Feb 1, 2023
f831a6c
add subgraph implementation
chris-olszewski Feb 1, 2023
c85dfd7
add ffi bindings for npm lockfile
chris-olszewski Feb 3, 2023
859ac2a
support go and rust codepath
chris-olszewski Feb 10, 2023
385878e
fix lints
chris-olszewski Feb 10, 2023
5d9dd90
add serde support for berry
chris-olszewski Feb 25, 2023
fbec0bd
sync lockfile
chris-olszewski Mar 27, 2023
1f11c12
add various parse functions
chris-olszewski Mar 27, 2023
3a140b9
add decoding logic
chris-olszewski Apr 3, 2023
821bdff
add resolution parser
chris-olszewski Apr 5, 2023
4181293
add resolution aware package resolve
chris-olszewski Apr 6, 2023
76d0133
add subgraph impl to berry
chris-olszewski Apr 11, 2023
98efadd
fix compilation issue
chris-olszewski Apr 11, 2023
9ae06cc
add descriptor resolver
chris-olszewski Apr 14, 2023
4aeed29
finish porting tests
chris-olszewski Apr 14, 2023
c480bf9
add additional tests, fix comments
chris-olszewski Apr 14, 2023
48da577
remove old todo
chris-olszewski Apr 14, 2023
30ab9c9
Merge branch 'main' into chrisolszewski/turbo-805-port-yarn2-lockfile…
chris-olszewski Apr 14, 2023
22f9ee0
remove some frustration
chris-olszewski Apr 14, 2023
e5949e6
Merge branch 'main' into chrisolszewski/turbo-805-port-yarn2-lockfile…
chris-olszewski Apr 18, 2023
d001065
pr feedback
chris-olszewski Apr 19, 2023
c3a271b
drop lazy static
chris-olszewski Apr 20, 2023
394fee0
use split_once
chris-olszewski Apr 21, 2023
58b0353
cherry pick fix and additional tests
chris-olszewski Apr 21, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 7 additions & 0 deletions Cargo.lock

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

9 changes: 9 additions & 0 deletions crates/turborepo-lockfiles/Cargo.toml
Expand Up @@ -7,6 +7,15 @@ license = "MPL-2.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
lazy_static = "1.4.0"
pest = "2.5.6"
pest_derive = "2.5.6"
regex = "1"
semver = "1.0.17"
serde = { version = "1.0.126", features = ["derive"] }
serde_json = "1.0.86"
serde_yaml = "0.9"
thiserror = "1.0.38"

[dev-dependencies]
pretty_assertions = "1.3"