From 004a02950d883b33924c4a3e497e16ebd915da22 Mon Sep 17 00:00:00 2001 From: Rouven Spreckels Date: Wed, 12 Feb 2020 17:31:23 +0100 Subject: [PATCH] Use `byteorder = "1"` and `bytes = "0.5"`. --- Cargo.toml | 4 ++-- README.md | 15 +++------------ RELEASES.md | 4 ++++ src/lib.rs | 11 ++--------- 4 files changed, 11 insertions(+), 23 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 2aef5e9..5bee147 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "in-situ" -version = "0.3.0" +version = "0.4.0" authors = ["Rouven Spreckels "] description = "In Situ Endian-independent Bytes Access" documentation = "https://docs.rs/in-situ" @@ -32,4 +32,4 @@ travis-ci = { repository = "qu1x/in-situ" } [dependencies] byteorder = "1" -bytes = "0.4" +bytes = "0.5" diff --git a/README.md b/README.md index f4b9a09..c3d8403 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,6 @@ **In Situ Endian-independent Bytes Access** -**Requires stable Rust 1.26** - [![Build Status][]](https://travis-ci.org/qu1x/in-situ) [![Downloads][]](https://crates.io/crates/in-situ) [![Version][]](https://crates.io/crates/in-situ) @@ -25,23 +23,16 @@ ## Usage This crate is [on crates.io](https://crates.io/crates/in-situ) and can be -used by adding `in-situ` to the dependencies in your project's -`Cargo.toml`: +used by adding `in-situ` to the dependencies in your project's `Cargo.toml`: ```toml [dependencies] -in-situ = "0.3" -``` - -and this to your crate root: - -```rust -extern crate in_situ; +in-situ = "0.4" ``` ## License -Copyright (c) 2018 Rouven Spreckels +Copyright (c) 2018-2020 Rouven Spreckels Usage of the works is permitted provided that this instrument is retained with the works, so that diff --git a/RELEASES.md b/RELEASES.md index ffb1454..2e22804 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,3 +1,7 @@ +# Version 0.4.0 (2020-02-12) + + * Use `byteorder = "1"` and `bytes = "0.5"`. + # Version 0.3.0 (2018-05-13) * Add stable `i128_type` support and remove its feature requiring Rust 1.26. diff --git a/src/lib.rs b/src/lib.rs index 39507fd..a46af80 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -15,18 +15,11 @@ //! # Usage //! //! This crate is [on crates.io](https://crates.io/crates/in-situ) and can be -//! used by adding `in-situ` to the dependencies in your project's -//! `Cargo.toml`: +//! used by adding `in-situ` to the dependencies in your project's `Cargo.toml`: //! //! ```toml //! [dependencies] -//! in-situ = "0.3" -//! ``` -//! -//! and this to your crate root: -//! -//! ``` -//! extern crate in_situ; +//! in-situ = "0.4" //! ``` #![deny(missing_docs)]