/
Cargo.toml
31 lines (27 loc) · 940 Bytes
/
Cargo.toml
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
# @generated by autocargo
[package]
name = "cpython_ext"
version = "0.1.0"
edition = "2021"
[dependencies]
anyhow = "1.0.51"
cpython = { version = "0.7", default-features = false }
encoding = { version = "0.1.0", path = "../encoding" }
io = { version = "0.1.0", path = "../io" }
libc = "0.2.98"
once_cell = "1.8"
parking_lot = { version = "0.12.0", features = ["send_guard"] }
python27-sys = { version = "0.7", optional = true }
python3-sys = { version = "0.7", optional = true }
serde = { version = "1.0.126", features = ["derive", "rc"] }
taggederror = { version = "0.1.0", path = "../taggederror" }
taggederror-util = { version = "0.1.0", path = "../taggederror-util" }
thiserror = "1.0.29"
types = { version = "0.1.0", path = "../types" }
[dev-dependencies]
serde_bytes = "0.11"
serde_cbor = "0.11"
[features]
default = ["python3"]
python2 = ["cpython/python27-sys", "python27-sys"]
python3 = ["cpython/python3-sys", "python3-sys"]