-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Closed
Milestone
Description
Rust has a module system and so it seems like a waste to just export everything as std::foo and extra::foo: grep '^pub mod' | wc -l counts 53 and 50 direct exports respectively.
Low hanging fruit would be moving std::{i8,uint,f32, ...} to std::num::*.
Other possibilities (off the top of my head):
std:ascii,c_strtostr::*or evenascii,c_str,to_str,from_str,str,fmttostd::text::*(or anything in between)hashmap,trie,vec,at_vectocontainer::*at_vectovec::at_vec(orcontaineras above)ptr,owned,managed,borrowtoptr::*(with the currentptrbecomingptr::raw.)
extra:bigint,rational,complextonum::*dlist,list,ringbuf,smallintmap,priority_queue,treemaptocontainer::*sha1,sha2,md5,md4tocrypto::*(or something, I'd feel bad about puttingmd5/md4in "crypto")
(I imagine it'd be very easy to get carried away with making it too granular.)
Metadata
Metadata
Assignees
Labels
No labels