File: Cargo.toml

package info (click to toggle)
python-libcst 1.8.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,240 kB
  • sloc: python: 78,096; makefile: 15; sh: 2
file content (55 lines) | stat: -rw-r--r-- 1,458 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

[package]
name = "libcst"
version = "1.8.6"
authors = ["LibCST Developers"]
edition = "2018"
rust-version = "1.70"
description = "A Python parser and Concrete Syntax Tree library."
license = "MIT AND (MIT AND PSF-2.0)"
repository = "https://github.com/Instagram/LibCST"
documentation = "https://libcst.rtfd.org"
keywords = ["python", "cst", "ast"]
categories = ["parser-implementations"]

[lib]
name = "libcst_native"
crate-type = ["cdylib", "rlib"]

[[bin]]
name = "parse"
path = "src/bin.rs"

[features]
# This is a bit of a hack, since `cargo test` doesn't work with `extension-module`.
# To run tests, use `cargo test --no-default-features`.
#
# 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"]
trace = ["peg/trace"]

[dependencies]
paste = "1.0.15"
pyo3 = { version = "0.27", optional = true }
thiserror = "2.0.12"
peg = "0.8.5"
annotate-snippets = "0.11.5"
regex = "1.11.2"
memchr = "2.7.4"
libcst_derive = { path = "../libcst_derive", version = "1.8.6" }

[dev-dependencies]
criterion = { version = "0.5.1", features = ["html_reports"] }
difference = "2.0.0"
rayon = "1.11.0"
itertools = "0.13.0"

[[bench]]
name = "parser_benchmark"
harness = false