build: add libcst from crates (#7179)

Co-authored-by: Micha Reiser <micha@reiser.io>
This commit is contained in:
Manuel Martinez 2023-09-06 01:24:28 -07:00 committed by GitHub
parent 04f2842e4f
commit 2e58ad437e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

6
Cargo.lock generated
View file

@ -1281,7 +1281,8 @@ checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3"
[[package]] [[package]]
name = "libcst" name = "libcst"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/Instagram/LibCST.git?rev=9c263aa8977962a870ce2770d2aa18ee0dacb344#9c263aa8977962a870ce2770d2aa18ee0dacb344" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7773d520d4292e200ab1838f2daabe2feed7549f93b0a3c7582160a09e79ffde"
dependencies = [ dependencies = [
"chic", "chic",
"libcst_derive", "libcst_derive",
@ -1295,7 +1296,8 @@ dependencies = [
[[package]] [[package]]
name = "libcst_derive" name = "libcst_derive"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/Instagram/LibCST.git?rev=9c263aa8977962a870ce2770d2aa18ee0dacb344#9c263aa8977962a870ce2770d2aa18ee0dacb344" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "520197c50ba477f258cd7005ec5ed3a7393693ae6bec664990c7c8d9306a7c0d"
dependencies = [ dependencies = [
"quote", "quote",
"syn 1.0.109", "syn 1.0.109",

View file

@ -54,7 +54,7 @@ uuid = { version = "1.4.1", features = ["v4", "fast-rng", "macro-diagnostics", "
wsl = { version = "0.1.0" } wsl = { version = "0.1.0" }
# v1.0.1 # v1.0.1
libcst = { git = "https://github.com/Instagram/LibCST.git", rev = "9c263aa8977962a870ce2770d2aa18ee0dacb344", default-features = false } libcst = { version = "0.1.0", default-features = false }
[profile.release] [profile.release]
lto = "fat" lto = "fat"