[package] name = "code-blocks-server" version = "0.6.0" edition = "2021" authors = ["Tom Selfin selfint@gmail.com"] description = "A tool to re-order your code" readme = "README.md" repository = "https://github.com/selfint/code-blocks" license = "MIT" keywords = ["refactor", "tree-sitter", "static-analysis"] categories = [ "command-line-utilities", "development-tools", "parsing", "text-editors", ] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] anyhow = "1.0.69" code-blocks = { path = "../code-blocks", version = "0.3.0" } tree-sitter-installer = { path = "../tree-sitter-installer", version = "0.2.0" } serde = { version = "1.0.152", features = ["derive"] } serde_json = { version = "1.0.93", optional = true } tree-sitter = "0.20.9" [dev-dependencies] insta = { version = "1.26.0", features = ["json"] } tempfile = "3.4.0" tree-sitter-rust = "0.20.3" tree-sitter-python = "0.20.2" tree-sitter-typescript = "0.20.2" [features] cli = ["serde_json"] [[bin]] name = "code-blocks-cli" required-features = ["cli"]