# 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 = "2021"
name = "sen"
version = "0.6.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Script to System CLI Engine - A type-safe, macro-powered CLI framework"
readme = "README.md"
keywords = [
    "cli",
    "framework",
    "macro",
    "routing",
]
categories = [
    "command-line-interface",
    "development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ynishi/sen-rs"

[features]
build-info = ["dep:built"]
clap = ["dep:clap"]
default = [
    "build-info",
    "tracing",
    "sensors",
]
mcp = [
    "dep:jsonrpc-core",
    "dep:futures",
]
sensors = ["dep:chrono"]
tracing = [
    "dep:tracing",
    "dep:tracing-subscriber",
]
unstable-clap-tests = []

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

[dependencies.built]
version = "0.7"
features = [
    "chrono",
    "git2",
]
optional = true

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

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
]
optional = true

[dependencies.futures]
version = "0.3"
optional = true

[dependencies.jsonrpc-core]
version = "18.0"
optional = true

[dependencies.sen-rs-macros]
version = "0.6.0"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

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

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

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "fmt",
    "json",
]
optional = true

[dev-dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
]

[build-dependencies.built]
version = "0.7"
features = [
    "chrono",
    "git2",
]
