Manos Pitsidianakis
51e3f163d4
melib/jmap: Use Url instead of String in deserializing
...
Catch invalid URLs at the parsing stage.
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
2024-02-13 14:13:53 +02:00
Manos Pitsidianakis
1048ce6824
melib/utils: add hostname() utility function
...
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
2024-02-11 17:13:05 +02:00
Manos Pitsidianakis
70fc2b455c
Update nix dependency to 0.27
...
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
2024-02-11 17:13:05 +02:00
Manos Pitsidianakis
7412c23870
Bump meli version to 0.8.5-rc.3
...
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
2023-12-11 13:18:50 +02:00
Manos Pitsidianakis
e19f3e572c
Cargo-sort all Cargo.toml files
...
With:
cargo sort --grouped --order package,bin,lib,dependencies,features,build-dependencies,dev-dependencies,workspace meli
cargo sort --grouped --order package,bin,lib,dependencies,features,build-dependencies,dev-dependencies,workspace melib
cargo sort --grouped --order package,bin,lib,dependencies,features,build-dependencies,dev-dependencies,workspace tools
cargo sort --grouped --order package,bin,lib,dependencies,features,build-dependencies,dev-dependencies,workspace fuzz
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
2023-12-10 15:33:10 +02:00
Manos Pitsidianakis
3a70979483
Update minimum rust version from 1.65.0 to 1.68.2
...
Found with `cargo msrv --bisect --min 1.67.0`
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
2023-12-09 18:01:12 +02:00
Manos Pitsidianakis
d16afc7d8d
Bump version to 0.8.5-rc.2
...
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
2023-12-04 17:22:56 +02:00
Manos Pitsidianakis
10c3b0eabe
Bump version to 0.8.5-rc.1
...
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
2023-12-02 19:20:34 +02:00
Manos Pitsidianakis
23507932f9
imap: update cache on set_flags
...
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
2023-11-27 09:37:58 +02:00
Manos Pitsidianakis
f81a1e2338
Bump version to 0.8.4
...
0.8.3 had a misbehaving test.
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
2023-11-22 21:48:59 +02:00
Manos Pitsidianakis
af241d25cb
melib: bump version to 0.8.3
...
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
2023-11-22 15:13:03 +02:00
Manos Pitsidianakis
3d85ca2edf
Bump version to 0.8.2
...
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
2023-09-22 12:30:54 +02:00
Manos Pitsidianakis
7eed82783a
Bump version to 0.8.1
...
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
2023-09-13 19:08:21 +03:00
Manos Pitsidianakis
fe0a96f085
melib: update to 2021 edition
...
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
2023-09-13 18:47:00 +03:00
Manos Pitsidianakis
6476985ce6
Add Cross.toml for aarch64-unknown-linux-gnu builds
...
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
2023-09-05 15:33:28 +03:00
Manos Pitsidianakis
a615b4701b
dependencies: embed xdg-utils crate
...
No reason to have it out of the tree.
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
2023-09-03 10:13:25 +03:00
Manos Pitsidianakis
2dc2940586
melib/build.rs: add feature to use cache instead of downloading unicode data
...
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
2023-09-01 15:55:43 +03:00
Manos Pitsidianakis
b4f2f33576
remove deflate feature; make it a hard dependency
...
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
2023-09-01 15:55:42 +03:00
Damian Poddebniak
5459a84f3d
chore: Update to imap-codec 1.0.0 (w/o -beta
)
2023-08-28 18:16:48 +02:00
Manos Pitsidianakis
f7a4741bf1
melib/jmap: add jmap-trace feature
...
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
2023-08-28 13:47:42 +03:00
Manos Pitsidianakis
974b3a5305
Update bitflags, rusqlite dependencies
...
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
2023-08-25 08:22:36 +03:00
Manos Pitsidianakis
dc2b00442b
melib: run rustfmt and cargo-sort
2023-08-19 09:07:55 +03:00
Damian Poddebniak
4f6081b663
chore: Update to imap-codec 1.0.0-beta
.
2023-08-17 17:36:13 +02:00
Manos Pitsidianakis
97d3686815
melib/connections: use Happy Eyeballs algorithm Ꙭ
...
This commit adds a Happy Eyeballs [1] implementation taken from the
happy-eyeballs crate, which is in public domain.
While the function lookup_ip[0] iterates through the addresses returned by
A and AAAA records from a DNS lookup, it returns the first one which
always is an IPv4 address, unless there only is an AAAA record.
RFC6555 [1] recommends an algorithm for choosing the fastest address to
connect to, called "Happy Eyeballs". Ꙭ
[0]: melib/src/utils/connections.rs:497
[1]: https://www.rfc-editor.org/rfc/rfc6555
Fixes #268
2023-08-15 09:55:46 +03:00
Manos Pitsidianakis
8ecdb6df31
melib/imap: add imap-trace feature
2023-07-22 21:27:05 +03:00
Manos Pitsidianakis
b65934facc
melib/nntp: add nntp-trace feature
2023-07-22 21:15:59 +03:00
Manos Pitsidianakis
89c90f224a
melib: add nntp
feature
2023-07-22 21:01:42 +03:00
Manos Pitsidianakis
7db930cabd
melib: rename jmap_backend
feature to jmap
2023-07-22 20:54:55 +03:00
Manos Pitsidianakis
e9f09a153c
melib: rename mbox_backend
feature to mbox
2023-07-22 20:52:37 +03:00
Manos Pitsidianakis
fe7dcc508e
melib: rename notmuch_backend
feature to notmuch
2023-07-22 20:51:12 +03:00
Manos Pitsidianakis
fe027fa300
melib: rename maildir_backend
feature to maildir
2023-07-22 20:48:09 +03:00
Manos Pitsidianakis
129f10911b
melib: rename imap_backend
feature to imap
2023-07-22 20:46:23 +03:00
Manos Pitsidianakis
4874e30f3c
melib: add smtp-trace feature
...
If it's enabled, every read/write in an SMTP transaction will be logged
on TRACE level.
2023-07-22 16:25:54 +03:00
Manos Pitsidianakis
6280bc75e5
melib/jmap: fix blob download URL formatting
2023-07-18 16:13:58 +03:00
Manos Pitsidianakis
e9cd800f49
melib/nntp: add support for storing read status locally
2023-07-16 11:46:33 +03:00
Manos Pitsidianakis
b0e867eb68
Move src to meli/src
2023-07-08 13:58:32 +03:00
Damian Poddebniak
7c33f8999b
chore: Use published imap-codec 0.10.0.
2023-07-05 14:46:39 +02:00
Damian Poddebniak
9d51b6bd52
chore: Update imap-codec
.
2023-07-04 20:56:51 +02:00
Manos Pitsidianakis
4da5366959
Remove bincode dep, use serde_json for sqlite3 values
2023-06-17 20:11:12 +03:00
Damian Poddebniak
330887c4f5
refactor: Introduce imap-codec.
2023-06-17 20:10:21 +03:00
Manos Pitsidianakis
e0257c9d8d
Run cargo-sort
2023-06-04 21:13:55 +03:00
Manos Pitsidianakis
85d4316a6a
Replace old logging module with the log
create
2023-05-01 16:22:35 +03:00
Manos Pitsidianakis
3adf72aed0
Add support for utf-7 encoding
...
Closes #175
2023-04-10 10:33:46 +03:00
cos
256a3e252e
Update minimum supported rust version
...
Code requires label_break_value feature, which was [stabilized][0] in
release 1.65.0 of the toolchain.
[0]: https://github.com/rust-lang/rust/pull/99332
2023-03-06 09:56:43 +02:00
Manos Pitsidianakis
3688369278
melib/smtp: add smtp test
2022-09-10 21:39:56 +03:00
Manos Pitsidianakis
7650805c60
Bring stripped binary size down to 7MiB
2022-08-27 16:18:56 +03:00
Manos Pitsidianakis
7fca5f01ef
melib/jmap: fix jmap build with isahc 1.7.2
2022-08-18 18:12:44 +03:00
Manos Pitsidianakis
721891c295
Update nom dependency
2022-05-02 17:04:13 +03:00
Manos Pitsidianakis
2c23ca34cd
Update most Cargo dependencies
2022-05-02 17:03:56 +03:00
Manos Pitsidianakis
15ca25af73
Bump version to 0.7.2
2021-10-15 12:36:37 +03:00