[package]
edition = "2024"
rust-version = "1.97"
name = "locode-provider"
version = "0.1.17"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Provider trait and API wires (Anthropic Messages, OpenAI Responses) for the locode coding agent"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/Luolc/locode-core"
resolver = "2"
[lib]
name = "locode_provider"
path = "src/lib.rs"
[[test]]
name = "anthropic_live_smoke"
path = "tests/anthropic_live_smoke.rs"
[[test]]
name = "anthropic_parse"
path = "tests/anthropic_parse.rs"
[[test]]
name = "anthropic_provider"
path = "tests/anthropic_provider.rs"
[[test]]
name = "anthropic_request_shape"
path = "tests/anthropic_request_shape.rs"
[[test]]
name = "responses_live_smoke"
path = "tests/responses_live_smoke.rs"
[[test]]
name = "responses_parse"
path = "tests/responses_parse.rs"
[[test]]
name = "responses_provider"
path = "tests/responses_provider.rs"
[[test]]
name = "responses_request_shape"
path = "tests/responses_request_shape.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.locode-protocol]
version = "0.1.17"
[dependencies.rand]
version = "0.9"
[dependencies.reqwest]
version = "0.13"
features = [
"rustls",
"json",
"http2",
"stream",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = ["time"]
[dependencies.tokio-stream]
version = "0.1"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt",
]
[lints.clippy]
dbg_macro = "deny"
expect_used = "deny"
print_stderr = "deny"
print_stdout = "deny"
unwrap_used = "deny"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"
unused_must_use = "deny"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1