# 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"
rust-version = "1.80"
name = "juglans"
version = "0.2.15"
authors = ["Juglans Team"]
build = "build.rs"
exclude = [
    "docs/",
    "examples/",
    ".github/",
    "stdlib/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "juglans"
description = "Compiler and runtime for Juglans Workflow Language"
homepage = "https://juglans.ai"
documentation = "https://docs.juglans.dev"
readme = "README.md"
keywords = [
    "workflow",
    "ai",
    "agent",
    "dsl",
    "orchestration",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/juglans-ai/juglans"

[features]
cli = []
default = [
    "native",
    "device",
    "cli",
]
device = [
    "dep:enigo",
    "dep:rdev",
    "dep:xcap",
]
native = []

[lib]
name = "juglans"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[bin]]
name = "juglans"
path = "src/main.rs"
required-features = [
    "native",
    "cli",
]

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

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

[[bench]]
name = "class_perf"
path = "benches/class_perf.rs"
harness = false

[dependencies.anyhow]
version = "1.0"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.futures]
version = "0.3"

[dependencies.glob]
version = "0.3"

[dependencies.json-patch]
version = "1.2"

[dependencies.lazy_static]
version = "1.4"

[dependencies.parking_lot]
version = "0.12"

[dependencies.pest]
version = "2.7"

[dependencies.pest_derive]
version = "2.7"

[dependencies.petgraph]
version = "0.6"

[dependencies.regex]
version = "1.10"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1.0"
features = [
    "v4",
    "v5",
    "serde",
    "js",
]

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.aes]
version = "0.8"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.arboard]
version = "3"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.async-openai]
version = "0.23"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.async-stream]
version = "0.3"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.async-trait]
version = "0.1"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.axum]
version = "0.7"
features = ["multipart"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.base64]
version = "0.22"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.clap]
version = "4.4"
features = ["derive"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.cron]
version = "0.15"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.crossterm]
version = "0.28"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.dashmap]
version = "6"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.dotenvy]
version = "0.15"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.ecb]
version = "0.1"
features = ["alloc"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.enigo]
version = "0.3"
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.eventsource-stream]
version = "0.2"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.flate2]
version = "1.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.hex]
version = "0.4"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.include_dir]
version = "0.7"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.md-5]
version = "0.10"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.notify]
version = "7"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.pathdiff]
version = "0.2"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.qrcode]
version = "0.14"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rand]
version = "0.9"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.ratatui]
version = "0.29"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rdev]
version = "0.5"
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "stream",
    "rustls-tls",
    "multipart",
]
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rusqlite]
version = "0.32"
features = ["bundled"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.semver]
version = "1.0"
features = ["serde"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.sha2]
version = "0.10"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.sqlx]
version = "0.8.1"
features = [
    "runtime-tokio-rustls",
    "postgres",
    "sqlite",
    "mysql",
    "any",
    "json",
    "chrono",
    "uuid",
]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tar]
version = "0.4"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.termimad]
version = "0.30"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.thiserror]
version = "1.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1.0"
features = ["full"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio-stream]
version = "0.1"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.toml]
version = "0.8"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tower-http]
version = "0.5"
features = [
    "cors",
    "trace",
]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tower-lsp]
version = "0.20"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tui-textarea]
version = "0.7"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.unicode-width]
version = "0.2"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.urlencoding]
version = "2"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.xcap]
version = "0.8"
optional = true

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.2"
features = ["js"]

[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3"

[target.'cfg(target_arch = "wasm32")'.dependencies.serde-wasm-bindgen]
version = "0.6"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4"
