# 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 = "literate" version = "0.5.1" authors = ["Miguel D. Salcedo "] description = "A literate programming tool that extracts code written in your Markdown files." homepage = "https://github.com/misalcedo/literate-rs" documentation = "https://docs.rs/literate" license = "Apache-2.0" repository = "https://github.com/misalcedo/literate-rs" resolver = "2" [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] [profile.release] lto = true debug = true [[bin]] name = "literate" path = "bin/main.rs" required-features = ["cli"] [dependencies.anyhow] version = "1.0" optional = true [dependencies.clap] version = "3.0" features = ["derive"] optional = true [dependencies.pulldown-cmark] version = "0.9" [dependencies.regex] version = "1.5" [dependencies.thiserror] version = "1.0" [dependencies.tracing] version = "0.1" [dependencies.tracing-subscriber] version = "0.3" optional = true [dependencies.walkdir] version = "2.3.2" optional = true [features] cli = ["anyhow", "clap", "tracing-subscriber", "walk"] default = [] walk = ["walkdir"]