anders429 / more_ranges Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
All of the Index
and IndexMut
implementations are not visible in docs generated on nightly
.
This is a known issue, and it looks like a solution is in the works. 0.2.0
's release will be blocked until this is fixed, as I don't want incomplete docs to be published.
It seems that supporting Iterating and Indexing on stable is tricky at the moment, due std::iter::Step
and std::slice::SliceIndex
having experimental APIs. For Step
, I've considered using the step
crate to accomplish the same purpose. The only issue is it forces users to implement step::Step
if they want to iterate over a custom steppable range.
An alternative is to make iterating and indexing both available, in the same manner as they are implemented for the standard library range types, on nightly channels only. It seems that [autocfg
](https://crates.io/crates/autocfg does not currently offer probing channels yet, although it may come in the future. rustc_version
is another crate which can probe channels.
Another possibility is to lock iterating and indexing behind a nightly feature, allowing users to opt-in using cargo features.
This is the checklist of things that need to happen before the 0.2.0
release.
Iterator
.DoubleEndedIterator
.FusedIterator
.ExactSizeIterator
. These must be dependent on the target's pointer width.TrustedLen
.Index
for [T]
, Vec<T>
, &str
, and String
. Also implement Index
for CStr
using RangeFromExclusive
.Serialize
andDeserialize
from serde
.autocfg
is working towards some form of nightly
feature probing. This needs to be available to make the above features usable, since some of them require nightly
, but we don't want to restrict the crate to nightly.doc_item
to make it more clear what the requirements are for certain parts of the crate.rustdoc
issue with foreign implementations not being shown in documentation needs to be resolved (see #2). This only needs to be available in nightly
, since that is what docs.rs uses. We need this to be fixed before release, or else half of the documentation will be missing. There is a PR to fix it, but it seems to be blocked currently.A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.