From 85fe726740e284fff7abadb1130e3b9c4de903a2 Mon Sep 17 00:00:00 2001 From: KokaKiwi Date: Mon, 10 Feb 2020 03:41:00 +0100 Subject: [PATCH] README reworks and copyright dates update --- LICENSE-MIT | 2 +- README.md | 13 +++++++++---- src/lib.rs | 2 +- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/LICENSE-MIT b/LICENSE-MIT index d4568f5..a7b461f 100644 --- a/LICENSE-MIT +++ b/LICENSE-MIT @@ -1,5 +1,5 @@ Copyright (c) 2013-2014 The Rust Project Developers. -Copyright (c) 2015-2016 The rust-hex Developers +Copyright (c) 2015-2020 The rust-hex Developers Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 2db0924..9453cfa 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,8 @@ hex === [![Crates.io: hex](https://img.shields.io/crates/v/hex.svg)](https://crates.io/crates/hex) [![Documentation](https://docs.rs/hex/badge.svg)](https://docs.rs/hex) -[![Build Status](https://travis-ci.org/KokaKiwi/rust-hex.svg?branch=master)](https://travis-ci.org/KokaKiwi/rust-hex) +[![Build Status (Travis)](https://travis-ci.org/KokaKiwi/rust-hex.svg?branch=master)](https://travis-ci.org/KokaKiwi/rust-hex) +[![Build Status (Github Actions)](https://github.com/KokaKiwi/rust-hex/workflows/Test%20hex/badge.svg?master)](https://github.com/KokaKiwi/rust-hex/actions) Encoding and decoding data into/from hexadecimal representation. @@ -33,7 +34,8 @@ hex = "0.4" ``` By default this will import `std`, if you are working in a -[`no_std`](https://rust-embedded.github.io/book/intro/no-std.html) environment you can turn this off by adding the following +[`no_std`](https://rust-embedded.github.io/book/intro/no-std.html) +environment you can turn this off by adding the following ```toml [dependencies] @@ -42,8 +44,11 @@ hex = { version = "0.4", default-features = false } ## Features -This crate has only one feature right now, `std`, which is enabled by default and can be -disabled with `default-features = false` ([see here](#Installation)). +- `std`: + Enabled by default. Add support for Rust's libstd types. +- `serde`: + Disabled by default. Add support for `serde` de/serializing library. + See the `serde` module documentation for usage. ## License diff --git a/src/lib.rs b/src/lib.rs index d5ada46..fac7454 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,5 +1,5 @@ // Copyright (c) 2013-2014 The Rust Project Developers. -// Copyright (c) 2015-2018 The rust-hex Developers. +// Copyright (c) 2015-2020 The rust-hex Developers. // // Licensed under the Apache License, Version 2.0 or the MIT license