Unnamed repository; edit this file 'description' to name the repository.
build(deps): bump bitflags from 1.3.2 to 2.6.0
Bumps [bitflags](https://github.com/bitflags/bitflags) from 1.3.2 to 2.6.0. - [Release notes](https://github.com/bitflags/bitflags/releases) - [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md) - [Commits](https://github.com/bitflags/bitflags/compare/1.3.2...2.6.0) --- updated-dependencies: - dependency-name: bitflags dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
dependabot[bot] 2024-08-07
parent b8c968f · commit 6d123aa
-rw-r--r--Cargo.lock2
-rw-r--r--helix-lsp-types/Cargo.toml2
-rw-r--r--helix-lsp-types/src/lib.rs1
3 files changed, 3 insertions, 2 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 7dd90c45..aebe9fd2 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1405,7 +1405,7 @@ dependencies = [
name = "helix-lsp-types"
version = "0.95.1"
dependencies = [
- "bitflags 1.3.2",
+ "bitflags 2.6.0",
"serde",
"serde_json",
"serde_repr",
diff --git a/helix-lsp-types/Cargo.toml b/helix-lsp-types/Cargo.toml
index 18cc8b14..48c21929 100644
--- a/helix-lsp-types/Cargo.toml
+++ b/helix-lsp-types/Cargo.toml
@@ -21,7 +21,7 @@ keywords = ["language", "server", "lsp", "vscode", "lsif"]
license = "MIT"
[dependencies]
-bitflags = "1.0.1"
+bitflags = "2.6.0"
serde = { version = "1.0.34", features = ["derive"] }
serde_json = "1.0.50"
serde_repr = "0.1"
diff --git a/helix-lsp-types/src/lib.rs b/helix-lsp-types/src/lib.rs
index 68d58704..3ea1c0cd 100644
--- a/helix-lsp-types/src/lib.rs
+++ b/helix-lsp-types/src/lib.rs
@@ -2495,6 +2495,7 @@ pub struct RelativePattern {
pub type Pattern = String;
bitflags! {
+#[derive(PartialEq, Eq, PartialOrd, Ord, Hash, Debug, Clone, Copy)]
pub struct WatchKind: u8 {
/// Interested in create events.
const Create = 1;