All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.0.12 - 2020-02-01
WithCoordinates
andCoordinatesLimit
- make
Hexbot::fetch
async - min rustc: 1.39.0
0.0.11 - 2019-10-13
Seed::add
- impl ops::{Add,Sub} for Coordinates
hexbot::WidthHeight
improved replacement forWithCoordinates
andCoordinatesLimit
Hexbot::fetch
accept bothWithCoordinates
andWidthHeight
- old:
SeedError::NoColor
new:SeedError::NoColor(i32)
WithCoordinates
useWidthHeight
CoordinatesLimit
useWidthHeight
0.0.10 - 2019-09-28
- min rustc: 1.37.0
- library to use the hexbot API
- feature:
ErrorDescription
src/request_api.rs
0.0.9 - 2019-09-04
maintenance release
- fixing various non-code things
- updating dependencies
- Support for error and message response
.rustfmt.toml
- Switch from openssl to rustls
- more tests.
- support for hexbots
seed
parameter- add
seed: Option<&[i32]>
tofetch()
andfetch_with_coordinates()
- add
- more Errors
Fmt(fmt::Error)
EmptySeed
SeedToLong
InvalidSeedColor
Hexbot.clone()
(derive trait).- support for the width and height parameters of hexbot.
Hexbot.coordinates()
Hexbot.has_coordinates()
request_api::fetch_with_coordinates()
Error::WidthHeightOutOfRange
fmt::Display
forHexbot
.- Improved docs & Hacking.
- custom error type.
- more tests.
request_api::Hexbot.colors()
.- support for the count parameter of hexbot.
- output of
fmt::Display
for Hexbot. request_api::fetch()
- old:
request_api::fetch() -> Result<Hexbot, reqwest::Error>
- new:
request_api::fetch(count: i32) -> Result<Hexbot, Error>
- old:
request_api::Hexbot.color()
.
- documentation & hacking.
- Function names:
get_color()
->color()
get_hexbot()
->fetch()
- Use
tint::Color
instead ofString
for colors.
- tests (see c461bb9).
get_color()
methode torequest_api::Hexbot
.impl
lementation forfmt::Display
torequest_api::Hexbot
.
pub
lic fields fromrequest_api::Hexbot
.
- Support for requesting, parsing and printing a hexbot request without parameters.
- All stuff around a project like README, LICENSE, .gitignore, ...