# 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.65.0" name = "function-grep" version = "0.1.1" description = "find functions in files, powered by tree sitter" readme = "README.md" keywords = [ "tree-sitter", "function", ] categories = ["tools"] license = "MIT" repository = "https://github.com/mendelsshop/git_function_history/tree/main/function-grep" [[example]] name = "function-grep" path = "examples/main.rs" [dependencies.tree-sitter] version = "0.20.10" [dependencies.tree-sitter-c] version = "0.20.8" optional = true [dependencies.tree-sitter-java] version = "0.20.2" optional = true [dependencies.tree-sitter-ocaml] version = "0.20.4" optional = true [dependencies.tree-sitter-python] version = "0.20.4" optional = true [dependencies.tree-sitter-rust] version = "0.20.4" optional = true [dev-dependencies.clap] version = "4.5.2" features = ["derive"] [features] c = ["dep:tree-sitter-c"] default = [ "rust", "python", "c", "ocaml", "java", ] java = ["dep:tree-sitter-java"] ocaml = ["dep:tree-sitter-ocaml"] python = ["dep:tree-sitter-python"] rust = ["dep:tree-sitter-rust"]