[package] name = "python" version = "0.1.0" edition = "2024" license = "AGPL-3.0-only" [lib] name = "swactor" crate-type = ["cdylib"] [features] # Builds the in-process debug data-plane host and contextual-process probe # used by the Python bootstrap tests (`cargo xtask python-test` compiles the # wheel with this feature). Off for normal debug and release builds so the # Python module never exposes test-only APIs. test-host = [] [dependencies] swactor = { path = "../../.." } swactor-engine = { path = "../../engine", features = ["tokio"] } swactor-process = { path = "../../process" } swactor-process-context = { path = "../../process-context" } swactor-transport = { path = "../../transport" } data-plane = { path = "../../data-plane" } distribution = { path = "../../distribution" } iroh-driver = { path = "../../iroh-driver" } libc = "0.2" futures-lite = "2" iroh.workspace = true parking_lot = "0.12" serde_json = "1" pyo3 = { version = "0.23", features = ["extension-module", "abi3-py312"] } pyo3-async-runtimes = { version = "0.23", features = ["tokio-runtime"] } tokio.workspace = true [lints] workspace = true