Merge pull request #49 from dermesser/use-docs-rs

Use docs.rs for documentation
This commit is contained in:
Lewin Bormann
2016-11-26 10:45:46 +01:00
committed by GitHub
3 changed files with 4 additions and 7 deletions

View File

@@ -15,14 +15,11 @@ before_script:
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/Library/Python/2.7/bin:$HOME/.local/bin:$PATH
script:
- travis-cargo test -- --features $FEATURE --no-default-features
- travis-cargo doc -- --features $FEATURE --no-default-features
after_success:
- "[[ $TRAVIS_OS_NAME = linux ]] && travis-cargo --only stable doc-upload"
- "[[ $TRAVIS_OS_NAME = linux ]] && travis-cargo --only stable coveralls"
env:
global:
- TRAVIS_CARGO_NIGHTLY_FEATURE=""
- secure: "J3jotdDitbd+Lzx1hsafqrCXYTOC/BJUuVzcrXGr94+hetbd1S79aUEW3j1sBfmIhgHpgss2FkzqvvxpYjurMkqBtgWEb/eN942+gqGNuWZPi+wP/DOYWUrd1iaCT6cihHB6lfd54HB3DUOuwtVUz3m9twAYZ8leeHeSUD12O5k="
matrix:
- FEATURE=with-serde-codegen
- FEATURE=nightly

View File

@@ -1,11 +1,11 @@
[package]
name = "yup-oauth2"
version = "1.0.1"
version = "1.0.2"
authors = ["Sebastian Thiel <byronimo@gmail.com>", "Lewin Bormann <lbo@spheniscida.de>"]
repository = "https://github.com/dermesser/yup-oauth2"
description = "An oauth2 implementation, providing the 'device' and 'installed' authorization flow"
documentation = "http://dermesser.github.io/yup-oauth2"
description = "An oauth2 implementation, providing the 'device', 'service account' and 'installed' authorization flows"
documentation = "https://docs.rs/yup-oauth2/"
keywords = ["google", "oauth", "v2"]
license = "MIT OR Apache-2.0"
build = "src/build.rs"

View File

@@ -46,7 +46,7 @@ work by you, as defined in the Apache-2.0 license, shall be dual licensed as abo
additional terms or conditions.
[API-docs]: http://dermesser.github.io/yup-oauth2
[API-docs]: https://docs.rs/yup-oauth2/
[examples]: https://github.com/dermesser/yup-oauth2/tree/master/examples
[auth-usage]: https://raw.githubusercontent.com/dermesser/yup-oauth2/master/examples/auth.rs-usage.gif