Commit graph

63 commits

Author SHA1 Message Date
Chris Morgan c6480a9172 0.10.0: move Clone functionality into a feature.
No more separate Git branch for it; Cargo features fit the bill well.
2015-03-27 11:05:12 +11:00
Chris Morgan e84d5846bf 0.9.13 2015-03-26 10:28:57 +11:00
Chris Morgan f3fb1c5562 Use std::convert for AnyMap -> RawAnyMap. 2015-03-26 09:46:51 +11:00
Chris Morgan 97ec79029f Rust update. 2015-03-25 17:59:11 +11:00
Chris Morgan 143ee06268 Substantial refactoring, exposing a raw interface.
This is not necessarily the final form, but I think it’s pretty good.
The only alteration to the public interface is the removal of the
iteration methods from `AnyMap`; they are now attached to `RawAnyMap`.

The diff appears considerably more scary than it is in actual fact due
to some comparatively unnecessary changes like the field name (from
`data` to `raw`). Really, it’s minimal.
2015-03-24 13:42:01 +11:00
Chris Morgan 9a3d4ae73b Remove plenty of unnecessary 'statics. 2015-03-21 16:29:01 +11:00
Chris Morgan 81698f24f9 Slight Rust update. 2015-03-21 16:03:25 +11:00
Chris Morgan deb7daf170 Remove unused stability markers. 2015-03-12 22:58:20 +11:00
Chris Morgan 94d06205fc 0.9.12: Rust update 2015-03-02 23:40:27 +11:00
Chris Morgan b84ee0b14e 0.9.11: Rust update 2015-02-24 11:59:02 +11:00
Chris Morgan 8e12affa59 0.9.10: Rust update 2015-02-04 14:45:19 +11:00
Chris Morgan 26ca567814 0.9.9: Rust update 2015-01-21 16:17:18 +11:00
Chris Morgan d96c4a32ac 0.9.8: Rust update 2015-01-09 12:34:33 +11:00
Chris Morgan 0e65782e65 0.9.7: parity with the collections API
There’s some Rust updating here too.

This entails the addition of various methods and iterator types where
appropriate, based on what’s on `HashMap`, though I doubt that people
will actually be able to make all that much use of the iterators. They’d
be of more use with a basis of a trait other than `Any`, such as might
be conveniently achieved by combining this with my MOPA crate.
(Getting a little close to HKT there, innit?)

You know, I wonder sometimes if anyone ever reads these messages after
they are written, myself included. If you have read this, please drop me
a note; I’m curious.

I’ve also gone over all the stability attributes, marking things as
appropriate.
2015-01-07 20:51:13 +11:00
Chris Morgan ef020b03ce 0.9.6
Changed the deprecated `#[deriving(…)]` to `#[derive(…)]`.

(Why not 0.9.5? I messed up, publishing the `clone` branch as 0.9.5.)
2015-01-03 19:29:37 +11:00
Chris Morgan d41769b77a 0.9.4 2014-12-23 15:23:23 +11:00
Chris Morgan 8cc1b0c9f0 Merge pull request #14 from drbawb/feature/namespaced-enums
Use namespaced enum variants for HashMap `Entry`s
2014-12-23 13:14:02 +11:00
Robert Straw f1710353a0 Do not re-export the Entry enum ...
A minor [breaking-change] as downstream users will have to import the variants
themselves, or prefix the variant with the Entry enum's namespace.
2014-12-22 14:33:28 -06:00
Robert Straw de09145309 Use namespaced enum variants for the map-entry slots. 2014-12-22 09:33:25 -06:00
Chris Morgan 326bc69fc2 0.9.3 2014-12-17 13:48:09 +11:00
Chris Morgan 83434cc057 Fix a slightly erroneous comment. 2014-12-17 13:44:25 +11:00
Chris Morgan e57ba9e628 Rust update. 2014-12-17 13:29:49 +11:00
Chris Morgan 7c9bd44916 tuple_indexing is no longer gated! Yay! 2014-12-10 17:51:48 +11:00
Chris Morgan 905800cc30 Update metadata, 0.9.2. 2014-11-28 17:18:16 +11:00
Chris Morgan 77a6bf4569 Rust update. 2014-11-28 16:51:35 +11:00
Chris Morgan 901b94ef25 Bump version to 0.9.1. 2014-11-19 22:16:46 +11:00
Chris Morgan cefa48967d Implement AnyMap.entry(). 2014-11-19 22:15:48 +11:00
Chris Morgan c29e78c563 Rust update.
This includes following the standard new semantics for `insert` and
`remove`, where they return any value that was previously present, and
renaming `find` and `find_mut` to `get` and `get_mut`. For the moment,
I’ve even provided a deprecation path! Will wonders ever cease?
2014-11-08 10:24:37 +11:00
Chris Morgan 10244cfbba Make trait bounds more explicit. 2014-11-08 10:09:21 +11:00
Chris Morgan 947a9a13bf Can I diagnose the problem with Rust CI? 2014-11-07 17:08:14 +11:00
Chris Morgan 63e4c18ed7 Drop the Makefile in favour of Cargo. 2014-11-07 16:45:12 +11:00
Chris Morgan 1446d0ae87 Rust syntax update in README. 2014-11-07 16:43:48 +11:00
Chris Morgan fc5cee3e04 Get a new Rust CI token.
(Doc uploading doesn't seem to be working.)
2014-11-07 16:37:14 +11:00
Chris Morgan b836d28a13 Elide superfluous lifetimes. 2014-11-07 16:26:12 +11:00
Chris Morgan a2560a090f Rust update. 2014-11-02 21:45:52 +11:00
Chris Morgan 512885e502 Remove obsolete managed_heap_memory lint warning. 2014-10-06 16:39:35 +11:00
Chris Morgan 3210c8082b Make Travis use its own Rust support and cargo. 2014-09-29 08:58:51 +10:00
Chris Morgan 183e9ff248 Replace a deprecated method call. 2014-09-29 08:58:08 +10:00
Chris Morgan ad7ea81ba6 Add now-necessary lifetime bounds. 2014-09-15 13:32:57 -07:00
Chris Morgan 7dc36adf24 Ignore Cargo.lock (this is a library). 2014-08-22 19:12:54 -07:00
Chris Morgan 6bf612e2ed Update Cargo.toml for current conventions. 2014-08-22 19:12:09 -07:00
Chris Morgan c2473c1fce Merge pull request #9 from reem/contains
Add contains method for checking if a type is already in the map.
2014-08-14 17:41:46 +10:00
Jonathan Reem 2e37f0d1ae Add contains method for checking if a type is already in the map. 2014-08-13 21:01:19 -07:00
Chris Morgan 6daea53385 Update for upstream changes.
Also change from rlib/dylib to lib (dylib is not necessary and
complicates matters in this new rpath-free world).
2014-07-21 23:44:51 +10:00
Chris Morgan a1dadf856e Merge pull request #6 from tivek/patch-1
Fix int type inference in range calls
2014-07-21 11:50:04 +10:00
tivek 8b30c87fe6 Fix int type inference in range calls 2014-07-19 11:32:17 +02:00
Chris Morgan 036d7b0231 Merge pull request #5 from reem/cargo
Add Cargo Support
2014-07-03 12:49:05 +10:00
Jonathan Reem c9d196be5f Updated versions to 0.9.0. 2014-07-02 09:57:03 -07:00
Jonathan Reem 330bc5aa1e Enabled Cargo and moved Makefile to use target. 2014-07-02 09:56:34 -07:00
Chris Morgan 8134113fa9 Merge pull request #4 from tomassedovic/impl-mutable
Implement Collection and Mutable traits
2014-06-23 22:27:50 +10:00