[package]
edition = "2024"
name = "elicitation"
version = "0.8.0"
authors = ["Erik Rose <erik.w.rose@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Conversational elicitation of strongly-typed Rust values via MCP"
homepage = "https://github.com/crumplecup/elicitation"
documentation = "https://docs.rs/elicitation"
readme = "README.md"
keywords = [
"mcp",
"llm",
"elicitation",
"types",
"async",
]
categories = [
"development-tools",
"asynchronous",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/crumplecup/elicitation"
resolver = "2"
[features]
api = []
chrono = ["dep:chrono"]
cli = [
"clap",
"csv",
"chrono",
]
default = ["full"]
dev = [
"full",
"cli",
]
full = [
"chrono",
"time",
"jiff",
"uuid",
"url",
"regex",
"rand",
]
jiff = ["dep:jiff"]
kani-verifier = []
rand = [
"dep:rand",
"dep:rand_chacha",
]
regex = ["dep:regex"]
serde_json = []
time = ["dep:time"]
url = ["dep:url"]
uuid = ["dep:uuid"]
verification = []
verify-all = [
"verify-kani",
"verify-creusot",
"verify-prusti",
"verify-verus",
]
verify-creusot = ["verification"]
verify-kani = ["verification"]
verify-prusti = [
"verification",
"prusti-contracts",
]
verify-verus = ["verification"]
[lib]
name = "elicitation"
path = "src/lib.rs"
[[bin]]
name = "elicitation"
path = "src/main.rs"
required-features = ["cli"]
[[example]]
name = "arrays"
path = "examples/arrays.rs"
[[example]]
name = "collections"
path = "examples/collections.rs"
[[example]]
name = "complex_survey"
path = "examples/complex_survey.rs"
[[example]]
name = "compositional_verification"
path = "examples/compositional_verification.rs"
[[example]]
name = "contracts_basic"
path = "examples/contracts_basic.rs"
[[example]]
name = "contracts_composition"
path = "examples/contracts_composition.rs"
[[example]]
name = "contracts_tools"
path = "examples/contracts_tools.rs"
[[example]]
name = "creusot_example"
path = "examples/creusot_example.rs"
[[example]]
name = "custom_style"
path = "examples/custom_style.rs"
[[example]]
name = "duration"
path = "examples/duration.rs"
[[example]]
name = "dynamic_choices"
path = "examples/dynamic_choices.rs"
[[example]]
name = "enums"
path = "examples/enums.rs"
[[example]]
name = "kani_example"
path = "examples/kani_example.rs"
[[example]]
name = "mechanism_contracts_poc"
path = "examples/mechanism_contracts_poc.rs"
[[example]]
name = "network"
path = "examples/network.rs"
[[example]]
name = "observability_introspection"
path = "examples/observability_introspection.rs"
[[example]]
name = "pathbuf"
path = "examples/pathbuf.rs"
[[example]]
name = "result"
path = "examples/result.rs"
[[example]]
name = "simple_types"
path = "examples/simple_types.rs"
[[example]]
name = "smart_pointers"
path = "examples/smart_pointers.rs"
[[example]]
name = "structs"
path = "examples/structs.rs"
[[example]]
name = "tuples"
path = "examples/tuples.rs"
[[example]]
name = "verification_creusot_example"
path = "examples/verification_creusot_example.rs"
[[example]]
name = "verification_demo"
path = "examples/verification_demo.rs"
[[example]]
name = "verification_kani_example"
path = "examples/verification_kani_example.rs"
[[example]]
name = "verification_multi_example"
path = "examples/verification_multi_example.rs"
[[example]]
name = "verification_prusti_example"
path = "examples/verification_prusti_example.rs"
[[example]]
name = "verification_verus_example"
path = "examples/verification_verus_example.rs"
[[test]]
name = "array_test"
path = "tests/array_test.rs"
[[test]]
name = "canary_rmcp_integration"
path = "tests/canary_rmcp_integration.rs"
[[test]]
name = "collections_choice_set_test"
path = "tests/collections_choice_set_test.rs"
[[test]]
name = "collections_test"
path = "tests/collections_test.rs"
[[test]]
name = "composition_systematic_test"
path = "tests/composition_systematic_test.rs"
[[test]]
name = "contracts_integration_test"
path = "tests/contracts_integration_test.rs"
[[test]]
name = "datetime_chrono_test"
path = "tests/datetime_chrono_test.rs"
[[test]]
name = "datetime_jiff_test"
path = "tests/datetime_jiff_test.rs"
[[test]]
name = "datetime_time_test"
path = "tests/datetime_time_test.rs"
[[test]]
name = "duration_test"
path = "tests/duration_test.rs"
[[test]]
name = "elicit_router_test"
path = "tests/elicit_router_test.rs"
[[test]]
name = "elicit_tools_macro_test"
path = "tests/elicit_tools_macro_test.rs"
[[test]]
name = "elicit_tools_proc_macro_test"
path = "tests/elicit_tools_proc_macro_test.rs"
[[test]]
name = "enum_tool_wrapper_test"
path = "tests/enum_tool_wrapper_test.rs"
[[test]]
name = "enum_verification_test"
path = "tests/enum_verification_test.rs"
[[test]]
name = "feature_gated_elicit_checked_test"
path = "tests/feature_gated_elicit_checked_test.rs"
[[test]]
name = "filter_test"
path = "tests/filter_test.rs"
[[test]]
name = "integers_test"
path = "tests/integers_test.rs"
[[test]]
name = "manual_elicit_test"
path = "tests/manual_elicit_test.rs"
[[test]]
name = "network_test"
path = "tests/network_test.rs"
[[test]]
name = "pathbuf_test"
path = "tests/pathbuf_test.rs"
[[test]]
name = "result_test"
path = "tests/result_test.rs"
[[test]]
name = "rmcp_minimal_test"
path = "tests/rmcp_minimal_test.rs"
[[test]]
name = "rmcp_peer_pattern_test"
path = "tests/rmcp_peer_pattern_test.rs"
[[test]]
name = "smart_pointers_test"
path = "tests/smart_pointers_test.rs"
[[test]]
name = "string_style_test"
path = "tests/string_style_test.rs"
[[test]]
name = "test_tool_registration"
path = "tests/test_tool_registration.rs"
[[test]]
name = "tool_discovery_test"
path = "tests/tool_discovery_test.rs"
[[test]]
name = "tool_integration_test"
path = "tests/tool_integration_test.rs"
[[test]]
name = "trait_tools_test"
path = "tests/trait_tools_test.rs"
[[test]]
name = "tuples_test"
path = "tests/tuples_test.rs"
[[test]]
name = "uuid_test"
path = "tests/uuid_test.rs"
[[test]]
name = "value_test"
path = "tests/value_test.rs"
[[test]]
name = "verification_codegen_test"
path = "tests/verification_codegen_test.rs"
[[test]]
name = "verification_coverage_test"
path = "tests/verification_coverage_test.rs"
[[test]]
name = "verification_integration_test"
path = "tests/verification_integration_test.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.async-trait]
version = "0.1"
[dependencies.chrono]
version = "0.4"
optional = true
[dependencies.clap]
version = "4"
features = ["derive"]
optional = true
[dependencies.creusot-std]
version = "0.9.0"
[dependencies.csv]
version = "1.3"
optional = true
[dependencies.derive-getters]
version = "0.5"
[dependencies.derive_more]
version = "2"
features = [
"display",
"error",
"from",
]
[dependencies.elicitation_derive]
version = "0.8.0"
[dependencies.elicitation_macros]
version = "0.8.0"
[dependencies.inventory]
version = "0.3"
[dependencies.jiff]
version = "0.2"
optional = true
[dependencies.paste]
version = "1.0"
[dependencies.prusti-contracts]
version = "0.2"
optional = true
[dependencies.rand]
version = "0.10"
optional = true
[dependencies.rand_chacha]
version = "0.10"
optional = true
[dependencies.regex]
version = "1.12"
optional = true
[dependencies.rmcp]
version = "0.15"
features = [
"client",
"transport-io",
"schemars",
"elicitation",
]
[dependencies.schemars]
version = "1"
features = ["derive"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.time]
version = "0.3"
features = [
"parsing",
"formatting",
"macros",
]
optional = true
[dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"io-std",
]
[dependencies.tracing]
version = "0.1"
[dependencies.url]
version = "2.5"
optional = true
[dependencies.uuid]
version = "1.0"
features = [
"v4",
"serde",
]
optional = true
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[dev-dependencies.tokio-test]
version = "0.4"
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dev-dependencies.uuid]
version = "1.0"
features = [
"v4",
"serde",
]
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(kani)",
"cfg(prusti)",
"cfg(creusot)",
"cfg(verus)",
]