Skip to content

Commit cf8fafa

Browse files
ndmitchellfacebook-github-bot
authored andcommitted
Upgrade the Cargo.toml for watchman/serde_bser
Summary: These are dependencies for Pyrefly, and were dragging in extra old copies of thiserror etc. Might as well upgrade them to watch is used by BUCK, so what we test with. Reviewed By: VladimirMakaev Differential Revision: D77455024 fbshipit-source-id: 8e6aa72f7ffb1e8afc341cca594ea857e6fc529c
1 parent 268bd27 commit cf8fafa

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

third-party/watchman/src/watchman/rust/serde_bser/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ license = "MIT"
1111
[dependencies]
1212
anyhow = "1.0"
1313
byteorder = "1.3"
14-
bytes = { version = "1.0", features = ["serde"] }
14+
bytes = { version = "1.9", features = ["serde"] }
1515
serde = { version = "1.0.126", features = ["derive", "rc"] }
1616
serde_bytes = "0.11"
17-
thiserror = "1.0"
17+
thiserror = "2.0"
1818

1919
[dev-dependencies]
2020
maplit = "1.0"

third-party/watchman/src/watchman/rust/watchman_client/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ exclude = ["examples/*"]
1111

1212
[dependencies]
1313
anyhow = "1.0"
14-
bytes = { version = "1.0", features = ["serde"] }
14+
bytes = { version = "1.9", features = ["serde"] }
1515
futures = { version = "0.3.13", features = ["async-await", "compat"] }
1616
maplit = "1.0"
1717
serde = { version = "1.0.126", features = ["derive", "rc"] }
1818
serde_bser = { version = "0.4", path = "../serde_bser" }
19-
thiserror = "1.0"
20-
tokio = { version = "1.7.1", features = ["full", "test-util"] }
21-
tokio-util = { version = "0.6", features = ["full"] }
19+
thiserror = "2.0"
20+
tokio = { version = "1.45", features = ["full", "test-util"] }
21+
tokio-util = { version = "0.7", features = ["full"] }
2222

2323
[target.'cfg(windows)'.dependencies]
2424
winapi = { version = "0.3", features = ["fileapi", "handleapi", "winbase", "winuser"] }

0 commit comments

Comments
 (0)