* Prepare tarpc-plugins for Crates.io release. * Add a 0.7 bullet to RELEASES.md. * Fix some outdated doc comments. * Reexport ShutdownFuture.
1.8 KiB
0.7 (2017-03-31)
Breaking Changes
This release is a complete overhaul to build tarpc on top of the tokio stack. It's safe to assume that everything broke with this release.
Two traits are now generated by the macro, FutureService and SyncService.
SyncService is the successor to the original Service trait. It uses a configurable
thread pool to serve requests. FutureService, as the name implies, uses futures
to serve requests and is single-threaded by default.
The easiest way to upgrade from a 0.6 service impl is to impl SyncService for MyService.
For more complete information, see the readme and the examples directory.
0.6 (2016-08-07)
Breaking Changes
- Updated serde to 0.8. Requires dependents to update as well.
0.5 (2016-04-24)
Breaking Changes
0.5 adds support for arbitrary transports via the
Transport trait.
Out of the box tarpc provides implementations for:
- Tcp, for types
implingToSocketAddrs. - Unix sockets via the
UnixTransporttype.
This was a breaking change: handler.local_addr() was renamed
handler.dialer().
0.4 (2016-04-02)
Breaking Changes
- Updated to the latest version of serde, 0.7.0. Because tarpc exposes serde in its API, this forces downstream code to update to the latest version of serde, as well.
0.3 (2016-02-20)
Breaking Changes
- The timeout arg to
servewas replaced with aConfigstruct, which currently only contains one field, but will be expanded in the future to allow configuring serialization protocol, and other things. servewas changed to be a default method on the generatedServicetraits, and it was renamedspawn_with_config. A seconddefault fnwas added:spawn, which takes noConfigarg.
Other Changes
- Expanded items will no longer generate unused warnings.