test beta on travis and bump to 0.0.11

This commit is contained in:
Alexis Mousset
2015-04-04 23:47:21 +02:00
parent d59672ef26
commit 00f60f6b0e
3 changed files with 8 additions and 25 deletions

View File

@@ -1,5 +1,9 @@
language: rust
rust:
- nightly
- 1.0.0-beta
after_success: |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&

View File

@@ -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 = "*"

View File

@@ -4,11 +4,6 @@ rust-smtp [![Build Status](https://travis-ci.org/amousset/rust-smtp.svg?branch=m
This library implements a simple SMTP client.
See the [documentation](http://amousset.github.io/rust-smtp/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
-----