Janis König
5658fe514f
Provide encapsulated Tls error information
...
When `.to_string()` is invoked on a the crate-wide Error enum,
the error message using #[error("...")] is displayed.
Some of those wrapped internal enums also contain, possibly more
helpful, error messages. This will include the string gathered by
`.to_string()` from the encapsulated enum in the main error message.
See also
https://github.com/squidowl/halloy/pull/143
2023-07-11 15:19:27 +02:00
aaron
26ab9425bd
Merge pull request #252 from martinetd/query_mode
...
irc-proto: allow modes with no prefix
2023-06-23 22:09:31 -04: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
Aaron Weiss
8eef9c5688
Merge pull request #235 from simnalamburt/clippy
...
Fix all `cargo clippy` warnings.
2023-06-05 15:28:33 -04:00
Hyeon Kim
66f18c2044
examples: Fix all clippy warnings
2023-06-04 01:26:54 +09:00
Hyeon Kim
82387576a0
client/mod.rs: Fix mistake
2023-06-04 01:26:54 +09:00
Hyeon Kim
a9b1ea3946
Run cargo fmt
2023-06-04 01:26:15 +09:00
Hyeon Kim
781cbab4a4
Fix all trivial clippy warnings using cargo clippy --fix
2023-06-04 01:26:15 +09:00
Hyeon Kim
a8d6df4e31
Remove redundant uses of format!()
2023-06-04 01:26:12 +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
Aaron Weiss
3d037df761
Merge pull request #237 from yancyribbens/fix/readme-example
...
Update the readme example
2023-05-22 10:57:17 -07:00
Aaron Weiss
d74e0117e7
Update README.md with fixed CI link
2023-05-22 13:47:33 -04:00
Aaron Weiss
c533c49e9f
Update ci.yml for MSV 1.64
2023-05-22 13:34:12 -04:00
Aaron Weiss
34aae72edc
Merge pull request #249 from udoprog/develop
...
Bump dependencies, set rust-version, and some more maintenance work
2023-05-22 10:30:09 -07:00
John-John Tedro
aacba7fef1
Add Github workflow
2023-04-12 17:50:47 +02:00
John-John Tedro
3e396f8577
Bump dependencies, set rust-version
2023-04-12 17:50:47 +02:00
Aaron Weiss
d40e3ce844
Merge pull request #248 from Bytekeeper/develop
...
Fix to allow stripping of 0-prefixed color codes
2023-03-28 13:15:48 -07: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
Aaron Weiss
71610a8a8e
Merge pull request #247 from kpcyrd/chrono-cve-2020-26235
...
Reconfigure chrono to remove CVE-2020-26235/RUSTSEC-2020-0159
2023-03-02 13:26:02 -05:00
kpcyrd
a4d789a74c
Reconfigure chrono to remove CVE-2020-26235
2023-03-02 11:54:50 +01:00
Aaron Weiss
78216d601c
Merge pull request #243 from seam345/develop
...
remove reference to for_each_incoming
2022-08-15 13:09:32 -07:00
sean borg
1e2a03d327
remove reference to for_each_incoming
2022-08-12 19:59:33 +01:00
Aaron Weiss
925651cd02
Merge pull request #236 from simnalamburt/dangerously-accept-invalid-certs
...
New option: dangerously_accept_invalid_certs
2022-02-25 17:20:22 -05:00
yancy
38008c66ca
Update the readme example to reflect the current API and include an example Cargo.toml as well
2021-12-09 17:41:28 +01:00
Daniel Lublin
bcc6479d22
New option: dangerously_accept_invalid_certs
...
This patch adds an option to dangerously ignore all ceritificate
verifications. This option must be used with extreme caution and should
only be used as a last resort.
Closes #209 , #230
Co-authored-by: Hyeon Kim <simnalamburt@gmail.com>
2021-11-15 05:52:15 +09:00
Aaron Weiss
f254b10fca
Merge pull request #233 from yancyribbens/fix/link-rot
...
Update broken link location to rfc 2812
2021-08-04 12:32:01 -04:00
yancy
b87b1f37e8
Update broken link location to rfc 2812
2021-07-29 14:47:39 +02:00
Aaron Weiss
f76c845979
Merge pull request #232 from maugier/fix/develop/colon_in_suffix
...
Fix stringification of command suffixes with a leading colon
2021-05-04 18:18:41 -04: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
0179b46c5d
Merge pull request #231 from freddyb/fix-ping-timeout-docs
...
Fix docstring and README example for ping timeout default
2021-04-30 21:59:54 -04:00
Frederik B
8605fcb421
Fix docstring and README example for ping timeout default
2021-04-11 21:03:07 +02:00
Aaron Weiss
ceb2ea27d1
bumped irc-proto dependency to 0.15.0
2021-01-24 14:21:08 -05:00
Aaron Weiss
02a113cca9
bump irc-proto version to 0.15.0 (whoops)
2021-01-24 14:19:50 -05:00
Aaron Weiss
3f4cbddafd
bump version to 0.15.0
2021-01-22 11:07:44 -05:00
Aaron Weiss
6e985a0a14
Merge pull request #228 from Johann150/missing-certificates
...
better errors for missing certificates
2021-01-19 14:40:54 -05:00
Johann150
b9d07ed9fb
better error for missing certificate files
...
made config::path pub(crate) to avoid code duplication
but not pub so it is not part of the public API
2021-01-14 18:07:28 +01:00
Johann150
1733c22b86
add ConfigError variant for missing files
...
This should be used when the config contains a path but that file cannot be read.
2021-01-14 18:04:03 +01:00
Aaron Weiss
ed8c163ff9
Merge pull request #225 from r3v2d0g/futures-util-alloc
...
Enable 'futures-util/alloc' feature
2021-01-05 04:07:44 -05:00
Aaron Weiss
23c924b7cc
Merge branch 'develop' into futures-util-alloc
2021-01-03 14:11:40 -05:00
Aaron Weiss
0872bf5823
Merge pull request #226 from udoprog/tokio1
...
Upgrade to Tokio 1.0
2021-01-03 14:11:13 -05:00
John-John Tedro
def1442e5e
Upgrade to Tokio 1.0
2020-12-29 09:59:39 +01:00
Matthieu Le brazidec (r3v2d0g)
c846630e0d
Enable 'futures-util/alloc' feature
2020-12-21 18:13:05 +01:00
Aaron Weiss
73dbbedc75
Merge pull request #223 from martinetd/mode
...
irc-proto: allow empty mode
2020-12-06 15:25:19 -05: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
Aaron Weiss
d77696b389
Merge pull request #220 from udoprog/develop
...
Bump to Tokio 0.3.0 and clean up a few dependencies
2020-12-03 19:07:00 -05:00
John-John Tedro
370fb1c088
Bump and re-use a few unused deps
2020-12-02 08:04:39 +01:00