# 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 = "indusagi-core"
version = "0.1.0"
authors = ["Varun Israni"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-cutting primitives every indusagi crate depends on: cancellation, env registry, brand, locator, canonical-JSON, version, ids, errors, re-iterable channel."
homepage = "https://github.com/varunisrani/indusagi-rust"
readme = "README.md"
keywords = [
    "ai",
    "llm",
    "agent",
    "tui",
    "cli",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/varunisrani/indusagi-rust"

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

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

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

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

[dependencies.async-stream]
version = "0.3"

[dependencies.futures]
version = "0.3"

[dependencies.hex]
version = "0.4"

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

[dependencies.serde_json]
version = "1"
features = ["preserve_order"]

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

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

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

[dependencies.tokio-util]
version = "0.7.18"
features = ["rt"]

[dependencies.ulid]
version = "1.2.1"

[dev-dependencies.criterion]
version = "0.5"
features = ["cargo_bench_support"]
default-features = false

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