[workspace] members = ["examples/*"] [package] name = "astrai" description = "A pretty bad neural network library" license = "MIT" version = "2.2.0" edition = "2021" repository = "https://git.gay/astro/astrai" [dependencies] indicatif = { version = "0.17.8", features = ["rayon"] } itertools = "0.13.0" rand = "0.8.5" rand_distr = "0.4.3" strum = { version = "0.26.3", features = ["strum_macros"] } strum_macros = "0.26.4" colored = "2.1.0" dyn-clone = "1.0.17" ndarray = { version = "0.16.1" } profiling = { version = "1.0.15"} astrolib = "0.1.6" serde = { version = "1.0.210", features = ["derive"], optional = true} serde_json = { version = "1.0.128", optional = true} [dev-dependencies] criterion = "0.5.1" blas-src = { version = "0.10"} [target.'cfg(target_os = "macos")'.dev-dependencies] blas-src = { version = "0.10", features = ["accelerate"] } accelerate-src = { version = "0.3.2" } [target.'cfg(target_os = "windows")'.dev-dependencies] blas-src = { version = "0.10", features = ["openblas"] } openblas-src = { version = "0.10.9", features = ["cblas", "system"] } [features] default = ["blas", "serde"] blas = ["ndarray/blas"] serde = ["dep:serde", "dep:serde_json", "ndarray/serde"] profile-with-tracy = ["profiling/profile-with-tracy"] [[bench]] name = "activate" harness = false