# 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"
rust-version = "1.96"
name = "eclaw"
version = "0.0.11"
authors = ["Aris Ripandi <aris@duck.com>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Personal AI assistant powered by Elph"
homepage = "https://elph.space"
readme = "README.md"
keywords = [
    "ai",
    "assistant",
    "cli",
    "elph",
    "personal",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/riipandi/elph"
resolver = "2"

[features]
default = ["web"]
headless = []
web = ["dep:rust-embed"]

[[bin]]
name = "eclaw"
path = "src/main.rs"

[[test]]
name = "cli"
path = "tests/cli.rs"

[[test]]
name = "smoke"
path = "tests/smoke.rs"

[dependencies.axum]
version = "0.8.8"

[dependencies.chrono]
version = "0.4.45"
features = [
    "clock",
    "std",
]
default-features = false

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.elph-agent]
version = "^0.0.11"

[dependencies.rust-embed]
version = "8.9.0"
optional = true

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.150"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "rt",
    "sync",
    "macros",
    "time",
    "net",
    "signal",
    "macros",
    "net",
    "rt",
    "signal",
]

[dependencies.tower-http]
version = "0.7.0"
features = [
    "catch-panic",
    "fs",
    "trace",
]

[dependencies.turso]
version = "0.6.1"

[dev-dependencies.tempfile]
version = "3.27.0"

[dev-dependencies.tower]
version = "0.5.2"
features = ["util"]
