Skip to content

Commit

Permalink
third-party/rust: Bump bytes 1.1 -> 1.6.0
Browse files Browse the repository at this point in the history
Summary:
As it says on the tin. There have been many new features added since the old version. [Staring at the changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md), I don't believe they added breaking changes.

Changes to other libraries:
- *common/rust/folly/iobuf* - the panic message changed so I changed the should_panic rule to match

Reviewed By: diliop

Differential Revision: D55807882

fbshipit-source-id: 8d70a8bae57509fdca82ab18770275111a1f1902
  • Loading branch information
ifd3f authored and facebook-github-bot committed Apr 6, 2024
1 parent c2abe2a commit 4633360
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
Expand Up @@ -12,7 +12,7 @@ license = "MIT OR Apache-2.0"

[dependencies]
anyhow = "1.0.75"
bytes = { version = "1.1", features = ["serde"] }
bytes = { version = "1.6.0", features = ["serde"] }
chrono = { version = "0.4", features = ["clock", "serde", "std"], default-features = false }
fbinit = { version = "0.1.2", 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
Expand Up @@ -13,4 +13,4 @@ license = "MIT OR Apache-2.0"
[dependencies]
abomonation = { version = "0.7", features = ["smallvec"] }
anyhow = "1.0.75"
bytes = { version = "1.1", features = ["serde"] }
bytes = { version = "1.6.0", features = ["serde"] }
2 changes: 1 addition & 1 deletion shed/chrome_trace/Cargo.toml
Expand Up @@ -12,7 +12,7 @@ license = "MIT OR Apache-2.0"

[dependencies]
anyhow = "1.0.75"
bytes = { version = "1.1", features = ["serde"] }
bytes = { version = "1.6.0", features = ["serde"] }
flate2 = { version = "1.0.26", 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
Expand Up @@ -15,7 +15,7 @@ path = "lib.rs"

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

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

[dependencies]
anyhow = "1.0.75"
bytes = { version = "1.1", features = ["serde"] }
bytes = { version = "1.6.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
Expand Up @@ -15,7 +15,7 @@ path = "lib.rs"

[dependencies]
anyhow = "1.0.75"
bytes = { version = "1.1", features = ["serde"] }
bytes = { version = "1.6.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
Expand Up @@ -14,5 +14,5 @@ path = "lib.rs"

[dependencies]
anyhow = "1.0.75"
bytes = { version = "1.1", features = ["serde"] }
bytes = { version = "1.6.0", features = ["serde"] }
fbinit = { version = "0.1.2", path = "../../fbinit" }
2 changes: 1 addition & 1 deletion shed/netstring/Cargo.toml
Expand Up @@ -12,7 +12,7 @@ license = "MIT OR Apache-2.0"

[dependencies]
anyhow = "1.0.75"
bytes = { version = "1.1", features = ["serde"] }
bytes = { version = "1.6.0", features = ["serde"] }
thiserror = "1.0.49"
tokio-util = { version = "0.7.10", features = ["full"] }

Expand Down

0 comments on commit 4633360

Please sign in to comment.