Skip to content

Tags: ttys3/maxminddb-rust

Tags

0.14.0

0.14.0

* BREAKING CHANGE: All Strings in the `geoip2` structs are not returned
  as references. This was done to provide a significant performance
  improvement when ownership is not needed. Pull request by Matthew Wynn.
  GitHub oschwald#31.
* A new opt-in feature, `unsafe-str-decode`, has been added that will
  skip UTF-8 validation when decoding strings. You should only use this
  when you trust that the MaxMind DB is valid and contains valid UTF-8
  strings. This provides a modest performance improvement. Pull request
  by Matthew Wynn. GitHub oschwald#31.
* Many other internal improvements to reduce the number of allocations.

0.13.0

0.13.0

* Missing models for `DensityIncome`, `Domain`, and `Asn` were added
  and the missing `is_in_european_union` field was added to the
  `Country` model. Pull request by Sebastian Nadorp. GitHub oschwald#19.
* More details are now included in the `Display` implementation for
  `MaxMindDBError`. Pull request by Mike Cooper. GitHub oschwald#20.

0.12.0

0.12.0

* `Reader::open` has been removed. You should use `Reader::open_readfile`
  or `Reader::open_mmap`. Pull request by kpcyrd. GitHub oschwald#17 & oschwald#18.
* `Reader::open_readfile` no longer depends on `unsafe`. Pull request by
  kpcyrd. GitHub oschwald#17 & oschwald#18.

0.11.0

0.11.0

* An optional `mmap` cfg feature flag has been added. When set, `open`
  will use the `memmap` crate to memory map the database file rather
  than reading it from file. In addition to `open`, `open_readfile`
  and `open_mmap` are available. PR by moschroe. GitHub oschwald#16.
* `Reader::open` now takes an `AsRef<Path>`. Also, oschwald#16.
* `Reader::from_buf` allows using an existing buffer instead of
  specifying a database file. PR by kpcyrd. GitHub oschwald#15.

0.10.0

0.10.0

* Derive `Serialize` for GeoIP2 models. Pull request by Bryan Gilbert.
  GitHub oschwald#11.

0.9.0

Bump version

0.8.1

0.8.1

* Implement unimplemented deserialize methods.

0.8.0

0.8.0

* API CHANGE: Switch to Serde for deserialization. Data structures being
  deserialized to must implement the `Deserialize` trait. Pull request by
  Wesley Moore. GitHub oschwald#5.

0.7.2

0.7.2

* Update `log` to 0.3.7 and `rustc-serialize` to 0.3.23.

0.7.1

0.7.1 - update rustc-serialize