Ok, here's a list of features I'm using in libraries on crates.io:
In carboxyl, that's:
-
std_misc
: specificallystd::sync::StaticMutex
for thread-local bookkeeping. It's an intermediate solution but the stabilization warning says, it may be merged withMutex
in the future. -
alloc
:std::sync::Weak
is only a matter of moving it somewhere else in the library, I assume? -
test
obviously for testing. -
thread_sleep
also for testing.
And a couple of numerical things from core
in acacia:
-
std::num::cast
. This is fairly important for generic literals. Sometimes I need a generic2.0
or4
. Alternatives? -
std::num::Int::pow
pends integer conversions. Any definite plan here? -
std::iter::AdditiveIterator
has become somewhat less generic, since theZero
trait was removed. Still using it though. But maybe it should better go to another library.