Skip to content

Commit 65b4a79

Browse files
stepanchegfacebook-github-bot
authored andcommitted
Route allocative dependency using workspace Cargo.toml
Summary: Useful as is, but should also allow committing allocative in buck2 in oss (which should make updates easier: no need to version bump on each minor change). Reviewed By: ndmitchell Differential Revision: D41130721 fbshipit-source-id: cd8a05f752eda47e0f5b4714888de004dbe4e1d4
1 parent 99da708 commit 65b4a79

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ members = [
66
]
77

88
[workspace.dependencies]
9+
allocative = { version = "0.2" }
910
gazebo = { version = "0.8.1" }

starlark/Cargo.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,7 @@ num-traits = "0.2"
6060
inventory = "0.1.10"
6161
clap = { version = "4.0.7", features = ["derive", "wrap_help"] }
6262

63-
allocative.version = "0.2"
64-
# @oss-disable: allocative.path = "../../allocative/allocative"
65-
allocative.features = ["bumpalo"]
63+
allocative = { workspace = true, features = ["bumpalo", "hashbrown"] }
6664

6765
[dev-dependencies]
6866
rand = { version = "0.8.4", features = ["small_rng"] }

starlark_map/Cargo.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ gazebo = { workspace = true }
1515
gazebo_lint.version = "0.1"
1616
gazebo_lint.optional = true
1717
# @oss-disable: gazebo_lint.path = "../../gazebo_lint/gazebo_lint"
18-
allocative.version = "0.2"
19-
# @oss-disable: allocative.path = "../../allocative/allocative"
20-
allocative.features = ["hashbrown"]
18+
allocative = { workspace = true }
2119

2220
fnv = "1.0.7"
2321
hashbrown = { version = "0.12.3", features = ["raw"] }

0 commit comments

Comments
 (0)