Skip to content
Permalink
Browse files

*: reorg to use Cargo workspaces

Cargo now has first-class support for repositories with multiple crates,
called "workspaces". Reorganize the repository accordingly. Among other
things, this makes `cargo test` in the root run `cargo test` recursively
in all subcrates, which means Travis will actually test all subcrates.
(The hardcoded list of subcrates in .travis.yml had gone stale.)
  • Loading branch information...
benesch committed Mar 19, 2019
1 parent b70fa26 commit 221f98930c92b75d215c720e88f559cdab7d9147
Showing with 43 additions and 48 deletions.
  1. +1 −1 .travis.yml
  2. +9 −32 Cargo.toml
  3. +0 −7 communication/Cargo.toml
  4. 0 communication/examples/{hello.rs → comm_hello.rs}
  5. +1 −1 kafkaesque/Cargo.toml
  6. +0 −7 sort/Cargo.toml
  7. +32 −0 timely/Cargo.toml
  8. 0 { → timely}/examples/barrier.rs
  9. 0 { → timely}/examples/bfs.rs
  10. 0 { → timely}/examples/capture_recv.rs
  11. 0 { → timely}/examples/capture_send.rs
  12. 0 { → timely}/examples/distinct.rs
  13. 0 { → timely}/examples/event_driven.rs
  14. 0 { → timely}/examples/exchange.rs
  15. 0 { → timely}/examples/flow_controlled.rs
  16. 0 { → timely}/examples/hashjoin.rs
  17. 0 { → timely}/examples/hello.rs
  18. 0 { → timely}/examples/logging-recv.rs
  19. 0 { → timely}/examples/logging-send.rs
  20. 0 { → timely}/examples/loopdemo.rs
  21. 0 { → timely}/examples/openloop.rs
  22. 0 { → timely}/examples/pagerank.rs
  23. 0 { → timely}/examples/pingpong.rs
  24. 0 { → timely}/examples/rc.rs
  25. 0 { → timely}/examples/sequence.rs
  26. 0 { → timely}/examples/simple.rs
  27. 0 { → timely}/examples/threadless.rs
  28. 0 { → timely}/examples/unionfind.rs
  29. 0 { → timely}/examples/unordered_input.rs
  30. 0 { → timely}/examples/wordcount.rs
  31. 0 { → timely}/src/dataflow/channels/mod.rs
  32. 0 { → timely}/src/dataflow/channels/pact.rs
  33. 0 { → timely}/src/dataflow/channels/pullers/counter.rs
  34. 0 { → timely}/src/dataflow/channels/pullers/mod.rs
  35. 0 { → timely}/src/dataflow/channels/pushers/buffer.rs
  36. 0 { → timely}/src/dataflow/channels/pushers/counter.rs
  37. 0 { → timely}/src/dataflow/channels/pushers/exchange.rs
  38. 0 { → timely}/src/dataflow/channels/pushers/mod.rs
  39. 0 { → timely}/src/dataflow/channels/pushers/tee.rs
  40. 0 { → timely}/src/dataflow/mod.rs
  41. 0 { → timely}/src/dataflow/operators/aggregation/aggregate.rs
  42. 0 { → timely}/src/dataflow/operators/aggregation/mod.rs
  43. 0 { → timely}/src/dataflow/operators/aggregation/state_machine.rs
  44. 0 { → timely}/src/dataflow/operators/branch.rs
  45. 0 { → timely}/src/dataflow/operators/broadcast.rs
  46. 0 { → timely}/src/dataflow/operators/capability.rs
  47. 0 { → timely}/src/dataflow/operators/capture/capture.rs
  48. 0 { → timely}/src/dataflow/operators/capture/event.rs
  49. 0 { → timely}/src/dataflow/operators/capture/extract.rs
  50. 0 { → timely}/src/dataflow/operators/capture/mod.rs
  51. 0 { → timely}/src/dataflow/operators/capture/replay.rs
  52. 0 { → timely}/src/dataflow/operators/concat.rs
  53. 0 { → timely}/src/dataflow/operators/count.rs
  54. 0 { → timely}/src/dataflow/operators/delay.rs
  55. 0 { → timely}/src/dataflow/operators/enterleave.rs
  56. 0 { → timely}/src/dataflow/operators/exchange.rs
  57. 0 { → timely}/src/dataflow/operators/feedback.rs
  58. 0 { → timely}/src/dataflow/operators/filter.rs
  59. 0 { → timely}/src/dataflow/operators/flow_controlled.rs
  60. 0 { → timely}/src/dataflow/operators/generic/binary.rs
  61. 0 { → timely}/src/dataflow/operators/generic/builder_raw.rs
  62. 0 { → timely}/src/dataflow/operators/generic/builder_rc.rs
  63. 0 { → timely}/src/dataflow/operators/generic/builder_ref.rs
  64. 0 { → timely}/src/dataflow/operators/generic/handles.rs
  65. 0 { → timely}/src/dataflow/operators/generic/mod.rs
  66. 0 { → timely}/src/dataflow/operators/generic/notificator.rs
  67. 0 { → timely}/src/dataflow/operators/generic/operator.rs
  68. 0 { → timely}/src/dataflow/operators/generic/operator_info.rs
  69. 0 { → timely}/src/dataflow/operators/generic/unary.rs
  70. 0 { → timely}/src/dataflow/operators/input.rs
  71. 0 { → timely}/src/dataflow/operators/inspect.rs
  72. 0 { → timely}/src/dataflow/operators/map.rs
  73. 0 { → timely}/src/dataflow/operators/mod.rs
  74. 0 { → timely}/src/dataflow/operators/partition.rs
  75. 0 { → timely}/src/dataflow/operators/probe.rs
  76. 0 { → timely}/src/dataflow/operators/queue.rs
  77. 0 { → timely}/src/dataflow/operators/reclock.rs
  78. 0 { → timely}/src/dataflow/operators/to_stream.rs
  79. 0 { → timely}/src/dataflow/operators/unordered_input.rs
  80. 0 { → timely}/src/dataflow/scopes/child.rs
  81. 0 { → timely}/src/dataflow/scopes/mod.rs
  82. 0 { → timely}/src/dataflow/stream.rs
  83. 0 { → timely}/src/execute.rs
  84. 0 { → timely}/src/lib.rs
  85. 0 { → timely}/src/logging.rs
  86. 0 { → timely}/src/order.rs
  87. 0 { → timely}/src/progress/broadcast.rs
  88. 0 { → timely}/src/progress/change_batch.rs
  89. 0 { → timely}/src/progress/frontier.rs
  90. 0 { → timely}/src/progress/mod.rs
  91. 0 { → timely}/src/progress/operate.rs
  92. 0 { → timely}/src/progress/reachability.rs
  93. 0 { → timely}/src/progress/subgraph.rs
  94. 0 { → timely}/src/progress/timestamp.rs
  95. 0 { → timely}/src/scheduling/activate.rs
  96. 0 { → timely}/src/scheduling/mod.rs
  97. 0 { → timely}/src/synchronization/barrier.rs
  98. 0 { → timely}/src/synchronization/mod.rs
  99. 0 { → timely}/src/synchronization/sequence.rs
  100. 0 { → timely}/src/worker.rs
  101. 0 { → timely}/tests/barrier.rs
  102. 0 { → timely}/tests/skeptic.rs
@@ -4,7 +4,7 @@ rust:
- stable
script:
- cargo build
- cargo test && (cd bytes; cargo test)
- cargo test
- cargo bench
- cargo doc
- for file in $(find mdbook -name '*.md'); do rustdoc --test $file -L ./target/debug/deps; done
@@ -1,35 +1,12 @@
[package]

name = "timely"
version = "0.9.0"
authors = ["Frank McSherry <fmcsherry@me.com>"]
readme = "README.md"
edition = "2018"

description = "A low-latency data-parallel dataflow system in Rust"

# These URLs point to more information about the repository
documentation = "https://docs.rs/timely/"
homepage = "https://github.com/TimelyDataflow/timely-dataflow"
repository = "https://github.com/TimelyDataflow/timely-dataflow.git"
keywords = ["timely", "dataflow"]
license = "MIT"

[features]
bincode= ["timely_communication/bincode"]

[dependencies]
serde = "1.0"
serde_derive = "1.0"
abomonation = "0.7"
abomonation_derive = "0.3"
timely_bytes = { path = "./bytes", version = "0.9" }
timely_logging = { path = "./logging", version = "0.9" }
timely_communication = { path = "./communication", version = "0.9" }

[dev-dependencies]
timely_sort="0.1.6"
rand="0.4"
[workspace]
members = [
"bytes",
"communication",
"kafkaesque",
"logging",
"sort",
"timely",
]

[profile.release]
opt-level = 3
@@ -24,10 +24,3 @@ abomonation = "0.7"
abomonation_derive = "0.4"
timely_bytes = { path = "../bytes", version = "0.9" }
timely_logging = { path = "../logging", version = "0.9" }

[profile.release]
opt-level = 3
debug = true
rpath = false
lto = true
debug-assertions = false
File renamed without changes.
@@ -7,7 +7,7 @@ edition = "2018"
[dependencies]
clap="*"
abomonation="0.7"
timely = { path = "../" }
timely = { path = "../timely" }

[dependencies.rdkafka]
version = "0.20.0"
@@ -18,10 +18,3 @@ rand="*"

[dev-dependencies]
rand="0.4"

[profile.release]
opt-level = 3
debug = true
rpath = false
lto = false
debug-assertions = false
@@ -0,0 +1,32 @@
[package]

name = "timely"
version = "0.9.0"
authors = ["Frank McSherry <fmcsherry@me.com>"]
readme = "README.md"
edition = "2018"

description = "A low-latency data-parallel dataflow system in Rust"

# These URLs point to more information about the repository
documentation = "https://docs.rs/timely/"
homepage = "https://github.com/TimelyDataflow/timely-dataflow"
repository = "https://github.com/TimelyDataflow/timely-dataflow.git"
keywords = ["timely", "dataflow"]
license = "MIT"

[features]
bincode= ["timely_communication/bincode"]

[dependencies]
serde = "1.0"
serde_derive = "1.0"
abomonation = "0.7"
abomonation_derive = "0.3"
timely_bytes = { path = "../bytes", version = "0.9" }
timely_logging = { path = "../logging", version = "0.9" }
timely_communication = { path = "../communication", version = "0.9" }

[dev-dependencies]
timely_sort="0.1.6"
rand="0.4"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 221f989

Please sign in to comment.
You can’t perform that action at this time.