# 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"
name = "elicitation"
version = "0.4.1"
authors = ["crumplecup"]
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"]
default = []
jiff = ["dep:jiff"]
serde_json = []
time = ["dep:time"]

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

[[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 = "custom_style"
path = "examples/custom_style.rs"

[[example]]
name = "duration"
path = "examples/duration.rs"

[[example]]
name = "enums"
path = "examples/enums.rs"

[[example]]
name = "network"
path = "examples/network.rs"

[[example]]
name = "pathbuf"
path = "examples/pathbuf.rs"

[[example]]
name = "phase3_test"
path = "examples/phase3_test.rs"

[[example]]
name = "phase4_auto_selection"
path = "examples/phase4_auto_selection.rs"

[[example]]
name = "phase5_builder"
path = "examples/phase5_builder.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"

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

[[test]]
name = "collections_test"
path = "tests/collections_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 = "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 = "smart_pointers_test"
path = "tests/smart_pointers_test.rs"

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

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

[dependencies.chrono]
version = "0.4"
optional = true

[dependencies.derive-getters]
version = "0.5"

[dependencies.derive_more]
version = "2"
features = [
    "display",
    "error",
    "from",
]

[dependencies.elicitation_derive]
version = "0.4.1"

[dependencies.jiff]
version = "0.1"
optional = true

[dependencies.paste]
version = "1.0"

[dependencies.rmcp]
version = "0.13"
features = [
    "client",
    "transport-io",
]

[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"

[dev-dependencies.tokio-test]
version = "0.4"

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
