Aaron Weiss
cf9a93127a
Bumped version number to 0.13.6.
2018-10-03 11:34:37 -04:00
Aaron Weiss
6c9d7243a7
Merge pull request #153 from nuxeh/edcragg/add-url-bot-rs-link
...
Add a link to url-bot-rs
2018-10-03 11:34:28 -04:00
nuxeh
16a59a96f8
Add a link to url-bot-rs
...
Add a link to url-bot-rs, a project making use of this crate, to the readme.
2018-10-03 16:11:03 +01:00
Aaron Weiss
0534ab061f
Merge pull request #152 from DoumanAsh/remove_tokio_core
...
Clean up tokio-core
2018-09-22 17:23:42 -04:00
Douman
23112f7582
Clean up tokio-core
2018-09-22 23:43:47 +03:00
Frankie Bagnardi
687b374801
ParseError -> ()
2018-09-18 00:16:23 -07:00
Frankie Bagnardi
c9e6f6663f
fixes issues from review
2018-09-18 00:14:33 -07:00
Frankie Bagnardi
5a50e4eea8
WIP prefix fixes
2018-09-17 23:55:35 -07:00
Frankie Bagnardi
4728e85e0e
prefix docs
2018-09-17 22:39:48 -07:00
Frankie Bagnardi
ddcd120313
prefix uses Nickname(String, String, String)
2018-09-17 22:36:36 -07:00
Frankie Bagnardi
f66dcd6b0a
rebased
2018-09-17 22:03:22 -07:00
Frankie Bagnardi
140c981e63
prefix cleanup and docs
2018-09-17 22:00:52 -07:00
Frankie Bagnardi
5e723425e3
proto::message uses Prefix
2018-09-17 22:00:52 -07:00
Frankie Bagnardi
c44ec0984e
Prefix with FromStr and Display
2018-09-17 21:59:02 -07:00
Aaron Weiss
f109c10475
Fixed a warning in config.rs (for some tests) and the README example.
2018-09-17 18:08:21 -04:00
Aaron Weiss
befe0ada84
Removed the old colors module (now in irc_proto).
2018-09-17 17:56:14 -04:00
Aaron Weiss
acbdb1de2f
Merge branch 'develop' into 0.14
2018-09-17 17:54:09 -04:00
Aaron Weiss
53fb890a7e
Merged develop onto 0.14 (which was tricky, and this might have introduced bugs?).
2018-09-17 17:50:53 -04:00
Aaron Weiss
34592c3368
Merge pull request #148 from Jokler/openssl-upgrade
...
Upgrade native-tls and tokio-tls to 0.2
2018-09-17 01:52:15 -04:00
Jokler
0be5cb26c8
Upgrade native-tls and tokio-tls to 0.2
2018-09-17 02:11:25 +02:00
Aaron Weiss
c8aed29e80
Merge pull request #145 from Kroisse/fix/develop/strip_formatting
...
Make stripping color codes efficiently
2018-09-07 11:00:06 -04:00
Eunchong Yu
8d07c117bb
Polish the parser
2018-09-01 06:51:25 +09:00
Eunchong Yu
c311d37902
Use macro
2018-09-01 06:51:25 +09:00
Eunchong Yu
e7fe08f29d
Make is_formatted simple
2018-09-01 06:51:24 +09:00
Eunchong Yu
b108c833bb
Reduce allocation more
...
String::strip_formatting will do most of operations in place.
2018-09-01 06:51:24 +09:00
Eunchong Yu
4feafc681a
Reduce memcpy case in strip_formatting
...
This makes the return type of FormattedStringExt::strip_formatting
more meaningful.
Drawbacks:
In theory, it breaks backward compatbility due to the shape of
FormattedStringExt trait was changed. But I expected it's not the
problem for the most case because it's rare to implement that trait
while using this library.
2018-09-01 06:51:24 +09:00
Eunchong Yu
c7c65ef671
Fix infinite recursive calls
...
It reverts #137 .
2018-09-01 06:51:24 +09:00
Aaron Weiss
45deaa0978
Merge pull request #146 from Kroisse/fix/develop/deprecations
...
Fix deprecated codes
2018-08-27 19:27:08 -04:00
Eunchong Yu
8ffac6bef0
Replace deprecated tokio_io::codec to tokio_codec
2018-08-19 09:18:50 +09:00
Eunchong Yu
1cf7744156
Clarify to prevent unintended recursions
2018-08-19 08:54:22 +09:00
Eunchong Yu
12003c880c
Remove deprecated AsciiExt
2018-08-19 08:50:38 +09:00
Eunchong Yu
6f2820d7f6
Upgrade log to 0.4
2018-08-19 08:45:15 +09:00
Aaron Weiss
abbf1eafcb
Added notes for PRIVMSG and NOTICE about responses (re: #144 ).
2018-08-16 12:18:05 -04:00
Aaron Weiss
1abed4c552
Removed some langauge that I don't like (simple, easy).
2018-08-08 20:13:50 -04:00
Aaron Weiss
b5b035faa7
Switched all the examples to use #rust-spam on irc.mozilla.org.
2018-07-10 04:15:08 +02:00
Aaron Weiss
3aba7250b0
Moved Travis CI bot to pdgn.co.
2018-07-10 03:36:18 +02:00
Aaron Weiss
c69e944033
Reverted some of the TLS changes from #141 because they broke TLS completely.
2018-06-18 21:29:45 +02:00
Aaron Weiss
cc666838a7
Merge pull request #141 from Ratysz/impl-trait-futures
...
Use `impl Trait` syntax for methods returning futures
2018-06-08 22:00:16 +02:00
Ratys
e7f5f19234
Updated README.md - fixes doctest.
2018-06-08 22:51:58 +03:00
Ratys
bdeb7054b3
Removed PackedIrcClient
, IrcClientFuture
:
...
They are redundant now, and are dead code;
Cleaned up unused imports.
2018-06-08 22:18:40 +03:00
Ratys
5275e79971
Rewrote conn
module to utilize impl Future
in return position:
...
Changed all involved structs to take `Config`s, rather than borrow them - this is due to `'static` requirement that is bound to crop up somewhere, when spawning a future into a reactor/runtime.
Updated examples and docs to reflect the change.
2018-06-08 22:00:49 +03:00
Ratys
bfb8bf5a1b
Partial rewrite to utilize impl Future
in return position:
...
Changed return types relevant methods of `conn` module; no implementation changes;
Rewrote relevant methods of `reactor` and `client`.
2018-06-08 17:25:57 +03:00
Ratys
b5a575966f
Partially moved from tokio_core
to tokio
, removed handle
args:
...
Migrated `conn` and `client` modules to `tokio` types;
Removed `handle` arguments and fields in `reactor`, `conn` and `client` modules;
Removed unused imports of `Handle`, updated doctest.
2018-06-08 17:24:26 +03:00
Ratys
efd13d5a13
Added dependency on tokio
0.1.
2018-06-08 16:41:13 +03:00
Aaron Weiss
791edb2bd7
Added a small optimization (suggested in tokio guide) to LineCodec
.
2018-06-05 20:04:06 +02:00
Aaron Weiss
d4283f6071
Rewrapped comments in tooter.rs.
2018-05-27 23:24:37 +02:00
Aaron Weiss
a23f3417f1
Added the tooter example, an async version of tweeter.
2018-05-27 23:17:31 +02:00
Aaron Weiss
88b7b5f18b
Merge pull request #137 from freddyb/patch-1
...
Remove unnecessary [..]
2018-05-16 23:01:15 +02:00
Frederik B
acc6d7f0f0
Remove unnecessary [..]
...
Replaces (&self[..]).strip_formatting() with (&self).strip_formatting() in `impl FormattedStringExt for String`
2018-05-16 11:15:43 +02:00
Aaron Weiss
7d8feafb52
Documented panic condition for client registration with a reactor.
2018-05-14 20:53:06 +02:00