mirror of
https://github.com/OMGeeky/tarpc.git
synced 2025-12-28 07:12:05 +01:00
38 lines
1.2 KiB
Markdown
38 lines
1.2 KiB
Markdown
## 0.6 (20216-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`](tarpc/src/transport/mod.rs#L7) trait.
|
|
Out of the box tarpc provides implementations for:
|
|
|
|
* Tcp, for types `impl`ing `ToSocketAddrs`.
|
|
* Unix sockets via the `UnixTransport` type.
|
|
|
|
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 `serve` was replaced with a `Config` struct, which
|
|
currently only contains one field, but will be expanded in the future
|
|
to allow configuring serialization protocol, and other things.
|
|
* `serve` was changed to be a default method on the generated `Service` traits,
|
|
and it was renamed `spawn_with_config`. A second `default fn` was added:
|
|
`spawn`, which takes no `Config` arg.
|
|
|
|
### Other Changes
|
|
* Expanded items will no longer generate unused warnings.
|