Skip to content

Commit

Permalink
update "bytes" crate: 1.6.0 -> 1.9.0
Browse files Browse the repository at this point in the history
Summary:
# Why

[bytes 1.6.0](https://docs.rs/bytes/1.6.0/bytes/index.html) has been yanked, time to update  to the latest version

 {F1974418313}

# What changes

[CHANGELOG](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md) doesn't suggest any breaking changes, the failed build will tell us if there are any.

Reviewed By: edward-shen

Differential Revision: D68330007

fbshipit-source-id: 08ebc709a60d5ae150e592397dc233dccb477957
  • Loading branch information
Paul Iatchenii authored and facebook-github-bot committed Jan 17, 2025
1 parent 68c2534 commit 9737eea
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion shed/cached_config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ license = "MIT OR Apache-2.0"

[dependencies]
anyhow = "1.0.95"
bytes = { version = "1.6.0", features = ["serde"] }
bytes = { version = "1.9.0", features = ["serde"] }
chrono = { version = "0.4", features = ["clock", "serde", "std"], default-features = false }
fbinit = { version = "0.2.0", path = "../fbinit" }
fbthrift = { version = "0.0.1+unstable", git = "https://github.com/facebook/fbthrift.git", branch = "main" }
Expand Down
2 changes: 1 addition & 1 deletion shed/cachelib_stub/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ license = "MIT OR Apache-2.0"
[dependencies]
abomonation = { version = "0.7", features = ["smallvec"] }
anyhow = "1.0.95"
bytes = { version = "1.6.0", features = ["serde"] }
bytes = { version = "1.9.0", features = ["serde"] }

[lints]
rust = { unexpected_cfgs = { check-cfg = ["cfg(fbcode_build)"], level = "warn" } }
2 changes: 1 addition & 1 deletion shed/chrome_trace/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ license = "MIT OR Apache-2.0"

[dependencies]
anyhow = "1.0.95"
bytes = { version = "1.6.0", features = ["serde"] }
bytes = { version = "1.9.0", features = ["serde"] }
flate2 = { version = "1.0.33", features = ["rust_backend"], default-features = false }
libc = "0.2.139"
serde = { version = "1.0.185", features = ["derive", "rc"] }
Expand Down
2 changes: 1 addition & 1 deletion shed/fbthrift_ext/framed/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ path = "lib.rs"

[dependencies]
byteorder = "1.3"
bytes = { version = "1.6.0", features = ["serde"] }
bytes = { version = "1.9.0", features = ["serde"] }
tokio-util = { version = "0.7.12", features = ["full"] }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion shed/fbthrift_ext/socket/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ path = "lib.rs"

[dependencies]
anyhow = "1.0.95"
bytes = { version = "1.6.0", features = ["serde"] }
bytes = { version = "1.9.0", features = ["serde"] }
fbthrift = { version = "0.0.1+unstable", git = "https://github.com/facebook/fbthrift.git", branch = "main" }
fbthrift_framed = { version = "0.1.0", path = "../framed" }
fbthrift_util = { version = "0.1.0", path = "../util" }
Expand Down
2 changes: 1 addition & 1 deletion shed/fbthrift_ext/tcp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ path = "lib.rs"

[dependencies]
anyhow = "1.0.95"
bytes = { version = "1.6.0", features = ["serde"] }
bytes = { version = "1.9.0", features = ["serde"] }
fbthrift = { version = "0.0.1+unstable", git = "https://github.com/facebook/fbthrift.git", branch = "main" }
fbthrift_framed = { version = "0.1.0", path = "../framed" }
fbthrift_util = { version = "0.1.0", path = "../util" }
Expand Down
2 changes: 1 addition & 1 deletion shed/memcache_stub/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ path = "lib.rs"

[dependencies]
anyhow = "1.0.95"
bytes = { version = "1.6.0", features = ["serde"] }
bytes = { version = "1.9.0", features = ["serde"] }
fbinit = { version = "0.2.0", path = "../../fbinit" }
2 changes: 1 addition & 1 deletion shed/netstring/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ license = "MIT OR Apache-2.0"

[dependencies]
anyhow = "1.0.95"
bytes = { version = "1.6.0", features = ["serde"] }
bytes = { version = "1.9.0", features = ["serde"] }
thiserror = "2"
tokio-util = { version = "0.7.12", features = ["full"] }

Expand Down

0 comments on commit 9737eea

Please sign in to comment.