# 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 = "2024"
name = "artificial"
version = "0.4.2"
authors = ["Marc Riegel <mail@mrcrgl.de>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Typed, provider-agnostic prompt-engineering SDK for Rust"
readme = "README.md"
keywords = [
    "ai",
    "openai",
    "prompt-engineering",
    "json-schema",
    "typed",
]
categories = [
    "api-bindings",
    "development-tools",
    "text-processing",
]
license = "MIT"
repository = "https://github.com/mrcrgl/artificial-rs"

[features]
default = ["openai"]
openai = ["dep:artificial-openai"]

[lib]
name = "artificial"
path = "src/lib.rs"

[[example]]
name = "openai_advice"
path = "examples/openai_advice.rs"

[[example]]
name = "openai_capture_memory"
path = "examples/openai_capture_memory.rs"

[[example]]
name = "openai_chat_complete"
path = "examples/openai_chat_complete.rs"

[[example]]
name = "openai_chat_stream"
path = "examples/openai_chat_stream.rs"

[[example]]
name = "openai_chat_stream_tools"
path = "examples/openai_chat_stream_tools.rs"

[[example]]
name = "openai_hello_world"
path = "examples/openai_hello_world.rs"

[[example]]
name = "openai_tool_weather"
path = "examples/openai_tool_weather.rs"

[dependencies.artificial-core]
version = "0.4.2"

[dependencies.artificial-openai]
version = "0.4.2"
optional = true

[dependencies.artificial-prompt]
version = "0.4.2"

[dependencies.artificial-types]
version = "0.4.2"

[dev-dependencies.anyhow]
version = "1"

[dev-dependencies.futures-util]
version = "0.3"

[dev-dependencies.schemars]
version = "0.8.22"
features = [
    "chrono",
    "url",
    "uuid",
    "derive_json_schema",
    "raw_value",
]

[dev-dependencies.serde]
version = "1.0.219"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.serde_yaml]
version = "0.9.34"

[dev-dependencies.tokio]
version = "1"
features = ["full"]
