test beta on travis and bump to 0.0.11
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
language: rust
|
||||
|
||||
rust:
|
||||
- nightly
|
||||
- 1.0.0-beta
|
||||
|
||||
after_success: |
|
||||
[ $TRAVIS_BRANCH = master ] &&
|
||||
[ $TRAVIS_PULL_REQUEST = false ] &&
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[package]
|
||||
|
||||
name = "smtp"
|
||||
version = "0.0.10"
|
||||
version = "0.0.11"
|
||||
description = "Simple SMTP client"
|
||||
readme = "README.md"
|
||||
documentation = "http://amousset.github.io/rust-smtp/smtp/"
|
||||
@@ -15,6 +15,8 @@ keywords = ["email", "smtp", "mailer"]
|
||||
time = "*"
|
||||
uuid = "*"
|
||||
log = "*"
|
||||
env_logger = "*"
|
||||
rustc-serialize = "*"
|
||||
rust-crypto = "*"
|
||||
|
||||
[dev-dependencies]
|
||||
env_logger = "*"
|
||||
|
||||
23
README.md
23
README.md
@@ -4,11 +4,6 @@ rust-smtp [ for more information.
|
||||
|
||||
Rust versions
|
||||
-------------
|
||||
|
||||
This library is designed for Rust 1.0.0-nightly (master).
|
||||
|
||||
Install
|
||||
-------
|
||||
|
||||
@@ -19,24 +14,6 @@ To use this library, add the following to your `Cargo.toml`:
|
||||
smtp = "*"
|
||||
```
|
||||
|
||||
Otherwise, you can clone this repository and run `cargo build`.
|
||||
|
||||
Example
|
||||
-------
|
||||
|
||||
There is an example command-line program included:
|
||||
```sh
|
||||
$ cargo test
|
||||
$ env RUST_LOG=info cargo run --example client -- -s "My subject" -r sender@localhost recipient@localhost < email.txt
|
||||
INFO:smtp::sender: connection established to 127.0.0.1:25
|
||||
INFO:smtp::sender: 1d0467fb21b2454f90a85dd1e0eda839: from=<sender@localhost>
|
||||
INFO:smtp::sender: 1d0467fb21b2454f90a85dd1e0eda839: to=<recipient@localhost>
|
||||
INFO:smtp::sender: 1d0467fb21b2454f90a85dd1e0eda839: conn_use=1, size=1889, status=sent (2.0.0 Ok: queued as BAA9C1C0055)
|
||||
INFO:client: Email sent successfully
|
||||
```
|
||||
|
||||
Run `cargo run --example client -- -h` to get a list of available options.
|
||||
|
||||
Tests
|
||||
-----
|
||||
|
||||
|
||||
Reference in New Issue
Block a user