[package]
name = "hubro-sdk"
version = "1.0.2"
description = "Hubro Platform SDK crate"
license = "Apache-2.0"
edition = "2024"
rust-version = "1.93.0"

[dependencies]
#fhirbolt = { version = "0.4.0", features = ["r4b"] }
#http = "0.2"
#pkce = { version = "0.2.0", features = ["js"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.142"
chrono = "0.4.41"
spin-sdk = "5.2.0"
anyhow = "1.0.83"
bytes = "1.6.0"
jwt-compact = "0.8.0"
getrandom = { version = "0.2.15" }
wasip1 = "1.0.0"
rand = { version = "0.9", features = ["small_rng", "std"] }
burn = { version = "0.21.0", default-features = false, features = ["flex"] }
linfa = "0.8.1"
linfa-clustering = "0.8.1"
linfa-logistic = "0.8.1"
ndarray = "0.16"
polars = { version = "0.49.1", default-features=false, features = [
    "lazy",
    "strings",
    "temporal",
    "dtype-date",
    "dtype-datetime"
]}
bincode = "2.0.1"
ml-kem = {version =  "0.3.2", features = ["getrandom"] }
ml-dsa = "0.1.0"
chacha20poly1305-nostd = "0.1.0"
wit-bindgen = "0.58.0"
#hubro-sdk-macros = {version =  "1.0.0",  path = "./hubro-sdk-macros" }
hubro-sdk-macros = { version =  "1.0.0" }

[target.'cfg(not(all(target_os = "wasi", target_env = "p2")))'.dependencies]
tfhe = { version = "1.6.1", default-features = false, features = ["boolean", "shortint", "integer", "__wasm_api"] }
#tfhe = { version = "1.6.1", default-features = false, features = ["boolean", "shortint", "integer", "__wasm_api"]] }


[lib]
crate-type = ["cdylib", "lib"]

[features]
server = []
mobile = []