Commit graph

8 commits

Author SHA1 Message Date
Emmanuel Gil Peyrot
2234bb76f2 macros, pubsub: Fix build failure introduced in the previous commit. 2019-07-17 22:30:49 +02:00
Emmanuel Gil Peyrot
5bf14b0b22 Drop dependency on try_from.
This bumps the minimum supported stable Rust version to 1.34.

The TryFrom and TryInto traits are still reexported to not break the
API, but these reexports are deprecated and will be removed in a future
release.
2019-04-12 11:06:03 +02:00
Emmanuel Gil Peyrot
ba875cfd2a jingle_rtp: Put Channel code into a macro, to generate it automatically. 2019-02-28 03:10:21 +01:00
Emmanuel Gil Peyrot
b56582c8b5 disco: Use a macro for <identity/>. 2019-02-28 02:26:10 +01:00
Emmanuel Gil Peyrot
ae3a5b6725 macros: Remove backwards-compatibility variants introduced in the previous commit. 2019-02-24 20:48:19 +01:00
Emmanuel Gil Peyrot
bcd42a26e3 macros: Use a nicer syntax when declaring attributes.
The previous version had a => required|optional|default token, this was
duplicating information for Option types and didn’t look very good.

This new version looks like a type, which can be either Required<_>,
Option<_> or Default<_>, and means the same thing.
2019-02-24 20:26:42 +01:00
Emmanuel Gil Peyrot
d811c10ed3 pubsub: Make Item common to both pubsub and pubsub#event namespaces. 2019-01-27 18:57:25 +01:00
Emmanuel Gil Peyrot
409a1dafa9 Move Error, helpers and macros into a util module. 2019-01-13 12:39:51 +01:00
Renamed from src/macros.rs (Browse further)