Skip to content

Commit 0d019cd

Browse files
markbtmbrubeck
authored andcommitted
Rename bincode dev-dependency to bincode1
We want to add an optional dependency on bincode 2. The MSRV of bincode 2 is too high for us to use it in the tests, so rename the test usage to bincode1 in preparation.
1 parent 6c8751d commit 0d019cd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ malloc_size_of = { version = "0.1", optional = true, default-features = false }
3131
arbitrary = { version = "1", optional = true }
3232

3333
[dev-dependencies]
34-
bincode = "1.0.1"
34+
bincode1 = { package = "bincode", version = "1.0.1" }
3535
debugger_test = "0.1.0"
3636
debugger_test_parser = "0.1.0"
3737

src/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ fn test_write() {
835835
#[cfg(feature = "serde")]
836836
#[test]
837837
fn test_serde() {
838-
use bincode::{config, deserialize};
838+
use bincode1::{config, deserialize};
839839
let mut small_vec: SmallVec<[i32; 2]> = SmallVec::new();
840840
small_vec.push(1);
841841
let encoded = config().limit(100).serialize(&small_vec).unwrap();

0 commit comments

Comments
 (0)