cargo: specify minimum supported Rust version
This commit is contained in:
parent
cc4f932d17
commit
da894afef5
8 changed files with 11 additions and 1 deletions
|
|
@ -1,7 +1,10 @@
|
|||
[workspace]
|
||||
default-members = ["cli"]
|
||||
|
||||
members = ["cli", "lib"]
|
||||
resolver = "2"
|
||||
|
||||
[workspace.package]
|
||||
rust-version = "1.65"
|
||||
|
||||
[profile.release]
|
||||
strip = true
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ readme = "README.md"
|
|||
keywords = ["incremental", "parsing"]
|
||||
categories = ["command-line-utilities", "parsing"]
|
||||
repository = "https://github.com/tree-sitter/tree-sitter"
|
||||
rust-version.workspace = true
|
||||
|
||||
[[bin]]
|
||||
name = "tree-sitter"
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ readme = "README.md"
|
|||
keywords = ["incremental", "parsing"]
|
||||
categories = ["command-line-utilities", "parsing"]
|
||||
repository = "https://github.com/tree-sitter/tree-sitter"
|
||||
rust-version.workspace = true
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0"
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ readme = "README.md"
|
|||
keywords = ["incremental", "parsing"]
|
||||
categories = ["command-line-utilities", "parsing"]
|
||||
repository = "https://github.com/tree-sitter/tree-sitter"
|
||||
rust-version.workspace = true
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0"
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ name = "proc_macro"
|
|||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
publish = false
|
||||
rust-version.workspace = true
|
||||
|
||||
[lib]
|
||||
proc-macro = true
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ edition = "2018"
|
|||
keywords = ["incremental", "parsing", "syntax", "highlighting"]
|
||||
categories = ["parsing", "text-editors"]
|
||||
repository = "https://github.com/tree-sitter/tree-sitter"
|
||||
rust-version.workspace = true
|
||||
|
||||
[lib]
|
||||
crate-type = ["lib", "staticlib"]
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ readme = "binding_rust/README.md"
|
|||
keywords = ["incremental", "parsing"]
|
||||
categories = ["api-bindings", "parsing", "text-editors"]
|
||||
repository = "https://github.com/tree-sitter/tree-sitter"
|
||||
rust-version.workspace = true
|
||||
|
||||
build = "binding_rust/build.rs"
|
||||
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ edition = "2018"
|
|||
keywords = ["incremental", "parsing", "syntax", "tagging"]
|
||||
categories = ["parsing", "text-editors"]
|
||||
repository = "https://github.com/tree-sitter/tree-sitter"
|
||||
rust-version.workspace = true
|
||||
|
||||
[lib]
|
||||
crate-type = ["lib", "staticlib"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue