# @generated
# @autocargo from //thrift/lib/rust:fbthrift
# Signature<<166a2cef7fd02140a84b4542662a135cd046d1f0>>
[package]
name = "fbthrift"
edition = "2018"
version = "0.0.1+unstable"
publish = false
include = ["src/**/*.rs"]

[dependencies]
anyhow = "1.0"
async-trait = { version = "0.1", features = ["support_old_nightly"] }
bufsize = "0.5"
byteorder = "1.3"
bytes = { version = "0.5", features = ["serde"] }
bytes-old = { package = "bytes", version = "0.4", features = ["serde"] }
ghost = "0.1"
num-derive = "0.3"
num-traits = "0.2"
thiserror = "1.0"

[dev-dependencies]
quickcheck = "0.9"
# @end of Signature<<166a2cef7fd02140a84b4542662a135cd046d1f0>>

# @generated
# @autocargo from //thrift/lib/rust:fbthrift
# Signature<<00be3d2bdadfa85e48f42a822335da47b5e2f4f2>>
[package]
name = "fbthrift"
edition = "2018"
version = "0.0.1+unstable"
publish = false
include = ["src/**/*.rs"]

[dependencies]
anyhow = "1.0"
async-trait = { version = "0.1", features = ["support_old_nightly"] }
bufsize = "0.5"
byteorder = "1.3"
bytes = { version = "0.5", features = ["serde"] }
bytes-old = { package = "bytes", version = "0.4", features = ["serde"] }
ghost = "0.1"
num-derive = "0.3"
num-traits = "0.2"
thiserror = "1.0"

[dev-dependencies]
quickcheck = "0.9"
# @end of Signature<<00be3d2bdadfa85e48f42a822335da47b5e2f4f2>>

Delete renamed:bytes-old in favor of named_deps
rust: Delete renamed:bytes-old in favor of named_deps

Summary:
The common/rust/renamed package is a workaround from before named_deps was supported by Buck. This diff removes uses of renamed:bytes-old in favor of using bytes-old through named_deps.

As a reminder, `//common/rust/renamed:bytes-old` refers to the same crate and version (bytes 0.4) as `fbsource//third-party/rust:bytes-old`, but exposes it to downstream code as `bytes_old::` rather than `bytes::`. This is useful for code that needs to use *both* bytes 0.4 and 0.5 in the same crate.

Reviewed By: k21

Differential Revision: D20234005

fbshipit-source-id: f94b3f833b2d139e75b84c03f8e3321907fe6d8c
