pt/members/libpt-py/Cargo.toml

26 lines
622 B
TOML
Raw Normal View History

2024-02-28 16:30:32 +01:00
[package]
name = "libpt-py"
2024-02-29 22:22:44 +01:00
version.workspace = true
2024-02-28 22:06:55 +01:00
edition.workspace = true
[package.metadata.maturin]
name = "libpt"
2024-02-28 16:30:32 +01:00
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
2024-02-28 16:42:27 +01:00
[lib]
2024-02-28 22:06:55 +01:00
crate-type = ["cdylib", "rlib"]
2024-02-28 16:30:32 +01:00
[dependencies]
2024-02-29 22:22:44 +01:00
libpt = { version = "0.3.11", path = "../.." }
2024-03-01 20:15:16 +01:00
pyo3 = { version = "0.19.0", features = ["full"] }
anyhow.workspace = true
2024-02-29 22:22:44 +01:00
[features]
default = ["log", "core", "full"]
core = []
full = ["default", "core", "math", "log", "bintols", "net"]
math = ["libpt/math", "log"]
log = ["libpt/log"]
bintols = ["libpt/bintols", "log"]
net = ["libpt/net", "log"]