Skip to content

Commit e5e1e96

Browse files
markbtfacebook-github-bot
authored andcommitted
vendor smallvec with bincode2 support
Summary: Vendor smallvec v1 with support for bincode v2 encoding and decoding. This was implemented in PR servo/rust-smallvec#375 which is in release 1.15.0. Reviewed By: RajivTS Differential Revision: D72465918 fbshipit-source-id: 04ddf5c05de7d3a9d5dea619dca331f46a40943b
1 parent cd3fba0 commit e5e1e96

File tree

23 files changed

+23
-23
lines changed

23 files changed

+23
-23
lines changed

eden/mononoke/blobstore/ephemeral_blobstore/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ repo_blobstore = { version = "0.1.0", path = "../../blobrepo/repo_blobstore" }
3232
repo_identity = { version = "0.1.0", path = "../../repo_attributes/repo_identity" }
3333
scuba = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
3434
serde = { version = "1.0.185", features = ["derive", "rc"] }
35-
smallvec = { version = "1.13.2", features = ["serde", "specialization", "union"] }
35+
smallvec = { version = "1.15", features = ["impl_bincode", "serde", "specialization", "union"] }
3636
sql = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
3737
sql_construct = { version = "0.1.0", path = "../../common/sql_construct" }
3838
sql_ext = { version = "0.1.0", path = "../../common/rust/sql_ext" }

eden/mononoke/bonsai_git_mapping/if/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ futures = { version = "0.3.30", features = ["async-await", "compat"] }
2222
mononoke_types_serialization = { version = "0.1.0", path = "../../mononoke_types/serialization" }
2323
ref-cast = "1.0.18"
2424
rust = { version = "0.0.1+unstable", git = "https://github.com/facebook/fbthrift.git", branch = "main" }
25-
smallvec = { version = "1.13.2", features = ["serde", "specialization", "union"] }
25+
smallvec = { version = "1.15", features = ["impl_bincode", "serde", "specialization", "union"] }
2626
thiserror = "2"
2727

2828
[build-dependencies]

eden/mononoke/bonsai_hg_mapping/if/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ mercurial_thrift = { version = "0.1.0", path = "../../mercurial/types/if" }
2323
mononoke_types_serialization = { version = "0.1.0", path = "../../mononoke_types/serialization" }
2424
ref-cast = "1.0.18"
2525
rust = { version = "0.0.1+unstable", git = "https://github.com/facebook/fbthrift.git", branch = "main" }
26-
smallvec = { version = "1.13.2", features = ["serde", "specialization", "union"] }
26+
smallvec = { version = "1.15", features = ["impl_bincode", "serde", "specialization", "union"] }
2727
thiserror = "2"
2828

2929
[build-dependencies]

eden/mononoke/derived_data/changeset_info/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ derived_data_service_if = { version = "0.1.0", path = "../remote/if" }
2121
fbthrift = { version = "0.0.1+unstable", git = "https://github.com/facebook/fbthrift.git", branch = "main" }
2222
mononoke_types = { version = "0.1.0", path = "../../mononoke_types" }
2323
mononoke_types_serialization = { version = "0.1.0", path = "../../mononoke_types/serialization" }
24-
smallvec = { version = "1.13.2", features = ["serde", "specialization", "union"] }
24+
smallvec = { version = "1.15", features = ["impl_bincode", "serde", "specialization", "union"] }
2525
sorted_vector_map = { version = "0.2.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
2626
unicode-segmentation = "1.12.0"
2727

eden/mononoke/derived_data/remote/if/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ mercurial_thrift = { version = "0.1.0", path = "../../../mercurial/types/if" }
2626
mononoke_types_serialization = { version = "0.1.0", path = "../../../mononoke_types/serialization" }
2727
ref-cast = "1.0.18"
2828
rust = { version = "0.0.1+unstable", git = "https://github.com/facebook/fbthrift.git", branch = "main" }
29-
smallvec = { version = "1.13.2", features = ["serde", "specialization", "union"] }
29+
smallvec = { version = "1.15", features = ["impl_bincode", "serde", "specialization", "union"] }
3030
thiserror = "2"
3131

3232
[build-dependencies]

eden/mononoke/edenapi_service/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ serde_cbor = "0.11"
6868
serde_json = { version = "1.0.140", features = ["float_roundtrip", "unbounded_depth"] }
6969
sha2 = "0.10.6"
7070
slog = { package = "tracing_slog_compat", version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
71-
smallvec = { version = "1.13.2", features = ["serde", "specialization", "union"] }
71+
smallvec = { version = "1.15", features = ["impl_bincode", "serde", "specialization", "union"] }
7272
sorted_vector_map = { version = "0.2.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
7373
stats = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
7474
thiserror = "2"

eden/mononoke/filenodes/if/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ mercurial_thrift = { version = "0.1.0", path = "../../mercurial/types/if" }
2323
mononoke_types_serialization = { version = "0.1.0", path = "../../mononoke_types/serialization" }
2424
ref-cast = "1.0.18"
2525
rust = { version = "0.0.1+unstable", git = "https://github.com/facebook/fbthrift.git", branch = "main" }
26-
smallvec = { version = "1.13.2", features = ["serde", "specialization", "union"] }
26+
smallvec = { version = "1.15", features = ["impl_bincode", "serde", "specialization", "union"] }
2727
thiserror = "2"
2828

2929
[build-dependencies]

eden/mononoke/git/git_types/if/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ futures = { version = "0.3.30", features = ["async-await", "compat"] }
2323
mononoke_types_serialization = { version = "0.1.0", path = "../../../mononoke_types/serialization" }
2424
ref-cast = "1.0.18"
2525
rust = { version = "0.0.1+unstable", git = "https://github.com/facebook/fbthrift.git", branch = "main" }
26-
smallvec = { version = "1.13.2", features = ["serde", "specialization", "union"] }
26+
smallvec = { version = "1.15", features = ["impl_bincode", "serde", "specialization", "union"] }
2727
thiserror = "2"
2828

2929
[build-dependencies]

eden/mononoke/git/import_tools/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ retry = { version = "0.1.0", path = "../../common/retry" }
5050
sapling-clientinfo = { version = "0.1.0", path = "../../../scm/lib/clientinfo" }
5151
scuba_ext = { version = "0.1.0", path = "../../common/scuba_ext" }
5252
slog = { package = "tracing_slog_compat", version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
53-
smallvec = { version = "1.13.2", features = ["serde", "specialization", "union"] }
53+
smallvec = { version = "1.15", features = ["impl_bincode", "serde", "specialization", "union"] }
5454
sorted_vector_map = { version = "0.2.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
5555
tls = { version = "0.1.0", path = "../../cmdlib/mononoke_app/tls" }
5656
tokio = { version = "1.41.0", features = ["full", "test-util", "tracing"] }

eden/mononoke/manifest/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ mononoke_types = { version = "0.1.0", path = "../mononoke_types" }
2626
nonzero_ext = "0.2"
2727
serde = { version = "1.0.185", features = ["derive", "rc"] }
2828
serde_derive = "1.0.185"
29-
smallvec = { version = "1.13.2", features = ["serde", "specialization", "union"] }
29+
smallvec = { version = "1.15", features = ["impl_bincode", "serde", "specialization", "union"] }
3030
sorted_vector_map = { version = "0.2.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
3131
tokio = { version = "1.41.0", features = ["full", "test-util", "tracing"] }
3232

0 commit comments

Comments
 (0)