# 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.56.0" name = "mdx-gen" version = "0.0.1" build = "build.rs" exclude = [ "/.git/*", "/.github/*", "/.gitignore", "/.vscode/*", ] autobins = false autoexamples = false autotests = false autobenches = false description = """ A robust Rust library for processing Markdown and converting it to HTML with support for custom blocks, enhanced table formatting, and flexible configuration options. """ homepage = "https://mdxgen.com/" documentation = "https://mdxgen.com/documentation/index.html" readme = "README.md" keywords = [ "markdown", "html", "generator", "mdx-gen", "static", ] categories = [ "command-line-utilities", "data-structures", "text-processing", "parsing", "development-tools", ] license = "MIT OR Apache-2.0" repository = "https://github.com/sebastienrousseau/mdx-gen" [profile.bench] debug = 2 [lib] name = "mdx_gen" path = "src/lib.rs" [[example]] name = "basic_conversion_examples" path = "examples/basic_conversion_examples.rs" [[example]] name = "error_examples" path = "examples/error_examples.rs" [[example]] name = "examples" path = "examples/examples.rs" [[example]] name = "extensions_examples" path = "examples/extensions_examples.rs" [[example]] name = "lib_examples" path = "examples/lib_examples.rs" [[example]] name = "markdown_examples" path = "examples/markdown_examples.rs" [[test]] name = "test_advanced_integration" path = "tests/test_advanced_integration.rs" [[test]] name = "test_error" path = "tests/test_error.rs" [[test]] name = "test_extensions" path = "tests/test_extensions.rs" [[test]] name = "test_integration" path = "tests/test_integration.rs" [[test]] name = "test_lib" path = "tests/test_lib.rs" [[test]] name = "test_markdown" path = "tests/test_markdown.rs" [[bench]] name = "markdown_benchmark" path = "benches/markdown_benchmark.rs" harness = false [dependencies.anyhow] version = "1.0" [dependencies.comrak] version = "0.28" [dependencies.env_logger] version = "0.11" [dependencies.html-escape] version = "0.2" [dependencies.lazy_static] version = "1.5" [dependencies.log] version = "0.4" [dependencies.regex] version = "1.11" [dependencies.serde] version = "1.0.202" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.serde_yml] version = "0.0.12" optional = true [dependencies.syntect] version = "5.2" optional = true [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1.40" features = ["full"] [dependencies.toml] version = "^0.8" [dev-dependencies.assert_fs] version = "1.1" [dev-dependencies.criterion] version = "0.5" [dev-dependencies.predicates] version = "3.1" [dev-dependencies.tempfile] version = "3.13" [build-dependencies.version_check] version = "0.9" [features] custom_blocks = [] default = [ "syntax_highlighting", "custom_blocks", "enhanced_tables", ] enhanced_tables = [] syntax_highlighting = ["syntect"] yaml_support = ["serde_yml"]