logcut 0.2.0

Local-first stacktrace & runtime log slicer for AI coding agents and terminal pipelines
Documentation
# 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 = "logcut"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Local-first stacktrace & runtime log slicer for AI coding agents and terminal pipelines"
documentation = "https://docs.rs/logcut"
readme = "README.md"
keywords = [
    "mcp",
    "logs",
    "stacktrace",
    "debugging",
    "cli",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT OR Apache-2.0"

[features]
cli = ["dep:reqwest"]
default = [
    "cli",
    "mcp",
]
mcp = ["dep:rmcp"]

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

[[bin]]
name = "logcut"
path = "src/main.rs"

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

[dependencies.anyhow]
version = "1.0"

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "env",
]

[dependencies.regex]
version = "1.11"

[dependencies.reqwest]
version = "0.13"
features = ["json"]
optional = true

[dependencies.rmcp]
version = "3.9"
features = [
    "server",
    "macros",
    "transport-io",
]
optional = true

[dependencies.schemars]
version = "1.0"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "io-std",
    "io-util",
    "process",
]

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.tempfile]
version = "3.15"