# 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.85"
name = "ironclaw"
version = "0.1.3"
authors = ["NEAR AI <support@near.ai>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Secure personal AI assistant that protects your data and expands its capabilities on the fly"
homepage = "https://github.com/nearai/ironclaw"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/nearai/ironclaw"

[package.metadata.wix]
upgrade-guid = "D0156E61-BA37-451E-8AB9-1A2ECCCFA48F"
path-guid = "F90B6EA6-87F7-499B-BB19-CF55DE1EB339"
license = false
eula = false

[features]
default = []
integration = []

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

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

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

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

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

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

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

[dependencies.aes-gcm]
version = "0.10"

[dependencies.aho-corasick]
version = "1"

[dependencies.anyhow]
version = "1"

[dependencies.async-trait]
version = "0.1"

[dependencies.axum]
version = "0.8"
features = ["ws"]

[dependencies.base64]
version = "0.22.1"

[dependencies.blake3]
version = "1"

[dependencies.bollard]
version = "0.18"

[dependencies.bytes]
version = "1"

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

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
]

[dependencies.cron]
version = "0.13"

[dependencies.crossterm]
version = "0.28"

[dependencies.deadpool-postgres]
version = "0.14"

[dependencies.dirs]
version = "6"

[dependencies.dotenvy]
version = "0.15"

[dependencies.fs4]
version = "0.6"

[dependencies.futures]
version = "0.3"

[dependencies.hkdf]
version = "0.12"

[dependencies.http-body-util]
version = "0.1"

[dependencies.hyper]
version = "1.5"
features = [
    "server",
    "http1",
    "http2",
]

[dependencies.hyper-util]
version = "0.1"
features = [
    "server",
    "tokio",
    "http1",
    "http2",
]

[dependencies.mime_guess]
version = "2.0.5"

[dependencies.open]
version = "5"

[dependencies.pgvector]
version = "0.4"
features = ["postgres"]

[dependencies.postgres-types]
version = "0.2"
features = ["with-serde_json-1"]

[dependencies.rand]
version = "0.8"

[dependencies.refinery]
version = "0.8"
features = ["tokio-postgres"]

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
    "stream",
]
default-features = false

[dependencies.rig-core]
version = "0.30"

[dependencies.rust_decimal]
version = "1"
features = [
    "serde",
    "serde-with-str",
    "db-tokio-postgres",
    "maths",
]

[dependencies.rust_decimal_macros]
version = "1"

[dependencies.rustyline]
version = "17"
features = [
    "derive",
    "with-file-history",
]

[dependencies.secrecy]
version = "0.10"
features = ["serde"]

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.termimad]
version = "0.34"

[dependencies.thiserror]
version = "2"

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

[dependencies.tokio-postgres]
version = "0.7"
features = [
    "with-uuid-1",
    "with-chrono-0_4",
    "with-serde_json-1",
]

[dependencies.tokio-stream]
version = "0.1"
features = ["sync"]

[dependencies.tower]
version = "0.5"

[dependencies.tower-http]
version = "0.6"
features = [
    "trace",
    "cors",
]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "json",
]

[dependencies.urlencoding]
version = "2"

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "serde",
]

[dependencies.wasmparser]
version = "0.220"

[dependencies.wasmtime]
version = "28"
features = ["component-model"]

[dependencies.wasmtime-wasi]
version = "28"

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

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

[dev-dependencies.testcontainers-modules]
version = "0.11"
features = ["postgres"]

[dev-dependencies.tokio-test]
version = "0.4"

[dev-dependencies.tokio-tungstenite]
version = "0.26"

[target.'cfg(target_os = "linux")'.dependencies.secret-service]
version = "4"
features = ["rt-tokio-crypto-rust"]

[target.'cfg(target_os = "linux")'.dependencies.zbus]
version = "4"

[target.'cfg(target_os = "macos")'.dependencies.security-framework]
version = "3"

[profile.dist]
lto = "thin"
inherits = "release"
