Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

An interesting compromise might be a crate maintained by the core team (std-ext?) that simply re-exports crates under generic names that the community has blessed as being, for better or worse, the default in the Rust ecosystem.

So someone who wants batteries included could add only std-ext as a dependency and get hyper as std_ext::http, regex as std_ext::regex, rust-csv as std_ext::csv and such to avoid needing awareness of the entire ecosystem when first starting out. Seasoned Rust developers would probably continue pulling in dependencies directly, but it might improve the experience for new Rust developers to have everything a 'use' statement away without needing to go look for it.



Several of these kinds of initiatives, in various forms, have been tried. They never really caught on. (The biggest was stdx)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: