[package]
edition = "2024"
rust-version = "1.98"
name = "guideme"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Type-safe inline judgments from TypeSafe Jev: if / match / score as Rust primitives"
readme = "README.md"
keywords = [
"typesafe",
"llm",
"ai",
"judgment",
"tracing",
]
categories = [
"api-bindings",
"asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/pedro-pscunha/guideme-rust"
[lib]
name = "guideme"
path = "src/lib.rs"
[[bin]]
name = "guideme-spec"
path = "src/bin/spec.rs"
[[test]]
name = "batch"
path = "tests/batch.rs"
[[test]]
name = "derive"
path = "tests/derive.rs"
[[test]]
name = "live"
path = "tests/live.rs"
[[test]]
name = "policy"
path = "tests/policy.rs"
[[test]]
name = "redaction"
path = "tests/redaction.rs"
[[test]]
name = "rubric"
path = "tests/rubric.rs"
[[test]]
name = "spec"
path = "tests/spec.rs"
[[test]]
name = "tracing"
path = "tests/tracing.rs"
[[test]]
name = "wire"
path = "tests/wire.rs"
[dependencies.guideme-derive]
version = "0.2.0"
[dependencies.reqwest]
version = "0.13"
features = [
"rustls",
"json",
"http2",
"charset",
]
default-features = false
[dependencies.schemars]
version = "1.2"
features = ["derive"]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.53"
features = ["time"]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.proptest]
version = "1.11"
[dev-dependencies.tokio]
version = "1.53"
features = [
"time",
"rt-multi-thread",
"macros",
]
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
"registry",
"env-filter",
"fmt",
]
[dev-dependencies.trybuild]
version = "1.0"
[dev-dependencies.wiremock]
version = "0.6"
[lints.clippy]
dbg_macro = "deny"
doc_markdown = "allow"
expect_used = "deny"
missing_errors_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
panic = "deny"
return_self_not_must_use = "allow"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "deny"
unsafe_code = "forbid"