Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions communication/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ workspace = true

[features]
default = ["getopts"]
lgalloc = ["dep:lgalloc"]

[dependencies]
columnar = { workspace = true }
Expand All @@ -29,5 +30,9 @@ timely_container = { path = "../container", version = "0.26.1" }
timely_logging = { path = "../logging", version = "0.26" }

# Lgalloc only supports linux and macos, don't depend on any other OS.
[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dev-dependencies]
lgalloc = "0.4"
[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies]
lgalloc = { version = "0.6", optional = true }

[[example]]
name = "lgalloc"
required-features = ["lgalloc"]
20 changes: 17 additions & 3 deletions timely/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ workspace = true
[features]
default = ["getopts"]
getopts = ["dep:getopts", "timely_communication/getopts"]
rand = ["dep:rand"]

[dependencies]
columnar = { workspace = true }
Expand All @@ -34,7 +35,20 @@ timely_logging = { path = "../logging", version = "0.26" }
timely_communication = { path = "../communication", version = "0.26", default-features = false }
timely_container = { path = "../container", version = "0.26" }
smallvec = { version = "1.15.1", features = ["serde", "const_generics"] }
rand = { version = "0.8", features = ["small_rng"], optional = true }

[dev-dependencies]
bytemuck = "1.24.0"
rand = { version = "0.8", features = ["small_rng"] }
[[example]]
name = "bfs"
required-features = ["rand"]

[[example]]
name = "hashjoin"
required-features = ["rand"]

[[example]]
name = "pagerank"
required-features = ["rand"]

[[example]]
name = "unionfind"
required-features = ["rand"]
Loading