[package]
name = "mizan-rust"
version = "0.1.0"
edition = "2021"
description = "Mizan client kernel — Rust port of @mizan/base. Context registry, fetch/call, merge, invalidation, error envelope parsing. Same wire as the TS / Vue / Svelte clients."
license = "Elastic-2.0"

[features]
default = []
pyo3 = ["dep:pyo3", "dep:pythonize"]

[dependencies]
tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync", "time", "io-util", "io-std"] }
tokio-util = "0.7"
reqwest = { version = "0.12", default-features = false, features = ["json", "cookies", "rustls-tls"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_urlencoded = "0.7"

pyo3 = { version = "0.22", optional = true, features = ["extension-module", "abi3-py311"] }
pythonize = { version = "0.22", optional = true }

[dev-dependencies]
tokio = { version = "1", features = ["full"] }
