From 60aceba2bb1dfacbca395832d2f36eabd517fcb1 Mon Sep 17 00:00:00 2001 From: Sean McArthur Date: Thu, 6 Jun 2019 13:58:22 -0700 Subject: [PATCH] set publish to false, update meta links (#258) --- .travis.yml | 2 +- Cargo.toml | 7 ++++--- README.md | 4 ++-- src/buf/buf.rs | 2 +- src/buf/buf_mut.rs | 2 +- 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3deb61f..b8fae69 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,7 +19,7 @@ matrix: # # This job will also build and deploy the docs to gh-pages. - env: TARGET=x86_64-unknown-linux-gnu - rust: 1.15.0 + rust: 1.26.0 after_success: - | pip install 'travis-cargo<0.2' --user && diff --git a/Cargo.toml b/Cargo.toml index ca1a937..41ecb3b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,9 +5,8 @@ version = "0.5.0" # don't forget to update html_root_url license = "MIT" authors = ["Carl Lerche "] description = "Types and traits for working with bytes" -documentation = "https://carllerche.github.io/bytes/bytes" -homepage = "https://github.com/carllerche/bytes" -repository = "https://github.com/carllerche/bytes" +documentation = "https://docs.rs/bytes" +repository = "https://github.com/tokio-rs/bytes" readme = "README.md" keywords = ["buffers", "zero-copy", "io"] exclude = [ @@ -19,6 +18,8 @@ exclude = [ ] categories = ["network-programming", "data-structures"] +publish = false + [package.metadata.docs.rs] features = ["i128"] diff --git a/README.md b/README.md index 3b2a80b..5e0c2ba 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,9 @@ A utility library for working with bytes. [![Crates.io](https://img.shields.io/crates/v/bytes.svg?maxAge=2592000)](https://crates.io/crates/bytes) -[![Build Status](https://travis-ci.org/carllerche/bytes.svg?branch=master)](https://travis-ci.org/carllerche/bytes) +[![Build Status](https://travis-ci.org/tokio-rs/bytes.svg?branch=master)](https://travis-ci.org/tokio-rs/bytes) -[Documentation](https://carllerche.github.io/bytes/bytes/index.html) +[Documentation](https://docs.rs/bytes) ## Usage diff --git a/src/buf/buf.rs b/src/buf/buf.rs index 45ce668..ad3f812 100644 --- a/src/buf/buf.rs +++ b/src/buf/buf.rs @@ -1070,4 +1070,4 @@ impl Buf for Option<[u8; 1]> { // The existance of this function makes the compiler catch if the Buf // trait is "object-safe" or not. -fn _assert_trait_object(_b: &Buf) {} +fn _assert_trait_object(_b: &dyn Buf) {} diff --git a/src/buf/buf_mut.rs b/src/buf/buf_mut.rs index 84f8068..65821d8 100644 --- a/src/buf/buf_mut.rs +++ b/src/buf/buf_mut.rs @@ -1083,4 +1083,4 @@ impl BufMut for Vec { // The existance of this function makes the compiler catch if the BufMut // trait is "object-safe" or not. -fn _assert_trait_object(_b: &BufMut) {} +fn _assert_trait_object(_b: &dyn BufMut) {}