[[bin]]
name = "sapling"
path = "src/cli.rs"
required-features = ["cli"]
[dependencies.facet]
version = "0.30.0"
[dependencies.facet-args]
optional = true
version = "0.30.0"
[dependencies.facet-json]
version = "0.30.0"
[dev-dependencies.assert_cmd]
version = "2.1.1"
[dev-dependencies.predicates]
version = "3.1.3"
[dev-dependencies.tempfile]
version = "3.23.0"
[features]
cli = ["dep:facet-args"]
[lib]
name = "sapling"
path = "src/lib.rs"
[lints.clippy]
all = "deny"
cargo = "deny"
pedantic = "deny"
[lints.rust]
missing_docs = "deny"
unsafe_code = "forbid"
[package]
authors = ["Louis Maddox <louismmx@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["command-line-utilities", "development-tools"]
description = "Rust-native tree-sitter"
documentation = "https://docs.rs/sapling/"
edition = "2021"
homepage = "https://github.com/lmmx/sapling"
keywords = ["parser", "syntax", "tree-sitter"]
license = "MIT"
name = "sapling"
readme = "README.md"
repository = "https://github.com/lmmx/sapling"
rust-version = "1.90"
version = "0.1.0"
[package.metadata.binstall]
pkg-fmt = "tgz"
pkg-url = "https://github.com/lmmx/sapling/releases/download/sapling-v{ version }/sapling-{ target }-v{ version }.tar.gz"
[package.metadata.binstall.overrides.aarch64-pc-windows-msvc]
pkg-fmt = "zip"
pkg-url = "https://github.com/lmmx/sapling/releases/download/sapling-v{ version }/sapling-aarch64-pc-windows-msvc-v{ version }.zip"
[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-fmt = "zip"
pkg-url = "https://github.com/lmmx/sapling/releases/download/sapling-v{ version }/sapling-x86_64-pc-windows-msvc-v{ version }.zip"
[package.metadata.cargo-machete]
ignored = []
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[test]]
name = "cli_help"
path = "tests/cli_help.rs"
[[test]]
name = "cli_integration"
path = "tests/cli_integration.rs"
[[test]]
name = "doctest_examples"
path = "tests/doctest_examples.rs"