# 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 = "diffsitter" version = "0.8.4" authors = ["Afnan Enayet "] build = "build.rs" include = [ "src/**/*", "LICENSE", "README.md", "grammars/**/*.c", "grammars/**/*.cc", "grammars/**/*.cpp", "grammars/**/*.h", "grammars/**/*.hpp", "build.rs", "!**/*.png", "!**/test/**/*", "!**/*_test.*", "!**/examples/**/*", "!**/target/**/*", "!assets/*", ] autobins = false autoexamples = false autotests = false autobenches = false default-run = "diffsitter" description = "An AST based difftool for meaningful diffs" homepage = "https://github.com/afnanenayet/diffsitter" readme = "README.md" keywords = [ "diff", "ast", "difftool", ] categories = ["command-line-utilities"] license = "MIT" repository = "https://github.com/afnanenayet/diffsitter" [profile.production] lto = true codegen-units = 1 inherits = "release" strip = true [profile.profiling] debug = 2 inherits = "release" strip = false [lib] name = "libdiffsitter" path = "src/lib.rs" [[bin]] name = "diffsitter" path = "src/bin/diffsitter.rs" [[bin]] name = "diffsitter-utils" path = "src/bin/diffsitter_utils.rs" [[bin]] name = "diffsitter_completions" path = "src/bin/diffsitter_completions.rs" [dependencies.anyhow] version = "1.0.86" features = ["backtrace"] [dependencies.clap] version = "4.5.15" features = [ "derive", "env", "unicode", "wrap_help", ] [dependencies.clap_complete] version = "4.5.16" [dependencies.console] version = "0.15.8" [dependencies.enum_dispatch] version = "0.3.13" [dependencies.human-panic] version = "2.0.1" [dependencies.jemallocator] version = "0.5.4" optional = true [dependencies.json5] version = "0.4.1" [dependencies.lazy_static] version = "1.5.0" optional = true [dependencies.libloading] version = "0.8.5" [dependencies.log] version = "0.4.22" features = ["std"] [dependencies.logging_timer] version = "1.1.1" [dependencies.phf] version = "0.11.2" features = ["macros"] [dependencies.pretty_env_logger] version = "0.5.0" [dependencies.serde] version = "1.0.207" features = ["derive"] [dependencies.serde_json] version = "1.0.124" [dependencies.shadow-rs] version = "0.29.0" optional = true [dependencies.strum] version = "0.26.3" features = ["derive"] [dependencies.strum_macros] version = "0.26.4" [dependencies.thiserror] version = "1.0.63" [dependencies.tree-sitter] version = "0.22.6" [dependencies.unicode-segmentation] version = "1.11.0" [dev-dependencies.insta] version = "1.39.0" [dev-dependencies.mockall] version = "0.12.1" [dev-dependencies.pretty_assertions] version = "1.4.0" [dev-dependencies.test-case] version = "3.3.1" [build-dependencies.anyhow] version = "1.0.86" [build-dependencies.cargo-emit] version = "0.2.1" [build-dependencies.cc] version = "1.1.11" features = ["parallel"] [build-dependencies.phf] version = "0.11.2" features = ["macros"] [build-dependencies.rayon] version = "1.10.0" [build-dependencies.shadow-rs] version = "0.29.0" optional = true [build-dependencies.thiserror] version = "1.0.63" [features] better-build-info = ["shadow-rs"] default = ["static-grammar-libs"] dynamic-grammar-libs = [] static-grammar-libs = ["lazy_static"] [target.'cfg(not(target_os = "windows"))'.dependencies.xdg] version = "2.5.2" [target.'cfg(target_os = "windows")'.dependencies.directories-next] version = "2.0.0"