# 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 = "tsdl" version = "1.3.0" authors = ["Firas al-Khalil "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "A downloader/builder of many tree-sitter parsers" readme = "README.md" license = "MIT" [package.metadata.tree-sitter] repo = "https://github.com/tree-sitter/tree-sitter" version = "0.23.0" [package.metadata.tsdl] build-dir = "tmp" config = "parsers.toml" fresh = false from = "https://github.com/tree-sitter/tree-sitter-" out = "parsers" prefix = "libtree-sitter-" ref = "master" show-config = false sys = false [lib] name = "tsdl" path = "src/lib.rs" [[bin]] name = "tsdl" path = "src/main.rs" [[test]] name = "cli" path = "tests/cli.rs" [[test]] name = "config" path = "tests/config.rs" [dependencies.async-compression] version = "0.4.12" features = [ "tokio", "gzip", ] [dependencies.atty] version = "0.2" [dependencies.better-panic] version = "0.3.0" [dependencies.clap] version = "4.5" features = [ "cargo", "derive", "env", ] [dependencies.clap-verbosity-flag] version = "3.0" [dependencies.console] version = "0.15" [dependencies.derive_more] version = "1.0" features = [ "as_ref", "deref", "display", "from", "from_str", "into", ] [dependencies.diff-struct] version = "0.5" [dependencies.enum_dispatch] version = "0.3" [dependencies.figment] version = "0.10" features = [ "toml", "env", ] [dependencies.human-panic] version = "2.0.1" [dependencies.ignore] version = "0.4" [dependencies.indicatif] version = "0.17" [dependencies.log] version = "0.4" [dependencies.markdown_to_docs] version = "1.0.0" [dependencies.miette] version = "7.2.0" features = ["fancy"] [dependencies.num_cpus] version = "1.16" [dependencies.reqwest] version = "0.12.7" features = [ "http2", "rustls-tls", ] default-features = false [dependencies.self_update] version = "0.41.0" features = [ "compression-flate2", "rustls", ] default-features = false [dependencies.semver] version = "1.0.23" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.tempfile] version = "3.12.0" [dependencies.thiserror] version = "2" [dependencies.tokio] version = "1" features = [ "fs", "process", "rt-multi-thread", "sync", "time", ] [dependencies.toml] version = "0.8" [dependencies.tracing] version = "0.1" [dependencies.tracing-appender] version = "0.2" [dependencies.tracing-error] version = "0.2" [dependencies.tracing-log] version = "0.2" [dependencies.tracing-subscriber] version = "0.3" [dependencies.url] version = "2.5" [dev-dependencies.assert_cmd] version = "2.0" [dev-dependencies.assert_fs] version = "1.1" [dev-dependencies.indoc] version = "2" [dev-dependencies.predicates] version = "3.1" [dev-dependencies.pretty_assertions] version = "1.4" [dev-dependencies.rstest] version = "0.23.0" [build-dependencies.cargo_metadata] version = "0.19" [build-dependencies.const-str] version = "0.5" [build-dependencies.indoc] version = "2" [build-dependencies.serde_json] version = "1.0" [lints.clippy] missing-errors-doc = "allow" [lints.clippy.pedantic] level = "warn" priority = -1