Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CICD: new workflow #2167

Merged
merged 3 commits into from Apr 4, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Prev Previous commit
Next Next commit
cargo: specify minimum supported Rust version
  • Loading branch information
ahlinc committed Apr 4, 2023
commit da894afef59e1aefa23470c7db7445096f8f0e65
5 changes: 4 additions & 1 deletion Cargo.toml
@@ -1,7 +1,10 @@
[workspace]
default-members = ["cli"]

members = ["cli", "lib"]
resolver = "2"

[workspace.package]
rust-version = "1.65"

[profile.release]
strip = true
1 change: 1 addition & 0 deletions cli/Cargo.toml
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions cli/config/Cargo.toml
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions cli/loader/Cargo.toml
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions cli/src/tests/proc_macro/Cargo.toml
Expand Up @@ -3,6 +3,7 @@ name = "proc_macro"
version = "0.1.0"
edition = "2021"
publish = false
rust-version.workspace = true

[lib]
proc-macro = true
Expand Down
1 change: 1 addition & 0 deletions highlight/Cargo.toml
Expand Up @@ -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"]
Expand Down
1 change: 1 addition & 0 deletions lib/Cargo.toml
Expand Up @@ -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"

Expand Down
1 change: 1 addition & 0 deletions tags/Cargo.toml
Expand Up @@ -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"]
Expand Down