build: move common Cargo.toml keys into the workspace and inherit them

This commit is contained in:
Amaan Qureshi 2024-02-14 14:10:51 -05:00
parent d989b26587
commit d80d101e34
8 changed files with 61 additions and 48 deletions

View file

@ -4,7 +4,14 @@ members = ["cli", "cli/config", "cli/loader", "lib", "tags", "highlight"]
resolver = "2"
[workspace.package]
authors = ["Max Brunsfeld <maxbrunsfeld@gmail.com>"]
edition = "2021"
rust-version = "1.70"
homepage = "https://tree-sitter.github.io/tree-sitter"
repository = "https://github.com/tree-sitter/tree-sitter"
license = "MIT"
keywords = ["incremental", "parsing"]
categories = ["command-line-utilities", "parsing"]
[profile.optimize]
inherits = "release"