# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "glowrs" version = "0.4.1" exclude = ["tests/fixtures/*"] description = "SentenceTransformers for candle-rs" homepage = "https://github.com/wdoppenberg/glowrs" documentation = "https://docs.rs/glowrs/" readme = "README.md" keywords = [ "candle", "ai", "deep-learning", "embeddings", "openai", ] license = "Apache-2.0" repository = "https://github.com/wdoppenberg/glowrs" [dependencies.candle-core] version = "0.4.1" [dependencies.candle-nn] version = "0.4.1" [dependencies.candle-transformers] version = "0.4.1" [dependencies.clap] version = "4.5.4" features = ["derive"] [dependencies.hf-hub] version = "0.3.2" features = ["tokio"] [dependencies.once_cell] version = "1.19.0" [dependencies.serde] version = "1.0.183" features = ["derive"] [dependencies.serde_json] version = "1.0.111" [dependencies.thiserror] version = "1.0.56" [dependencies.tokenizers] version = "0.19.1" [dependencies.tracing] version = "0.1.37" [dependencies.uuid] version = "1.6.1" features = ["v4"] [dev-dependencies.approx] version = "0.5.1" [dev-dependencies.dirs] version = "5.0.1" [dev-dependencies.tempfile] version = "3.10.1" [dev-dependencies.tracing-chrome] version = "0.7.2" [dev-dependencies.tracing-subscriber] version = "0.3.18" features = ["env-filter"] [features] accelerate = [ "candle-core/accelerate", "candle-nn/accelerate", "candle-transformers/accelerate", ] cuda = [ "candle-core/cuda", "candle-nn/cuda", "candle-transformers/cuda", ] default = [] metal = [ "candle-core/metal", "candle-nn/metal", "candle-transformers/metal", ]