usestd::{collections::HashMap,path::PathBuf};/// Specification for building a rock with the `treesitter-parser` build backend
#[derive(Debug, PartialEq, Default, Clone)]pubstructTreesitter{/// Name of the parser language, e.g. "haskell"
publang: String,
/// Won't build the parser if `false`
/// (useful for packages that only include queries)
pubparser:bool,
/// Must the sources be generated?
pubgenerate:bool,
/// tree-sitter grammar's location (relative to the source root)
publocation:Option<PathBuf>,
/// Embedded queries to be installed in the `etc/queries` directory
pubqueries:HashMap<PathBuf, String>,
}