Skip to content

Commit

Permalink
Add crate metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
zsol committed Sep 3, 2023
1 parent 9c263aa commit 377a292
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
10 changes: 8 additions & 2 deletions native/libcst/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ version = "0.1.0"
authors = ["LibCST Developers"]
edition = "2018"
rust-version = "1.70"
description = "A Python parser and Concrete Syntax Tree library."
license-file = "../../LICENSE"
homepage = "https://github.com/Instagram/LibCST"
documentation = "https://libcst.rtfd.org"
keywords = ["python", "cst", "ast"]
categories = ["parser-implementations"]

[lib]
name = "libcst_native"
Expand All @@ -25,7 +31,7 @@ path = "src/bin.rs"
# Once https://github.com/PyO3/pyo3/pull/1123 lands, it may be better to use
# `-Zextra-link-arg` for this instead.
default = ["py"]
py = ["pyo3","pyo3/extension-module"]
py = ["pyo3", "pyo3/extension-module"]
trace = ["peg/trace"]

[dependencies]
Expand All @@ -36,7 +42,7 @@ peg = "0.8.1"
chic = "1.2.2"
regex = "1.9.3"
memchr = "2.5.0"
libcst_derive = { path = "../libcst_derive" }
libcst_derive = { path = "../libcst_derive", version = "0.1.0" }

[dev-dependencies]
criterion = { version = "0.5.1", features = ["html_reports"] }
Expand Down
5 changes: 5 additions & 0 deletions native/libcst_derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
name = "libcst_derive"
version = "0.1.0"
edition = "2018"
description = "Proc macro helpers for libcst."
license-file = "../../LICENSE"
homepage = "https://github.com/Instagram/LibCST"
documentation = "https://libcst.rtfd.org"
keywords = ["macros", "python"]

[lib]
proc-macro = true
Expand Down

0 comments on commit 377a292

Please sign in to comment.