# 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 = "0.1.1" 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.clap] version = "4.2.1" features = [ "std", "derive", ] optional = true default_features = false [dependencies.html-escape] version = "0.2.13" [dependencies.libloading] version = "0.7" [dependencies.map-macro] version = "0.2.5" [dependencies.mdbook] version = "0.4.28" [dependencies.pulldown-cmark] version = "0.9.2" [dependencies.regex] version = "1.7.3" [dependencies.serde] version = "1.0.159" features = ["derive"] [dependencies.serde_json] version = "1.0.95" [dependencies.tree-sitter] version = "0.20" [dependencies.tree-sitter-highlight] version = "0.20.1" [features] cli = ["clap"] default = ["cli"]