Commit graph

476 commits

Author SHA1 Message Date
Jon Gjengset
2aa8c87e35
Move to 2018 edition 2019-09-03 09:35:15 -04:00
Jon Gjengset
31e2490d22
Merge pull request #133 from avitex/master
Capability enum changes from imap-proto
2019-09-02 10:39:24 -04:00
avitex
1c51fbe3ac
Make clippy happy again 2019-09-02 23:44:18 +10:00
avitex
1303618565
Update imap-proto dependency 2019-09-02 23:06:37 +10:00
avitex
1c348a4ffa
Make has_str input generic 2019-09-02 23:02:51 +10:00
avitex
ff8e638591
Fix dyn warnings 2019-09-02 23:01:40 +10:00
Lucas
3a5c2e9d91
Implemented new enumerated Capabilities from imap-proto crate. 2019-09-02 23:00:40 +10:00
Jon Gjengset
2ce63ef17d
Bump version for #113 2019-06-28 17:41:29 -04:00
Jon Gjengset
0250e3e2b2
Make clippy happy again 2019-06-28 17:41:29 -04:00
Baudouin Feildel
e9f6a33bd5 Add Fetch.internal_date method (#113)
This method gives the parsed internal date from the FETCH answer.
2019-06-28 17:39:10 -04:00
Jon Gjengset
fec0fbae6e
Bump version for #119 2019-04-29 12:46:13 -04:00
Jon Gjengset
466c06c1f2
Avoid unnecessary import 2019-04-29 12:07:04 -04:00
Jon Gjengset
7f3a83a50c
Bump min Rust for assoc trait items w/aliases 2019-04-29 11:46:57 -04:00
Jon Gjengset
7ef76c029f
Badges for new CI 2019-04-29 11:18:38 -04:00
Jon Gjengset
04426957d8
Add Cirrus CI for FreeBSD build 2019-04-29 11:11:39 -04:00
Jon Gjengset
bcbde66a5b
Bump min Rust due to rename-dependency in dep 2019-04-29 11:07:54 -04:00
Jon Gjengset
d4287c907d
Merge pull request #119 from NickeZ/list-quoting-fix
Fix quoting issue in LIST command
2019-04-28 19:12:27 -04:00
Niklas Claesson
b35823da7c Fix quoting issue in LIST command 2019-04-28 21:59:55 +02:00
Jon Gjengset
ba09886e3b
Release 0.10.1 as 1.0.0
We're stable enough at this point that a 1.0 is warranted.
2019-03-18 22:29:26 -04:00
Jon Gjengset
ac526f4db2
Release 0.10.1 2019-03-18 22:28:21 -04:00
Jon Gjengset
04d75457e8
Don't force-install tarpaulin; it's slow
We can instead just clear the coverage cache if we want an upgrade.
2019-03-18 22:25:02 -04:00
Jon Gjengset
63f898c4bd
Don't specify os: linux more than needed 2019-03-18 22:24:39 -04:00
Jon Gjengset
c0e1fbba0c
Avoid duplicating unilateral response handling 2019-03-18 21:43:30 -04:00
Jon Gjengset
b0ac079c30
rustfmt 2019-03-18 21:37:39 -04:00
Jon Gjengset
a7a2798bf1
Merge pull request #110 from Emm54321/fix-noop
Handle unsolicited responses in noop.
2019-03-18 21:35:43 -04:00
Jon Gjengset
85d34f3735
Move to travis-ci.com 2019-03-17 12:46:14 -04:00
Jon Gjengset
5577fa678e
for old Rust too 2019-03-17 12:43:11 -04:00
Jon Gjengset
1dd4b31fa2
clippy 2019-03-17 12:39:29 -04:00
Jon Gjengset
eaa9426578
Use newly released upstream lettre 0.9 2019-03-17 12:12:54 -04:00
Emmanuel Lesueur
5df0759446 Handle unsolicited responses in noop. 2019-03-16 13:31:52 +01:00
Jon Gjengset
1827ade315
Merge pull request #109 from sanxiyn/doc
Fix uid_fetch doc
2019-02-21 12:52:40 -05:00
Seo Sanghyeon
d01eb40de0 Fix uid_fetch doc 2019-02-22 01:48:50 +09:00
Jon Gjengset
ead7d2173b
rustfmt beta 2018-12-10 10:14:09 -05:00
Jon Gjengset
70ca4f7ef8
Note the use of Greenmail 1.5.9 2018-12-07 16:37:48 -05:00
Jon Gjengset
67ee2f5175
Bump version for imap-proto fixes
- A `NIL` hierarchy delimiter in a `Name` is now properly parsed and exposed as `None`
 - `RFC822.TEXT` responses are now returned by `Fetch::text()`.
2018-12-07 16:34:57 -05:00
Jon Gjengset
21cb6f83fa
Restore test that passes in 1.5.9 2018-12-04 10:39:00 -05:00
Jon Gjengset
ec52a64017
Use up-to-date tarpaulin and only clean imap 2018-11-28 16:44:22 -05:00
Jon Gjengset
6d158e7eb5
GreenMail 1.5.9 allows empty SEARCH 2018-11-28 09:51:45 -05:00
Jon Gjengset
1b086d40de
Prep for 2018 edition [skip ci] 2018-11-28 09:44:01 -05:00
Jon Gjengset
b20488af56
Merge pull request #104 from jonhoo/no-extra-ci-caching
Avoid separate cache for integration tests
2018-11-25 16:14:13 -05:00
Jon Gjengset
5309102a1a
Avoid separate cache for integration tests
Travis uses [several factors](https://docs.travis-ci.com/user/caching/#caches-and-build-matrices)
to determine whether a given job shares a cache with a different job. In
particular, it uses any environment variables specified in
`.travis.yml`. Previously, integration tests set `INTEGRATION=true`,
which meant that the integration tests did not share a cache with the
non-integration tests, even though the compilation is exactly the same.

This patch fixes that by remvoing the `INTEGRATION` environment variable
and instead using the globally available
[`$TRAVIS_BUILD_STAGE_NAME`](https://docs.travis-ci.com/user/environment-variables/#default-environment-variables)
to run the setup required for integration tests only in stages that run
integration tests (namely integration and coverage). Now, the test and
integration stages share all the parameters that Travis uses to
determine cache identifiers, and so they'll share their cache!

Coverage still uses its own cache because it specifically needs to *not*
cache the compiled crate, but *does* need to cache `cargo-tarpaulin`.
2018-11-25 15:31:29 -05:00
Jon Gjengset
b9db23b6cb
Correct bash syntax [skip ci] 2018-11-25 15:30:13 -05:00
Jon Gjengset
3a68d5c5f9
Avoid double builds for tags
This is pretty sad, as I'd like for build status to also be visible for
release tags, but
https://github.com/travis-ci/travis-ci/issues/2456#issuecomment-441393704
and
https://github.com/travis-ci/travis-ci/issues/2200#issuecomment-441395545
make that unreasonable. So for the time being we'll settle with just
doing CI for PRs and pushes to master.
2018-11-24 16:06:39 -05:00
Jon Gjengset
30079d8b9b
Release 0.9.5 2018-11-24 15:22:53 -05:00
Jon Gjengset
7675efb230
Also test tagged releases 2018-11-24 15:22:53 -05:00
Jon Gjengset
86d4da84d7
Note that we support older stable versions
[skip ci]
2018-11-24 15:16:29 -05:00
Jon Gjengset
cb83d0d26c
Merge pull request #103 from jonhoo/tuned-ci
Refine Travis CI build and add rustfmt/clippy
2018-11-24 15:12:51 -05:00
Jon Gjengset
1e9ac02b69
Don't run CI on push except on master
This avoids double-testing PRs that are made from branches on
jonhoo/rust-imap.
2018-11-24 14:32:53 -05:00
Jon Gjengset
2d28884da7
Also test minimum supported Rust version
See https://travis-ci.org/jonhoo/rust-imap/builds/459198148.

Since b6e9ea080b, the `crate` issue is
fixed, so >=1.26.2 will work.
2018-11-24 14:18:39 -05:00
Jon Gjengset
f25b9995eb
Let's see what Rust version we support 2018-11-24 14:17:30 -05:00