[package] name = "genius-core-client" description = "Genius Core Client Library. Written in Rust and using PyO3 for Python bindings." license = "Apache-2.0" version = "0.5.0-rc.1" edition = "2021" exclude = ["docs/DEVELOPERS.md"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [lib] name = "genius_core_client" crate-type = ["rlib", "cdylib"] [dependencies] async-once-cell = "0.5.3" base64 = "0.21.5" jsonwebtoken = "9.2.0" kortex_gen_grpc = { version = "=1.11.8", features = ["hstp-v1"] } lazy_static = "1.4.0" nanoid = "0.4.0" reqwest = { version = "0.11.23", default-features = false, features = [ "rustls-tls", ] } serde = { version = "1.0.193", features = ["derive"] } serde_json = "1.0.108" tokio-stream = "0.1.14" tonic = "0.10.2" # Make sure to visit https://pyo3.rs/v0.20.3/ for docs # As Pyo3 has been updated to version 0.21+ but # as of time of writing, pyo3-asyncio is not compatible with the latest version pyo3 = { version = "^0.21.2", features = ["extension-module", "gil-refs"] } # pyo3-asyncio = { version = "^0.20", features = ["tokio-runtime"] } pyo3-asyncio-0-21 = { version = "0.21.0", features = [ "tokio-runtime", "attributes", ] } tokio = { version = "1.9", features = ["time", "rt-multi-thread"] } once_cell = "1.19.0" napi = { version = "2", features = ["tokio_rt", "serde-json"] } napi-derive = "2" ndarray = { version = "0.15.6" } urlencoding = "2.1.3" [dev-dependencies] # pyo3 = { version = "0.20", features = ["extension-module"] } cucumber = "0.21.0" mockito = "1.4.0" regex = "1.10.5" tokio = { version = "1.10", features = ["macros", "rt-multi-thread", "time"] } [build-dependencies] pyo3-build-config = "^0.21.0" napi-build = "2" [features] default = ["pyo3"] pyo3 = [] extension-module = ["pyo3/extension-module"] napi = [] js = [] experimental = [] [tool.maturin] exclude = ["docs/DEVELOPERS.md"]