Skip to content

v0.0.2

Choose a tag to compare

@github-actions github-actions released this 21 Sep 14:00

πŸš€ Features

  • cache: add ExpiringMap
  • http: add bearer_token
  • net: add is_valid_hostname and HostnameError
  • net: add is_public_ip
  • time: add unix_now_millis
  • time: add unix_now and ClockError

πŸ› Bug Fixes

  • net: reject hostnames whose last label is a number

πŸ”§ Miscellaneous

  • ignore the VS Code local history

♻️ Refactoring

  • hex: name the hex parameter hex instead of s
  • net: make the CIDR prefix precondition explicit

πŸ“ Documentation

  • net: spell out what is_public_ip guarantees and what it cannot know
  • document the ExpiringMap capacity bound and the unix_now_millis saturation

βœ… Tests

  • cache: check that a non-empty map is not empty
  • benchmark is_public_ip and ExpiringMap

πŸ‘· CI/CD

  • exclude the equivalent ExpiringMap sweep-guard mutant
  • publish with trusted publishing only