Skip to content

Commit

Permalink
Travis fix, README update, version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
wackywendell committed Apr 2, 2015
1 parent 43ce9c8 commit a043a4e
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,3 @@ after_success: |
sudo pip install ghp-import &&
ghp-import -n target/doc &&
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
language: lets us specify rust, which for now defaults to the latest nightly.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]

name = "primes"
version = "0.1.4"
version = "0.1.5"
authors = ["Wendell Smith <wendellwsmith@gmail.com>"]
license="BSD-3-Clause"

Expand Down
18 changes: 16 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,24 @@ primes

[![Build Status](https://travis-ci.org/wackywendell/primes.svg)](https://travis-ci.org/wackywendell/primes)

[Full Documentation](http://www.rust-ci.org/wackywendell/primes/doc/primes/)
[Full Documentation](http://wackywendell.github.io/primes)

A prime generator for Rust.

This package is available on [crates.io](git@github.com:wackywendell/primes.git) as `primes`.

This package provides an iterator over `all` primes, generating them lazily as it goes: see `PrimeSet::iter()`.
This package provides an iterator over `all` primes, generating them lazily as it goes.

The simplest usage is simply to create an `Iterator`:

```
use primes::PrimeSet;
let mut pset = PrimeSet::new();
for (ix, n) in pset.iter().enumerate().take(10) {
println!("Prime {}: {}", ix, n);
}
```

For more examples, see [the full documentation](http://wackywendell.github.io/primes)!

0 comments on commit a043a4e

Please sign in to comment.