38 lines
1.9 KiB
Smarty
38 lines
1.9 KiB
Smarty
<!-- this file uses https://github.com/livioribeiro/cargo-readme -->
|
|
<!-- do not manually edit README.md, instead edit README.tpl or src/lib.rs -->
|
|
|
|
# {{crate}}
|
|
|
|
[](https://crates.io/crates/imap)
|
|
[](https://docs.rs/imap/)
|
|
[](https://crates.io/crates/imap)
|
|
[](https://dev.azure.com/jonhoo/jonhoo/_build/latest?definitionId=11&branchName=master)
|
|
[](https://cirrus-ci.com/github/jonhoo/rust-imap)
|
|
[](https://codecov.io/gh/jonhoo/rust-imap)
|
|
[](https://deps.rs/repo/github/jonhoo/rust-imap)
|
|
|
|
{{readme}}
|
|
|
|
## Running the test suite
|
|
|
|
To run the integration tests, you need to have [GreenMail
|
|
running](http://www.icegreen.com/greenmail/#deploy_docker_standalone). The
|
|
easiest way to do that is with Docker:
|
|
|
|
```console
|
|
$ docker pull greenmail/standalone:1.6.3
|
|
$ docker run -t -i -e GREENMAIL_OPTS='-Dgreenmail.setup.test.all -Dgreenmail.hostname=0.0.0.0 -Dgreenmail.auth.disabled -Dgreenmail.verbose' -p 3025:3025 -p 3110:3110 -p 3143:3143 -p 3465:3465 -p 3993:3993 -p 3995:3995 greenmail/standalone:1.6.3
|
|
```
|
|
|
|
## License
|
|
|
|
Licensed under either of
|
|
* Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
|
|
* MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
|
|
at your option.
|
|
|
|
## Contribution
|
|
|
|
Unless you explicitly state otherwise, any contribution intentionally submitted
|
|
for inclusion in the work by you, as defined in the Apache-2.0 license, shall
|
|
be dual licensed as above, without any additional terms or conditions.
|