Skip to content

Commit

Permalink
Add a Cargo file
Browse files Browse the repository at this point in the history
Summary: Means it can be built open source.

Reviewed By: davidbarsky

Differential Revision: D66600255

fbshipit-source-id: 0d73694d97481a6cbbede0ed7d1dbf9cd318e7ce
  • Loading branch information
ndmitchell authored and facebook-github-bot committed Nov 29, 2024
1 parent 7de8384 commit 974c4be
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions pyre2/pyre2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Mostly generated by autocargo from //tools/pyre/pyre2/pyre2:pyre2

[package]
name = "pyre2"
version = "0.0.0"
authors = ["Meta"]
edition = "2021"
repository = "https://github.com/facebook/pyre-check/tree/main/pyre2"
license = "MIT"

[[bin]]
name = "pyre2"
path = "bin/main.rs"

[dependencies]
anyhow = "1.0.86"
clap = { version = "4.5.20", features = ["derive", "env", "string", "unicode", "wrap_help"] }
equivalent = "1.0"
human_bytes = "0.4.3"
itertools = "0.13.0"
lsp-server = "0.7.2"
lsp-types = "0.94.1"
memory-stats = "1.0.0"
ordered-float = { version = "3.7", features = ["serde"] }
parse-display = "0.8.2"
pathdiff = "0.2"
rayon = "1.9.0"
regex = "1.9.2"
ruff_python_ast = { git = "https://github.com/astral-sh/ruff/", rev = "2d2baeca23abe98a400bf4be03e6ab9315cf4bbe" }
ruff_python_parser = { git = "https://github.com/astral-sh/ruff/", rev = "2d2baeca23abe98a400bf4be03e6ab9315cf4bbe" }
ruff_source_file = { git = "https://github.com/astral-sh/ruff/", rev = "2d2baeca23abe98a400bf4be03e6ab9315cf4bbe" }
ruff_text_size = { git = "https://github.com/astral-sh/ruff/", rev = "2d2baeca23abe98a400bf4be03e6ab9315cf4bbe" }
serde = { version = "1.0.185", features = ["derive", "rc"] }
serde_json = { version = "1.0.132", features = ["float_roundtrip", "unbounded_depth"] }
thiserror = "2"
tracing = { version = "0.1.40", features = ["attributes", "valuable"] }
tracing-subscriber = { version = "0.3.18", features = ["chrono", "env-filter", "json", "local-time", "parking_lot", "registry"] }
vec1 = { version = "1", features = ["serde"] }

# Manually added after running `autocargo`
dupe = "0.9.0"
starlark_map = { git = "https://github.com/facebook/starlark-rust", rev = "b85d97275cff7e6265564f5106626e6c74b7ec75" }
static_interner = "0.1.1"

0 comments on commit 974c4be

Please sign in to comment.