Some dependencies needed the ? operator -.-.

Removed documentation, rely on docs.rs instead.
This commit is contained in:
kennytm 2017-01-13 11:27:57 +08:00
parent 01e3af105e
commit 1d5d6f2883
4 changed files with 4 additions and 34 deletions

View file

@ -17,8 +17,7 @@ os:
- osx - osx
rust: rust:
- 1.8.0 - 1.13.0
- 1.9.0
- 1.14.0 - 1.14.0
- nightly - nightly
@ -29,9 +28,6 @@ env:
matrix: matrix:
allow_failures: allow_failures:
- env: ARCH=i686
rust: 1.8.0
# Note: on 1.8.0, all i686 build panics with the message "Box<Any>", cause all `should_panic` tests to fail.
- env: ARCH=i686 - env: ARCH=i686
rust: nightly rust: nightly
# Note: nightly-i686 keeps failing, it seems that travis's nightly is outdated. # Note: nightly-i686 keeps failing, it seems that travis's nightly is outdated.

View file

@ -7,9 +7,9 @@ authors = ["kennytm <kennytm@gmail.com>"]
keywords = ["qrcode"] keywords = ["qrcode"]
repository = "https://github.com/kennytm/qrcode-rust" repository = "https://github.com/kennytm/qrcode-rust"
readme = "README.md" readme = "README.md"
documentation = "http://kennytm.github.io/qrcode-rust/" documentation = "http://docs.rs/qrcode"
exclude = [ exclude = [
".travis.yml", ".gitignore", "update_doc.sh", "test-data" ".travis.yml", ".gitignore", "test-data"
] ]
[dependencies] [dependencies]

View file

@ -6,7 +6,7 @@ qrcode-rust
[![crates.io](http://meritbadge.herokuapp.com/qrcode)](https://crates.io/crates/qrcode) [![crates.io](http://meritbadge.herokuapp.com/qrcode)](https://crates.io/crates/qrcode)
[![MIT / Apache 2.0](https://img.shields.io/badge/license-MIT%20%2f%20Apache%202.0-blue.svg)](./LICENSE-APACHE.txt) [![MIT / Apache 2.0](https://img.shields.io/badge/license-MIT%20%2f%20Apache%202.0-blue.svg)](./LICENSE-APACHE.txt)
QR code and Micro QR code encoder in Rust. [Documentation](https://kennytm.github.io/qrcode-rust). QR code and Micro QR code encoder in Rust. [Documentation](https://docs.rs/qrcode).
Cargo.toml Cargo.toml
---------- ----------

View file

@ -1,26 +0,0 @@
#!/usr/bin/env bash
# Generate documentation and commit into the gh-pages branch.
set -euo pipefail
VERSION=$(grep -w version -m 1 Cargo.toml)
COMMIT=$(git rev-parse HEAD)
rustup default nightly
cargo doc
git worktree add doc gh-pages
cd doc
git rm -r .
git reset HEAD .gitignore index.html
git checkout -- .gitignore index.html
mv ../target/doc/qrcode .
mv ../target/doc/*.{txt,woff,js,css} .
mkdir src
mv ../target/doc/src/qrcode src
git add .
git commit -m "Update doc for ${VERSION} (${COMMIT})"
cd ..
rm -rf doc
git worktree prune