# 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"
rust-version = "1.95"
name = "italic"
version = "0.2.1"
authors = ["Gordon Brander"]
build = false
exclude = [
    "plan.md",
    "spec.md",
    "TODO.md",
    "docs/",
    ".github/",
    ".claude/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A static site generator for creatives"
homepage = "https://github.com/gordonbrander/italic"
documentation = "https://docs.rs/italic"
readme = "README.md"
keywords = [
    "static-site",
    "ssg",
    "markdown",
    "blog",
    "digital-garden",
]
categories = [
    "command-line-utilities",
    "web-programming",
    "text-processing",
]
license = "AGPL-3.0-or-later"
repository = "https://github.com/gordonbrander/italic"

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.bytes]
version = "1"

[dependencies.chrono]
version = "0.4"
features = [
    "serde",
    "clock",
]
default-features = false

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

[dependencies.comrak]
version = "0.52"
features = ["syntect"]

[dependencies.globset]
version = "0.4"

[dependencies.http-body-util]
version = "0.1"

[dependencies.hyper]
version = "1"
features = [
    "server",
    "http1",
]

[dependencies.hyper-util]
version = "0.1"
features = ["tokio"]

[dependencies.notify-debouncer-mini]
version = "0.4"

[dependencies.rayon]
version = "1"

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

[dependencies.serde_yaml_ng]
version = "0.10"

[dependencies.slug]
version = "0.1"

[dependencies.tera]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "net",
    "sync",
]

[dependencies.tokio-stream]
version = "0.1"
features = ["sync"]

[dependencies.tower]
version = "0.5"
features = ["util"]

[dependencies.tower-http]
version = "0.6"
features = ["fs"]

[dependencies.walkdir]
version = "2"

[dev-dependencies.insta]
version = "1"

[profile.release]
lto = "thin"
codegen-units = 1
