# 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"
rust-version = "1.82.0"
name = "mdlive"
version = "2.3.11"
authors = [
    "Jose Fernandez <me@jrfernandez.com>",
    "Bryan Grimes",
]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Markdown workspace server for AI coding agents"
readme = "README.md"
license = "MIT"
repository = "https://github.com/bearded-giant/mdlive"

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.axum]
version = "0.7.9"
features = ["ws"]

[dependencies.clap]
version = "4.5.45"
features = ["derive"]

[dependencies.csv]
version = "1.3"

[dependencies.dirs]
version = "6"

[dependencies.futures-util]
version = "0.3"

[dependencies.markdown]
version = "1.0"

[dependencies.minijinja]
version = "2.12.0"
features = ["json"]

[dependencies.minijinja-embed]
version = "2.12.0"
default-features = false

[dependencies.notify]
version = "8.2.0"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.tokio]
version = "1.0"
features = [
    "rt-multi-thread",
    "macros",
    "net",
    "fs",
    "time",
]

[dependencies.toml]
version = "0.8"

[dependencies.tower]
version = "0.5.2"

[dependencies.tower-http]
version = "0.6.6"
features = [
    "fs",
    "cors",
]

[dev-dependencies.axum-test]
version = "16.0"
features = ["ws"]

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

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

[build-dependencies.minijinja-embed]
version = "2.12.0"
default-features = false

[profile.dev]
debug = "line-tables-only"

[profile.dev.package."*"]
debug = 0

[profile.release]
lto = true
codegen-units = 1
strip = true
