[package] name = "topiary-core" description = "Formats input source code in a style defined for that language." categories = ["development-tools", "text-processing"] keywords = ["code-formatter", "formatter", "text", "tree-sitter"] version.workspace = true edition.workspace = true authors.workspace = true homepage.workspace = true repository.workspace = true documentation.workspace = true readme.workspace = true license.workspace = true [dependencies] itertools = { workspace = true } log = { workspace = true } pretty_assertions = { workspace = true } prettydiff = { workspace = true } serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true } topiary-tree-sitter-facade = { workspace = true } tokio = { workspace = true, features = ["macros", "rt"] } [target.'cfg(target_arch = "wasm32")'.dependencies] futures = { workspace = true } topiary-web-tree-sitter-sys.workspace = true [dev-dependencies] criterion = { workspace = true, features = ["async_futures"] } env_logger = { workspace = true } test-log = { workspace = true } tree-sitter-json.workspace = true tree-sitter-ocaml.workspace = true tokio-test = { workspace = true } [[bench]] name = "benchmark" harness = false