diff options
author | Yi Kong <yikong@google.com> | 2021-03-17 17:48:07 +0800 |
---|---|---|
committer | Yi Kong <yikong@google.com> | 2021-03-17 17:48:54 +0800 |
commit | 87d8889fe21de6d8e13622cb116fba8801820ed3 (patch) | |
tree | 6b3f5ff8baf0cbcc19348b1807210b1239d10890 /CHANGELOG.md | |
parent | e84aa2e5214494bbf7c449026922a449454a503b (diff) | |
download | macaddr-87d8889fe21de6d8e13622cb116fba8801820ed3.tar.gz |
Import 'macaddr' crate version 1.0.1
Test: presubmit
Change-Id: I47b8930980b7a2cceef859d028f44564b1290505
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..5fcf599 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,31 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [1.0.1] - 2020-02-28 + +### Added + +- `#![forbid(unsafe_code)]` attribute + +## [1.0.0] - 2020-01-02 + +### Added + +- `{}` formatting render colon-separated MAC address, e.g. `AB:0D:EF:12:34:56` +- `{:-}` formatting flag render hyphen-separated MAC address, e.g. `AB-0D-EF-12-34-56` +- `{:#}` formatting flag render period-separated MAC address, e.g. `AB0.DEF.123.456` + +## [0.1.2] - 2019-10-17 + +### Added + +- `MacAddr6::nil` and `MacAddr8::nil` methods to create new nil MAC addresses +- `MacAddr6::broadcast` and `MacAddr8::broadcast` methods to create new broadcast MAC addresses + +### Fixed + +- `std::fmt::Display` implementation for `MacAddr8` properly renders address in a canonical form (#1) |