src2md 0.1.8

Turn source code into a Markdown document with syntax highlighting, or extract it back.
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"
rust-version = "1.85"
name = "src2md"
version = "0.1.8"
authors = ["Matias Hiltunen <https://github.com/MatiasHiltunen>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Turn source code into a Markdown document with syntax highlighting, or extract it back."
homepage = "https://github.com/MatiasHiltunen/src2md"
documentation = "https://docs.rs/src2md"
readme = "README.md"
keywords = [
    "markdown",
    "cli",
    "code",
    "extract",
    "docs",
]
categories = [
    "command-line-utilities",
    "development-tools",
    "text-processing",
]
license = "MIT"
repository = "https://github.com/MatiasHiltunen/src2md"

[features]
default = [
    "restore",
    "git",
    "mdbook",
]
git = [
    "dep:git2",
    "dep:tempfile",
]
mdbook = []
restore = [
    "dep:regex",
    "dep:once_cell",
]

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

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

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

[dependencies.anyhow]
version = "1.0.100"

[dependencies.chrono]
version = "0.4.42"

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

[dependencies.content_inspector]
version = "0.2"

[dependencies.env_logger]
version = "0.11.8"

[dependencies.git2]
version = "0.20"
features = ["vendored-openssl"]
optional = true

[dependencies.ignore]
version = "0.4.25"

[dependencies.log]
version = "0.4.29"

[dependencies.memmap2]
version = "0.9.9"

[dependencies.once_cell]
version = "1.21"
optional = true

[dependencies.regex]
version = "1.12.2"
optional = true

[dependencies.tempfile]
version = "3.24.0"
optional = true

[dependencies.tokio]
version = "1.49.0"
features = [
    "fs",
    "io-util",
    "macros",
    "rt-multi-thread",
]

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