File: drop-unnecessary-feature

package info (click to toggle)
rust-libcst 0.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 968 kB
  • sloc: python: 895; makefile: 2
file content (24 lines) | stat: -rw-r--r-- 493 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Index: libcst/Cargo.toml
===================================================================
--- libcst.orig/Cargo.toml
+++ libcst/Cargo.toml
@@ -59,7 +59,7 @@ version = "0.8.1"
 
 [dependencies.pyo3]
 version = ">=0.17"
-optional = true
+features = ["extension-module"]
 
 [dependencies.regex]
 version = "1.7.3"
@@ -81,9 +81,5 @@ version = "0.10.0"
 version = "1.7.0"
 
 [features]
-default = ["py"]
-py = [
-    "pyo3",
-    "pyo3/extension-module",
-]
+default = []
 trace = ["peg/trace"]