lingshu-core 0.10.0

Agent core: conversation loop, prompt builder, context compression, model routing
# 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.97.0"
name = "lingshu-core"
version = "0.10.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Agent core: conversation loop, prompt builder, context compression, model routing"
readme = "README.md"
license = "Apache-2.0"
resolver = "2"

[features]
bedrock-model-discovery = [
    "dep:aws-config",
    "dep:aws-sdk-bedrock",
]
default = ["bedrock-model-discovery"]

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

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

[dependencies.aws-config]
version = "1.8.15"
features = ["behavior-version-latest"]
optional = true

[dependencies.aws-sdk-bedrock]
version = "1.140.0"
optional = true

[dependencies.base64]
version = "0.22"

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

[dependencies.dirs]
version = "5"

[dependencies.dotenvy]
version = "0.15"

[dependencies.edgequake-llm]
version = "0.6.25"
features = ["bedrock"]

[dependencies.futures]
version = "0.3"

[dependencies.lingshu-embedding]
version = "0.10.0"

[dependencies.lingshu-lsp]
version = "0.10.0"

[dependencies.lingshu-plugins]
version = "0.10.0"

[dependencies.lingshu-security]
version = "0.10.0"

[dependencies.lingshu-state]
version = "0.10.0"

[dependencies.lingshu-tools]
version = "0.10.0"

[dependencies.lingshu-types]
version = "0.10.0"

[dependencies.regex]
version = "1"

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

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yml]
version = "0.9.42"
package = "serde_norway"

[dependencies.sha2]
version = "0.10"

[dependencies.subtle]
version = "2"

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

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

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2"

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

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

[dev-dependencies.mockall]
version = "0.13"

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

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