Commit graph

728 commits

Author SHA1 Message Date
Aaron Weiss
87b84fdeb9
Changed naming scheme from server to client (resolves #46). 2018-01-28 02:16:50 +01:00
Aaron Weiss
9c574b00c0
Moved prelude module into its own file. 2018-01-28 02:02:45 +01:00
Aaron Weiss
af72e57c5f
Cleaned up a bunch of the examples. 2018-01-28 02:00:04 +01:00
Aaron Weiss
d6786936fa
Fixed the code that shouldn't have worked without AsciiExt. 2018-01-28 01:59:47 +01:00
Aaron Weiss
7a1d1d2af6
Added a reactor version of the simple example. 2018-01-28 01:50:39 +01:00
Aaron Weiss
e4d441695e
Merge branch 'use-failure' into develop 2018-01-28 01:16:38 +01:00
Aaron Weiss
afe3558880
Cleaned up a bunch of code with clippy. 2018-01-28 01:14:55 +01:00
Aaron Weiss
90276b63b0
Removed multiserver examples, and renamed nothreads to multiserver. 2018-01-28 01:03:49 +01:00
Aaron Weiss
5266e4098d
Refactored the whole crate to use failure. 2018-01-28 00:52:11 +01:00
Aaron Weiss
8782f66de4
Merge branch 'irc-reactor' into develop 2018-01-27 21:19:38 +01:00
Aaron Weiss
2c543e9674
Added README pointer to configuration fields in the docs. 2018-01-27 21:12:56 +01:00
Aaron Weiss
518303a013
Disabled JSON support by default. 2018-01-27 21:10:22 +01:00
Aaron Weiss
2d28a71c6c
Removed some trailing whitespace in reactor docs. 2018-01-27 20:59:41 +01:00
Aaron Weiss
6550bd0d96
Specified where to find our code of conduct in README. 2018-01-27 20:53:12 +01:00
Aaron Weiss
8349141b10
Clarified scope of code of conduct further. 2018-01-27 20:48:49 +01:00
Aaron Weiss
de6e5f331d
Added debug derivations for irc::client types (fixes #104). 2018-01-27 20:39:35 +01:00
Aaron Weiss
ce158fc612
Made unspecified server or nickname into errors instead of simply panics. 2018-01-27 20:26:56 +01:00
Aaron Weiss
67cca339a7
Eliminated a panic that can occur when using IrcServerFuture, and recommend using IrcReactor instead. 2018-01-27 19:50:48 +01:00
Aaron Weiss
fd4e5706eb
Added more documentation for IrcReactor, and made new_future internal-only. 2018-01-27 19:26:48 +01:00
Aaron Weiss
ff9eba2722
Made some of the reactor API more generic. 2018-01-27 15:35:44 +01:00
Aaron Weiss
982d1b5a0d
Added a function to access the tokio reactor handle in IrcReactor. 2018-01-27 15:18:15 +01:00
Aaron Weiss
e62d4a97aa
Added a first cut (without examples) of documentation for IrcReactor. 2018-01-24 14:51:41 +01:00
Aaron Weiss
495e419de0
Added some documentation to the reactor examples. 2018-01-24 12:28:07 +01:00
Aaron Weiss
fbe17978fc
Removed trailing whitespace in documentation. 2018-01-24 12:21:03 +01:00
Aaron Weiss
ab16c865bb
Added a function to spawn arbitrary futures on a reactor (i.e. opt-in "full" tokio support). 2018-01-24 12:13:33 +01:00
Aaron Weiss
233eab6969
Added an example that reconnects on error using IrcReactor. 2018-01-09 15:02:57 -05:00
Aaron Weiss
fc4b4cad7f
Reorganized imports in reactor.rs. 2018-01-08 23:54:06 -05:00
Aaron Weiss
47bbf38497
Removed nothreads_alt because that behavior is the default with reactors. 2018-01-08 23:50:41 -05:00
Aaron Weiss
c3863ed76b
Changed Travis CI badge to display status of stable branch. 2018-01-08 23:42:03 -05:00
Aaron Weiss
a7ae091ff5
Moved connection creation sooner for better error handling in IrcServer::from_config. 2018-01-08 23:19:29 -05:00
Aaron Weiss
bbc6b0244d
Added an experimental reactor API to hide tokio. 2018-01-08 21:52:56 -05:00
Aaron Weiss
de26b75204
Bumped version number to 0.12.8. 2018-01-07 18:54:06 -05:00
Aaron Weiss
40ff295821
Fixed parsing bug allowing messages without arguments to parse correctly. 2018-01-06 13:31:08 -05:00
Aaron Weiss
6821fd4853
Added another nothreads example where we join on all servers. 2018-01-02 11:49:38 -05:00
Aaron Weiss
452645a56f
Fixed compilation error with no-default-features. 2018-01-01 23:07:10 -05:00
Aaron Weiss
2a1ff81249
Bumped version number to 0.12.7. 2018-01-01 22:27:12 -05:00
Aaron Weiss
a0d0d3e249
Cleaned up a bunch of code with clippy. 2018-01-01 22:25:25 -05:00
Aaron Weiss
68666aef09
Made a stylistic change to the new message throttling code. 2018-01-01 21:52:23 -05:00
Aaron Weiss
70ff2ec992
Changed throttling window to be properly rolling. 2018-01-01 21:47:59 -05:00
Aaron Weiss
16292fcc2c
Improved documentation for message throttling configuration. 2018-01-01 21:47:28 -05:00
Aaron Weiss
e446ff5042
Added a repeater example demonstrating message throttling. 2018-01-01 21:20:36 -05:00
Aaron Weiss
c7772c0479
Changed message throttling to use a rolling window. 2018-01-01 21:18:33 -05:00
Aaron Weiss
172e55b623
Changed example in README to use toml instead of json. 2017-12-30 13:06:47 -05:00
Aaron Weiss
321bbec7ad
Changed message parsing to accept more line ending options. 2017-12-30 12:21:20 -05:00
Aaron Weiss
b64766c9be
Added an explicit code of conduct.
I've been slacking on this for so long because "one relatively small
crate isn't a community" but this is a lame excuse (and these rules
would've been enforced anyway, had the need arisen).
2017-12-24 21:56:38 -05:00
Aaron Weiss
2564e6b060
Added a bunch of detail about the high-level client API to the prelude. 2017-12-24 21:50:43 -05:00
Aaron Weiss
f78909f74d
Improved documentation for the top-level library and Message struct. 2017-12-24 21:23:19 -05:00
Aaron Weiss
6348ad0567
Fixed broken links in some documentation. 2017-12-24 21:22:51 -05:00
Aaron Weiss
8463114aec
Bumped version to 0.12.6 with updated package description. 2017-12-13 20:46:27 +01:00
Aaron Weiss
dcac92084f
Improved the documentation for irc::proto::message a bit. 2017-12-13 20:38:04 +01:00