Repository navigation
Closed
Labels
A:std-libraryDefining and improving the standard library written in Nucategory:enhancementNew feature or requestcategory:meta-issueAn issue that tracks other issues
Description
below are some points identified to go forward with the standard library
Note
details might be missing, very likely, so feel free to ask questions about this roadmap!
this list can be made better 😉
❗ TODO
- structuring the architecture of the library
- an example at
amtoine/test-nu-std - stdlib: make the library a standalone crate #8770
- add LICENSE to nu-std #8803
- remove nu_cli crate dependency from nu_std #8807
- stdlib: refactor into a multi-module library #8815
- ❗ the NAMESPACE
- submodules FEATURE: fix the namespace of the standard library (not testing) #9193
appears it has been fixedmaincommands- expose modules, e.g.
log, to the outside - REFACTOR: move
run-testsand fix thestd assertnamespace #9303
- an example at
- populating the source base with command ideas, from the
rustsource base or fromnu_scripts- the full list: standard library: a few ideas of commands #8311
- an open discussion: moving commands from `rust` to the `std` library #9061
- discuss a versioning system to tie the library to a
nushellrevision and avoid conflicts- the original discussion at #standard-library/stdlib versioning
✔️ DONE
- define the distribution of
std.nu - define an easy way to use
std.nu(e.g. if it's in NU_LIB_DIRS it's justuse std.nu)- i think it has been solved for free in stdlib: add an automatic loading of "prelude" commands #8627 => a simple
use stdoruse std ...from anywhere insidenushell, without thestd.nufile on disk will work
- i think it has been solved for free in stdlib: add an automatic loading of "prelude" commands #8627 => a simple
- bring the tests to the main CI
- write a clear
CONTRIBUTING.md
Note
see
- the opened issues
- the opened PRs
- and all of them here
Reacted by Máté FARKAS, Hörmet Yiltiz, Felix Schröter, Auca Coyan, Uli Troyo, Emily Grace Seville and ryan4yin | 二花
Reacted by Reilly Wood, Máté FARKAS, Stefan Holderbach, Mel Massadian, mike, Sergei Maximov, Chris Dawkins, Benoît Cortier and ryan4yin | 二花
Metadata
Metadata
Assignees
Labels
A:std-libraryDefining and improving the standard library written in Nucategory:enhancementNew feature or requestcategory:meta-issueAn issue that tracks other issues
Type
Projects
- StatusShow more project fieldsDone
Activity
amtoine commentedon Mar 19, 2023
std::tests::test_dirs::test_dirs_commandfails on MacOS #8528❗ things to do
matchbecause of the new builtinmatchfrom Add pattern matching #8590 and Add more pattern types to matcher #8605matchfrom std.nu #8616matchfrom the standard library #8625amtoine commentedon Mar 23, 2023
i started working on removing the
helpcommands from therustsource, but it's a bit more work than expected 🤔i'll continue in the following days!
it remind me of the need to have some kind of "prelude" as been said during the #open-mic yesterday
helpfamilly, from a "prelude"this will prove itself mandatory with the following work in progress
helpcommands with$nu#8505standard library: bring the tests into the main CI (#8525)
amtoine commentedon Apr 6, 2023
stdfrom a config file #8772REFACTOR: move `run-tests` and fix the `std assert` namespace (#9303)
kronberger-droid commentedon Nov 13, 2026
The roadmap is done in substance:
stdships inside the binary with its submodules,std-rfcis the incubator and the tests run in CI.Adding commands is ongoing by nature, so i'm closing this one.
New ideas are welcome as their own issues with the
A:std-librarylabel.