Cargo Features
[dependencies]
ord_subset = { version = "3.1.1", default-features = false, features = ["std", "unstable", "ops", "unchecked_ops"] }
- default = std
-
The
std
feature is set by default wheneverord_subset
is added without
somewhere in the dependency tree.default-features = false - std default
-
Provides ord_subset_* versions of allocating sorts on slices
Affects
slice_ext::OrdSubsetSliceExt.ord_subset_sort
,slice_ext::OrdSubsetSliceExt.ord_subset_sort_rev
,slice_ext::OrdSubsetSliceExt.ord_subset_sort_by
,slice_ext::OrdSubsetSliceExt.ord_subset_sort_by_key
… - unstable
-
Currently does nothing
Provides in principle access to features dependent on unstable functionality - ops unchecked_ops?
-
Forward core::ops implementations of T to OrdVar<T> e.g. impl Add<U> for OrdVar<T> where T: Add<U> all results are checked to be ordered by default Does not yet allow OrdVar
op
OrdVar unless T: Add<OrdVar> - unchecked_ops = ops
-
Deactivate Ord checks for the result of overloaded ops Because this is not a purely additive feature, it may cause interoperability issues with other crates