[package] name = "noxla" version.workspace = true edition = "2021" description = "Rust bindings to XLA's C++ API" license = "MIT OR Apache-2.0" repository = "https://github.com/elodin-sys/elodin" [features] shared = [] cuda = ["shared"] [dependencies] thiserror = "1" libc = "0.2" num-traits = "0.2" num-derive = "0.4" cpp = "0.5.9" cxx = "1.0" bytemuck.version = "1.14" bytemuck.features = ["derive"] lapack-sys = "0.14.0" [target.'cfg(not(target_os = "macos"))'.dependencies] lapack-src = { version = "0.10", features = ["openblas"] } openblas-src.version = "0.10" openblas-src.features = ["system"] [target.'cfg(target_os = "macos")'.dependencies] lapack-src = { version = "0.10", features = ["accelerate"] } [build-dependencies] cc = "1.0" flate2 = "1.0.28" tar = "0.4.40" cpp_build = "0.5.9" find_cuda_helper = "0.2.0" ureq = "2.9.7" zip = "2.1.3" anyhow = "1.0.86"