-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Break apart global unstable features #26192
Commits on Jun 17, 2015
-
core: Split apart the global
core
featureThis commit shards the broad `core` feature of the libcore library into finer grained features. This split groups together similar APIs and enables tracking each API separately, giving a better sense of where each feature is within the stabilization process. A few minor APIs were deprecated along the way: * Iterator::reverse_in_place * marker::NoCopy
Configuration menu - View commit details
-
Copy full SHA for c14d86f - Browse repository at this point
Copy the full SHA c14d86fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c44f539 - Browse repository at this point
Copy the full SHA c44f539View commit details -
collections: Split the
collections
featureThis commit also deprecates the `as_string` and `as_slice` free functions in the `string` and `vec` modules.
Configuration menu - View commit details
-
Copy full SHA for d444d0c - Browse repository at this point
Copy the full SHA d444d0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6895311 - Browse repository at this point
Copy the full SHA 6895311View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce1a965 - Browse repository at this point
Copy the full SHA ce1a965View commit details -
std: Deprecate the RandomAccessIterator trait
This trait has not proven itself over time as being core and fundamentally useful to iterators, so it's being deprecated to allow time to iterate on it out of tree.
Configuration menu - View commit details
-
Copy full SHA for 02a8d5b - Browse repository at this point
Copy the full SHA 02a8d5bView commit details -
std: Deprecate iter::{Unfold, Iterate}
Neither of these iterators has seen enough usage to justify their position in the standard library, so these unstable iterators are being slated for deletion.
Configuration menu - View commit details
-
Copy full SHA for 669d1cd - Browse repository at this point
Copy the full SHA 669d1cdView commit details -
std: Deprecate the copy_{,mut_}lifetime functions
Unsafe patterns such as `slice::from_raw_parts` and `CStr::from_ptr` have shown that dealing with lifetimes, while useful, is often a hindrance. Consequently these functions are rarely called today and are being deprecated.
Configuration menu - View commit details
-
Copy full SHA for 153de4c - Browse repository at this point
Copy the full SHA 153de4cView commit details -
This function has seen very little use and it seems better to explore this functionality through iterator adaptors instead of specialized functions.
Configuration menu - View commit details
-
Copy full SHA for c72e01e - Browse repository at this point
Copy the full SHA c72e01eView commit details -
std: Deprecate the IntSliceExt trait
This trait has seen very little usage and while safe, may not belong in the standard library.
Configuration menu - View commit details
-
Copy full SHA for f55c366 - Browse repository at this point
Copy the full SHA f55c366View commit details -
std: Remove two internal
str_internals
functionsThese were just exposed to be used elsewhere at some point, but neither is currently being used so just make them private again.
Configuration menu - View commit details
-
Copy full SHA for a05ed99 - Browse repository at this point
Copy the full SHA a05ed99View commit details -
std: Deprecate f{32,64}::consts::PI_2
These constants have been unstable for some time now already
Configuration menu - View commit details
-
Copy full SHA for 8797c9e - Browse repository at this point
Copy the full SHA 8797c9eView commit details -
std: Stabilize the remaining wrapping_* functions
This commit stabilizes the remaining `wrapping_*` functions on the primitive integer types as they follow the same conventions as other wrapping methods are were likely just initially unstable to be conservative.
Configuration menu - View commit details
-
Copy full SHA for cdb69e2 - Browse repository at this point
Copy the full SHA cdb69e2View commit details -
std: Deprecate all permutation-related slice methods
These methods have been unstable for quite some time, and it's not clear that these should remain in the standard library.
Configuration menu - View commit details
-
Copy full SHA for f85c4f6 - Browse repository at this point
Copy the full SHA f85c4f6View commit details -
std: Deprecate Vec::from_raw_buf
This function is more naturally expressed as slice::from_raw_buf plus a call to to_vec.
Configuration menu - View commit details
-
Copy full SHA for 68b628b - Browse repository at this point
Copy the full SHA 68b628bView commit details -
std: Stabilize the sync_poison feature
These accessor/constructor methods for a `PoisonError` are quite standard for a wrapper type and enable manipulation of the underlying type.
Configuration menu - View commit details
-
Copy full SHA for c032d6f - Browse repository at this point
Copy the full SHA c032d6fView commit details -
std: Stabilize the
once_new
featureThis function follows the well-established "constructor" pattern and the initialization constant will likely be deprecated in favor of it once `const_fn` is stabilized.
Configuration menu - View commit details
-
Copy full SHA for f358087 - Browse repository at this point
Copy the full SHA f358087View commit details -
std: Stabilize the
iter_{once,empty}
featuresThis commit stabilizes these two iterator primitives as they have gone through the RFC process and had some time to bake now.
Configuration menu - View commit details
-
Copy full SHA for 17a1059 - Browse repository at this point
Copy the full SHA 17a1059View commit details -
std: Stabilize the
str_matches
featureThis commit stabilizes the `str::{matches, rmatches}` functions and iterators, but renames the unstable feature for the `str::{matches,rmatches}_indices` function to `str_match_indices` due to the comment present on the functions about the iterator's return value.
Configuration menu - View commit details
-
Copy full SHA for 2d389c1 - Browse repository at this point
Copy the full SHA 2d389c1View commit details -
std: Deprecate the io::BufStream type
Questions about the utility of this type has caused it to move to crates.io in the `bufstream` crate, so this type can be deprecated.
Configuration menu - View commit details
-
Copy full SHA for 0d818b4 - Browse repository at this point
Copy the full SHA 0d818b4View commit details -
std: Deprecate the
exit_status
featureThese two functions should be replaceable with the `process::exit` function.
Configuration menu - View commit details
-
Copy full SHA for 96cce02 - Browse repository at this point
Copy the full SHA 96cce02View commit details -
std: Deprecate the
future
featureThis commit deprecates the `sync::Future` type to be developed outside in crates.io instead.
Configuration menu - View commit details
-
Copy full SHA for 04f7eba - Browse repository at this point
Copy the full SHA 04f7ebaView commit details -
std: Deprecate the
scoped
featureThe `thread::scoped` function will never be stabilized as-is and the API will likely change significantly if it does, so this function is deprecated for removal.
Configuration menu - View commit details
-
Copy full SHA for d645f8f - Browse repository at this point
Copy the full SHA d645f8fView commit details -
std: Deprecate the
thunk
moduleThis has been replaced with `FnBox`
Configuration menu - View commit details
-
Copy full SHA for 3346fb0 - Browse repository at this point
Copy the full SHA 3346fb0View commit details -
std: Move free-functions to associated functions
This commit moves the free functions in the `rc`, `arc`, and `boxed` modules to associated functions on their respective types, following the recent trend towards this pattern. The previous free functions are all left in-place with `#[deprecated]` pointers towards the new locations. This commit also deprecates `arc::get_mut` and `Arc::make_unique` with no replacement as they are racy in the face of weak pointers.
Configuration menu - View commit details
-
Copy full SHA for aa931e9 - Browse repository at this point
Copy the full SHA aa931e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4a2823 - Browse repository at this point
Copy the full SHA b4a2823View commit details -
std: Update stable since for
core::char
Also add `#[doc(hidden)]` to a few internal functions.
Configuration menu - View commit details
-
Copy full SHA for 252ef28 - Browse repository at this point
Copy the full SHA 252ef28View commit details -
std: Hide some internal functions more aggressively
* Add `#[doc(hidden)]` * Rename away from `Error::description`
Configuration menu - View commit details
-
Copy full SHA for edf9335 - Browse repository at this point
Copy the full SHA edf9335View commit details -
std: Stabilize vec_map::Entry::or_insert{,_with}
These functions mirror the other Entry APIs of other maps, and were mistakenly just not stabilized the first time around.
Configuration menu - View commit details
-
Copy full SHA for c9b40a3 - Browse repository at this point
Copy the full SHA c9b40a3View commit details -
Add comment about stabilizing CString::from_ptr
This naming needs to consider the raw vs ptr naming of Box/CStr/CString/slice/etc.
Configuration menu - View commit details
-
Copy full SHA for 913c227 - Browse repository at this point
Copy the full SHA 913c227View commit details
Commits on Jun 18, 2015
-
Configuration menu - View commit details
-
Copy full SHA for ec33338 - Browse repository at this point
Copy the full SHA ec33338View commit details