Skip to content

Releases: milesgranger/baggie

v0.2.0

24 Dec 02:53
Compare
Choose a tag to compare
  • Allow keys to be anything which implements Eq and Hash, not just &str

Breaking changes from v0.1.0
Methods taking a reference to a generic key parameter now requires an additional, inferred type in the turbo fish.
ie. bag.get::<i32>(&key) -> bag.get::<i32, _>(&key) while regular annotations can stay the same. ie. let val: i32 = bag.get(&key)

v0.1.0

23 Dec 19:24
Compare
Choose a tag to compare

Initial release

  • Requires keys to be &str but supports main intended functionality