Astro
014633d119
add client_bind
2017-06-19 02:16:47 +02:00
Maxime “pep” Buquet
973a5ca659
Force channel binding to None
2017-06-17 22:47:07 +02:00
Emmanuel Gil Peyrot
17798190cf
error: Implement fmt::Display and error::Error.
2017-06-17 03:36:12 +01:00
Emmanuel Gil Peyrot
6f69f2d7d9
jingle_ft: Parse <date/> into a proper DateTime.
2017-06-16 20:37:48 +01:00
lumi
3abbdc6409
Merge branch 'update' into 'master'
...
Update base64 and openssl dependencies
See merge request !3
2017-06-15 15:53:42 +00:00
lumi
cc2f47108d
Merge branch 'println' into 'master'
...
Remove debug println in transport.rs
See merge request !27
2017-06-15 15:40:49 +00:00
Emmanuel Gil Peyrot
e7f0c45da5
jingle: Fix sid test.
2017-06-14 09:19:06 +01:00
Emmanuel Gil Peyrot
48d340120c
jingle: Specialise Sid to get an increased type safety.
2017-06-14 02:28:42 +01:00
Emmanuel Gil Peyrot
216f6f8389
Fix build and compilation.
2017-06-14 01:57:02 +01:00
Emmanuel Gil Peyrot
393402032c
jingle: Add a comment.
2017-06-14 00:59:37 +01:00
Astro
df423e5047
use jid
2017-06-14 01:55:56 +02:00
Emmanuel Gil Peyrot
ebc7582250
Move the Default implementation into more generate_attribute!.
2017-06-14 00:53:18 +01:00
Emmanuel Gil Peyrot
0f297d2d2d
Add a generate_attribute! macro, and use it for the common case.
2017-06-14 00:50:57 +01:00
Astro
1d9790a1d8
stream_start: fix style
2017-06-13 23:52:41 +02:00
Emmanuel Gil Peyrot
9955c1131b
ns: Remove now useless 'static lifetime.
2017-06-12 22:49:27 +01:00
Emmanuel Gil Peyrot
4c212d2768
update base64 and openssl dependencies
2017-06-12 22:27:29 +01:00
Maxime “pep” Buquet
82bb3089e1
Remove debug println in transport.rs
2017-06-12 22:22:43 +01:00
Bastien Orivel
e00cfa2c2e
Speedup jid parsing
...
name control ns/iter variable ns/iter diff ns/iter diff % speedup
big_jids 638 456 -182 -28.53% x 1.40
small_jids 92 91 -1 -1.09% x 1.01
2017-06-12 23:11:37 +02:00
lumi
1f11796057
set version to 0.2.2
2017-06-12 22:28:14 +02:00
lumi
ce664554d6
Merge branch 'get__functions' into 'master'
...
Add get_ functions that return new truncated structs from the current one
See merge request !4
2017-06-12 17:37:55 +00:00
Maxime “pep” Buquet
2f59ca4b56
Fix doctests
2017-06-12 18:20:42 +01:00
Maxime “pep” Buquet
b69ecb31aa
Renaming functions
2017-06-12 18:05:19 +01:00
Maxime “pep” Buquet
10ab104ea0
Better without clones
2017-06-12 17:46:06 +01:00
Maxime “pep” Buquet
072cba6a3e
Add get_ functions that return new truncated structs from the current one
2017-06-12 17:41:07 +01:00
lumi
0dddceee19
Merge branch 'cache-disco' into 'master'
...
Cache caps and do disco#info
See merge request !26
2017-06-11 20:04:46 +00:00
Emmanuel Gil Peyrot
0fbe09ad59
add a plugin to query and cache caps
2017-06-11 19:36:55 +01:00
Emmanuel Gil Peyrot
1b21ebc6b0
add a disco result event to the disco plugin
2017-06-11 19:36:35 +01:00
lumi
51616ae1a5
Merge branch 'base64' into 'master'
...
Bump base64
See merge request !25
2017-06-11 14:54:34 +00:00
Emmanuel Gil Peyrot
8ee73e3a31
bump base64, improves performances and reduces unsafe code
2017-06-11 15:49:45 +01:00
lumi
a5f87494c2
Merge branch 'stanza-debug' into 'master'
...
Enable stanza_debug automatically when STANZA_DEBUG is set in the env
See merge request !21
2017-06-11 14:49:21 +00:00
Emmanuel Gil Peyrot
313e7a1770
add stanza_debug to client example when STANZA_DEBUG is in the env
2017-06-11 15:43:42 +01:00
lumi
264e58b1bf
Merge branch 'stanza-debug-time' into 'master'
...
Make stanza_debug print the time
See merge request !23
2017-06-11 14:43:14 +00:00
Emmanuel Gil Peyrot
afaea3486b
make stanza_debug print the time
2017-06-11 15:32:42 +01:00
lumi
cdc968a70b
Merge branch 'messaging-from' into 'master'
...
Always give the correct from JID in messaging
See merge request !24
2017-06-11 14:31:48 +00:00
Emmanuel Gil Peyrot
b7dc5bd9ea
always give the correct from JID in messaging
2017-06-11 15:27:05 +01:00
lumi
3331ba8f62
Merge branch 'roster' into 'master'
...
Add a roster plugin
See merge request !18
2017-06-11 14:25:20 +00:00
Emmanuel Gil Peyrot
66bc970d90
add a roster plugin
2017-06-11 15:18:45 +01:00
lumi
04a3afb621
Merge branch 'presence' into 'master'
...
update the presence plugin to match xmpp-parsers 0.5.0
See merge request !22
2017-06-11 14:09:30 +00:00
Emmanuel Gil Peyrot
0d7074eb6e
update the presence plugin to match xmpp-parsers 0.5.0
2017-06-11 15:03:10 +01:00
Emmanuel Gil Peyrot
c74e72b676
Added tag v0.5.0 for changeset 06ce4bd0beeb
2017-06-11 15:01:46 +01:00
Emmanuel Gil Peyrot
019848c864
Release version 0.5.0.
2017-06-11 14:58:34 +01:00
Emmanuel Gil Peyrot
7202a6e190
ChangeLog: Add release notes for version 0.5.0.
2017-06-11 14:58:05 +01:00
Emmanuel Gil Peyrot
60521298d6
Cargo.toml: Bump base64, improve performances and reduce unsafe code.
2017-06-11 14:57:30 +01:00
Emmanuel Gil Peyrot
6c1c9d0851
Add a PubSub event parser and serialiser.
2017-06-11 14:48:31 +01:00
Emmanuel Gil Peyrot
334f2f78f8
data_forms: Implement IntoElements.
2017-06-11 14:42:11 +01:00
lumi
8b50dadb92
added changelog
2017-06-10 17:44:28 +02:00
lumi
367234ba83
Merge branch 'quick_xml' into 'master'
...
Replace xml-rs by quick_xml
See merge request !11
2017-06-10 15:32:22 +00:00
Bastien Orivel
9cec9fce9b
Replace xml-rs by quick_xml
...
quick_xml is way faster than xml-rs
Here is an example with a quick atom parser:
With xml-rs:
test parse_factorio_atom ... bench: 3,295,678 ns/iter (+/- 165,851)
With quick_xml:
test parse_factorio_atom ... bench: 203,215 ns/iter (+/- 13,485)
Unfortunately I had to break the API for this change to happen.
* Element::from_reader now takes `R: BufRead` instead of `R: Read`
* Element::write_to now takes `W: io::Write` instead of `EventWriter<W: Write>`
This migration also allow us to have a write_to function which assumes
we're already in a given namespace (see `write_to_in_namespace`).
2017-06-10 17:17:19 +02:00
Emmanuel Gil Peyrot
88a3f507f6
idle, delay: Don’t import * from chrono::prelude.
2017-06-08 22:46:27 +02:00
Astro
0bae1ce336
switch from rustls to native-tls
2017-06-06 02:03:38 +02:00