src/tools/broadcast_future.rs: add new constructor new_oneshot()

To simplify usage. Also added a test case.
This commit is contained in:
Dietmar Maurer
2019-04-27 10:56:49 +02:00
parent 152764ec15
commit 3dceb9b304
2 changed files with 49 additions and 1 deletions

View File

@ -47,7 +47,8 @@ $(SUBDIRS):
$(MAKE) -C $@
test:
cargo test $(CARGO_BUILD_ARGS)
cargo test test_broadcast_future
#cargo test $(CARGO_BUILD_ARGS)
doc:
cargo doc --no-deps $(CARGO_BUILD_ARGS)