# 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 = "asimov" version = "0.1.8" description = "Asimov is a library for building high performance LLM-powered applications." license = "MIT" [lib] crate-type = [ "lib", "cdylib", ] [[example]] name = "simple" path = "examples/simple.rs" [[example]] name = "structured" path = "examples/structured.rs" [[example]] name = "structured_streaming" path = "examples/structured_streaming.rs" [[example]] name = "simple_fewshot" path = "examples/simple_fewshot.rs" [[example]] name = "streaming" path = "examples/streaming.rs" [[example]] name = "simple_chain" path = "examples/simple_chain.rs" [dependencies.anyhow] version = "1.0.75" [dependencies.asimov_derive] version = "0.1.1" [dependencies.async-openai] version = "0.19.0" optional = true [dependencies.async-stream] version = "0.3.5" [dependencies.async-trait] version = "0.1.74" [dependencies.derive_builder] version = "0.20.0" [dependencies.derive_more] version = "0.99.17" [dependencies.futures] version = "0.3.17" [dependencies.getrandom] version = "0.2" features = ["js"] [dependencies.hora] version = "0.1.1" [dependencies.json-stream] version = "0.1.1" [dependencies.parking_lot] version = "0.12.1" [dependencies.qdrant-client] version = "1.8.0" optional = true [dependencies.repair_json] version = "0.1.0" [dependencies.reqwest] version = "0.11" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.strum] version = "0.26.1" [dependencies.strum_macros] version = "0.26.1" [dependencies.tera] version = "1.19.1" [dependencies.thiserror] version = "1.0.50" [dependencies.tiktoken-rs] version = "0.5.7" [dependencies.tracing] version = "0.1.40" [dependencies.twox-hash] version = "1.6.3" [dependencies.typed-builder] version = "0.18.0" [dependencies.uuid] version = "1.7.0" features = [ "serde", "v4", ] [dev-dependencies.dotenvy] version = "0.15.7" [dev-dependencies.rand] version = "0.8.4" [dev-dependencies.tokio] version = "1" features = [ "rt", "macros", ] [features] full = [ "openai", "qdrant", ] openai = ["dep:async-openai"] qdrant = ["dep:qdrant-client"] [target."cfg(not(target_env = \"msvc\"))".dev-dependencies.lazy_static] version = "1.4.0" [target."cfg(not(target_env = \"msvc\"))".dev-dependencies.tokio] version = "1" features = ["rt-multi-thread"]