Commit graph

48 commits

Author SHA1 Message Date
Raito Bezarius
c87644229e feat(irc-proto/ircv3): add standard replies support
Some checks failed
CI / rustfmt (pull_request) Failing after 20s
CI / test (pull_request) Failing after 57s
Only parsing is supported here, not reserialization.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-10-14 11:19:31 +02:00
Aaron Weiss
b45c5fa88d
bump version to 1.0 2024-03-18 16:34:00 -07:00
Aaron Weiss
8013504bbf
fix links in documentation. 2024-03-18 16:21:31 -07:00
Dominique Martinet
709151b94d irc-proto: allow modes with no prefix
irc clients can query the details of some modes (e.g. request list of
banned users) by sending a message with no plus or minus prefix,
e.g. "MODE #chan b"
2023-06-23 21:47:02 +09:00
Hyeon Kim
af6ef9eec2
irc-proto: Run cargo fmt 2023-06-04 01:24:25 +09:00
Hyeon Kim
956025c222
irc-proto: Fix a nontrivial clippy warning
References:
  https://rust-lang.github.io/rust-clippy/master/index.html#inherent_to_string_shadow_display
2023-06-04 01:24:24 +09:00
Hyeon Kim
467efb9eba
irc-proto: Misc refactoring 2023-06-04 01:00:25 +09:00
Hyeon Kim
b0c5f1fe90
irc-proto: Fix all trivial clippy warnings using cargo clippy --fix 2023-06-04 01:00:22 +09:00
John-John Tedro
3e396f8577 Bump dependencies, set rust-version 2023-04-12 17:50:47 +02:00
Dennis Waldherr
7ee6dfd4dc Fix to allow stripping of 0-prefixed color codes and filter characters
when switching back to Text
2023-03-27 18:36:34 +02:00
Maxime Augier
1e6824a1a5 Fix incorrect stringification of suffix with leading colon 2021-05-04 19:37:03 +02:00
Maxime Augier
b64a71e2fa Add tests for messages with a leading colon in the suffix 2021-05-04 19:35:36 +02:00
Aaron Weiss
02a113cca9
bump irc-proto version to 0.15.0 (whoops) 2021-01-24 14:19:50 -05:00
John-John Tedro
def1442e5e Upgrade to Tokio 1.0 2020-12-29 09:59:39 +01:00
Dominique Martinet
010c167a9a irc-proto: allow empty mode
irc clients can query what modes a channel has by sending an empty mode
command
2020-12-04 02:52:06 +01:00
John-John Tedro
43c8b1cb63 Bump to Tokio 0.3.0 2020-12-02 08:02:25 +01:00
Aaron Weiss
9e21dcf3c2
update contact email to hey.com address 2020-07-23 13:41:01 -04:00
Aaron Weiss
f531577935
Bumped version to 0.14.0 (for both irc and irc-proto). 2020-05-07 16:31:41 -04:00
Théo Gaillard
67e61e0606
feature: add TLS as feature and support multiples TLS backends (currently native-tls and rustls) 2020-03-31 09:48:57 +08:00
Théo Gaillard
7a246f1d9c
fix: upgrade tokio-util from 0.2 to 0.3 2020-03-06 07:55:27 +08:00
Aaron Weiss
e0a9115941
fixed escaping tests 2020-01-31 17:11:28 -05:00
Aaron Weiss
b44e4bb093
Merge branch '0.14' into develop 2020-01-31 13:22:41 -05:00
Kaleb Elwert
f785d15b4c Handle suffix as a plain param 2020-01-30 16:25:52 -08:00
Andreas Ots
b903c2595e extract tag value escape and unescape functions 2020-01-30 23:39:47 +02:00
Kaleb Elwert
52eca3642e Properly declare required tokio-util features
Fixes #194
2020-01-28 18:14:27 -08:00
Andreas Ots
2bb980044b Escape/unescape IRCv3 message tag values 2020-01-19 11:44:27 +02:00
John-John Tedro
f200a9f281 Switch to modern error handling 2019-12-27 17:01:03 +01:00
John-John Tedro
549e2e8722 Port to tokio 0.2 2019-12-18 21:06:04 +01:00
Adam Gausmann
3d78f8e0b7 Test fix 2019-06-10 21:04:18 -05:00
Aaron Weiss
c383c6241e
Merge branch 'develop' into 0.14 2019-06-06 13:40:55 -04: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
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
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
b452921a03
Made IrcCodec::sanitize part of the public API and improved documentation a bit. 2018-05-05 13:52:51 +02:00
Aaron Weiss
625b59d605
Fixed the tests in irc_proto::colors. 2018-05-05 13:49:47 +02:00
Aaron Weiss
c97469d630
Moved irc::proto::colors into irc-proto crate. 2018-05-05 13:48:35 +02:00
Aaron Weiss
3003d9bdcc
Put the tokio codec (IrcCodec) behind a tokio feature. 2018-05-05 13:37:36 +02:00
Aaron Weiss
3df2c49074
Fixed tests for irc-proto. 2018-05-05 13:37:36 +02:00
Aaron Weiss
fcadf49d31
Added some more irc-proto metadata to Cargo.toml from publishing placeholder. 2018-05-05 13:37:36 +02:00
Aaron Weiss
70b7349c24
Fixed up split out irc-proto crate. 2018-05-05 13:37:36 +02:00
Aaron Weiss
f1f63223e8
Minimized dependencies for irc-proto. 2018-05-05 13:37:35 +02:00
Aaron Weiss
991e030a4f
Started splitting out proto into its own crate. 2018-05-05 13:37:32 +02:00