# 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 = "2018" rust-version = "1.62.1" name = "comrak" version = "0.29.0" authors = ["Asherah Connor "] build = false exclude = [ "/hooks/*", "/script/*", "/vendor/*", "/.travis.yml", "/Makefile", "/spec_out.txt", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A 100% CommonMark-compatible GitHub Flavored Markdown parser and formatter" homepage = "https://github.com/kivikakk/comrak" documentation = "https://docs.rs/comrak" readme = "README.md" keywords = [ "markdown", "commonmark", ] categories = [ "text-processing", "parsing", "command-line-utilities", ] license = "BSD-2-Clause" repository = "https://github.com/kivikakk/comrak" resolver = "2" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [profile.release] lto = true [lib] name = "comrak" path = "src/lib.rs" [[bin]] name = "comrak" path = "src/main.rs" doc = false required-features = [ "cli", "syntect", ] [[example]] name = "custom_headings" path = "examples/custom_headings.rs" [[example]] name = "headers" path = "examples/headers.rs" [[example]] name = "iterator_replace" path = "examples/iterator_replace.rs" [[example]] name = "s-expr" path = "examples/s-expr.rs" [[example]] name = "sample" path = "examples/sample.rs" [[example]] name = "syntax_highlighter" path = "examples/syntax_highlighter.rs" [[example]] name = "syntect" path = "examples/syntect.rs" [[example]] name = "traverse_demo" path = "examples/traverse_demo.rs" [[example]] name = "update-readme" path = "examples/update-readme.rs" [[bench]] name = "progit" path = "benches/progit.rs" [dependencies.arbitrary] version = "1" features = ["derive"] optional = true [dependencies.caseless] version = "0.2.1" [dependencies.derive_builder] version = "0.20.0" [dependencies.emojis] version = "0.6.2" optional = true [dependencies.entities] version = "1.0.1" [dependencies.memchr] version = "2" [dependencies.once_cell] version = "1.19.0" [dependencies.regex] version = "1" [dependencies.shell-words] version = "1.0" optional = true [dependencies.slug] version = "0.1.4" [dependencies.typed-arena] version = "2.0.2" [dependencies.unicode_categories] version = "0.1.1" [dev-dependencies.ntest] version = "0.9" [dev-dependencies.toml] version = "0.7.3" [features] cli = [ "clap", "shell-words", "xdg", ] default = [ "cli", "syntect", ] shortcodes = ["emojis"] [target.'cfg(all(not(windows), not(target_arch="wasm32")))'.dependencies.xdg] version = "^2.5" optional = true [target.'cfg(not(target_arch="wasm32"))'.dependencies.clap] version = "4.0" features = [ "derive", "string", "wrap_help", ] optional = true [target.'cfg(not(target_arch="wasm32"))'.dependencies.syntect] version = "5.0" features = [ "default-themes", "default-syntaxes", "html", "regex-onig", ] optional = true default-features = false [target.'cfg(target_arch="wasm32")'.dependencies.clap] version = "4.0.32" features = [ "derive", "string", ] optional = true [target.'cfg(target_arch="wasm32")'.dependencies.syntect] version = "5.0" features = ["default-fancy"] optional = true default-features = false