PackageTrack
Sign in Get early access

anymap

A safe and convenient store for one value of each type

0.12.1 8.2M downloads/mo #3462 most downloaded on crates.io chris-morgan/anymap

What this package is like to depend on

Last release 5 years ago

no release in 18 months

Ships unpredictably

gaps range from 2 weeks to 5.0 years

Some releases are documented

notes for 7 of 21 stable releases

1 version withdrawn

withdrawn after publishing

12 years old

24 releases · first in 2014

0 releases in the last 12 months

see the full history below

Release timeline

24 releases · Nov 2014 to Feb 2022
2015 2017 2019 2021 2023 2025
Release Pre-release Withdrawn

Releases

latest 24
  1. 1.0.0-beta.2 22 Feb 2022 pre-release
    Release notes
    • Fixed the broken Extend implementation added in 1.0.0-beta.1.

    • Split the hashbrown implementation into a new module, hashbrown: std and hashbrown can now coexist completely peacefully, with anymap::Map being powered by std::collections::hash_map, and anymap::hashbrown::Map being powered by hashbrown::hash_map. The raw_hash_map alias, provided in 1.0.0-beta.1 because of the ambiguity of what backed anymap::Map, is removed as superfluous and useless. RawMap remains, despite not being required, as an ergonomic improvement. With this, we’re back to proper completely additive Cargo features.

    Open source →
  2. 1.0.0-beta.1 25 Jan 2022 pre-release
    Release notes

    Not 1.0.0 after all, but let’s call it 1.0.0-beta.1 rather than 0.13.0.

    Open source →
    Release notes
    • Removed anymap::any::Any in favour of just plain core::any::Any, since its Send/Sync story is now long stable.

      • This loses Any + Sync. CloneAny + Sync is also removed for consistency. (So Any + Sync is gone, but Any, Any + Send and Any + Send + Sync remain, plus the same set for CloneAny.)
    • anymap::any::CloneAny moved to anymap::CloneAny. With nothing public left in anymap::any, it is removed.

    • Relicensed from MIT/Apache-2.0 to BlueOak-1.0.0/MIT/Apache-2.0.

    • Increased the minimum supported version of Rust from 1.7.0 to 1.36.0.

    • no_std is now possible in the usual way (default Cargo feature 'std'), depending on alloc and hashbrown.

    • Removed the bench Cargo feature which was mostly to work around historical Cargo limitations, but was solved by moving benchmarks from src/lib.rs to benches/bench.rs even before those limitations were lifted. The benchmarks still won’t run on anything but nightly, but that don’t signify.

    • Implemented Default on Map (not just on RawMap).

    • Added Entry::{or_default, and_modify} (std::collections::hash_map parity).

    • Removed the anymap::raw wrapper layer around std::collections::hash_map, in favour of exposing the raw HashMap directly. I think there was a reason I did it that seven years ago, but I think that reason may have dissolved by now, and I can’t think of it and I don’t like the particular safe as_mut/unsafe insert approach that I used. Because of the hashbrown stuff, I have retained anymap::RawMap is an alias, and anymap::raw_hash_map too. The end result of this is that raw access can finally access things that have stabilised since Rust 1.7.0, and we’ll no longer need to play catch-up.

    • Worked around the spurious where_clauses_object_safety future-compatibility lint that has been raised since mid-2018. If you put #![allow(where_clauses_object_safety)] on your binary crates for this reason, you can remove it.

    Open source →
  3. 0.12.1 20 Jan 2017
    Release notes
    • Remove superfluous Clone bound on Entry methods (#26)
    • Consistent application of #[inline] where it should be
    • Fix bad performance (see 724f94758def9f71ad27ff49e47e908a431c2728 for details)
    Open source →
  4. 0.12.0 05 Mar 2016
    Release notes
    • Ungate drain iterator (stable from Rust 1.6.0)
    • Ungate efficient hashing (stable from Rust 1.7.0)
    • Remove unstable Cargo feature (in favour of a bench feature for benchmarking)
    Open source →
  5. 0.11.2 22 Jan 2016
    Release notes

    0.11.2: just fixing warnings and such.

    Open source →
    Release notes
    • Rust warning updates only
    Open source →
  6. 0.11.1 24 Jun 2015
    Release notes

    0.11.1: Rust update for unstable.

    Open source →
    Release notes
    • Unstable Rust compatibility updates
    Open source →
  7. 0.11.0 09 Jun 2015
    Release notes

    0.11.0: merge concurrency branch.

    Open source →
    Release notes
    • Support concurrent maps (Send + Sync bound)
    • Rename nightly feature to unstable
    • Implement Debug for Map and RawMap
    • Replace clone Cargo feature with arcane DST magicks
    Open source →
  8. 0.10.3 18 Apr 2015
    Release notes

    This is accomplished at a certain loss of efficiency, sadly.

    Add the 'nightly' feature to get things back how they were.

    Open source →
  9. 0.10.2 15 Apr 2015
    Release notes

    0.10.2: Rust update for clone feature

    Open source →
  10. 0.10.0 27 Mar 2015

    Nothing published for this version

  11. 0.9.13 26 Mar 2015

    Nothing published for this version

  12. 0.9.12 02 Mar 2015

    Nothing published for this version

  13. 0.9.11 24 Feb 2015

    Nothing published for this version

  14. 0.9.10 04 Feb 2015

    Nothing published for this version

  15. 0.9.9 21 Jan 2015

    Nothing published for this version

  16. 0.9.8 09 Jan 2015

    Nothing published for this version

  17. 0.9.7 07 Jan 2015

    Nothing published for this version

  18. 0.9.6 03 Jan 2015

    Nothing published for this version

  19. 0.9.5 03 Jan 2015 withdrawn

    Nothing published for this version

  20. 0.9.4 23 Dec 2014

    Nothing published for this version

  21. 0.9.3 17 Dec 2014

    Nothing published for this version

  22. 0.9.2 28 Nov 2014

    Nothing published for this version

  23. 0.9.1 19 Nov 2014

    Nothing published for this version

  24. 0.9.0 11 Nov 2014

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive