# 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 = "mdbook-treesitter" version = "1.0.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "mdbook-treesitter is an mdBook preprocessor for html adding tree-sitter highlighting support." homepage = "https://github.com/Corpauration/mdbook-treesitter" readme = "README.md" license = "MIT" repository = "https://github.com/Corpauration/mdbook-treesitter" [lib] name = "mdbook_treesitter" path = "src/lib.rs" [[bin]] name = "mdbook-treesitter" path = "src/bin/mdbook-treesitter.rs" required-features = ["cli"] [dependencies.anyhow] version = "1" [dependencies.chrono] version = "0.4.38" features = ["clock"] default-features = false [dependencies.clap] version = "4.5.21" features = [ "std", "derive", ] optional = true default-features = false [dependencies.env_logger] version = "0.11.5" optional = true [dependencies.html-escape] version = "0.2.13" [dependencies.libloading] version = "0.8.5" [dependencies.log] version = "0.4.22" [dependencies.map-macro] version = "0.3.0" [dependencies.mdbook] version = "0.4.42" default-features = false [dependencies.pulldown-cmark] version = "0.12.2" [dependencies.regex] version = "1.11.1" [dependencies.serde] version = "1.0.215" features = ["derive"] [dependencies.serde_json] version = "1.0.133" [dependencies.tree-sitter] version = "0.24.4" [dependencies.tree-sitter-highlight] version = "0.24.4" [features] cli = [ "dep:clap", "dep:env_logger", ] default = ["cli"]