Sadly this is something that Nim can also improve on. I will actually be looking into getting the stdlib ready for the highly sought after 1.0 release and will be keeping this in mind.
The stdlib not working without GC, making not truly optional, is one of the main reasons I stopped using nim - though I haven't checked if this is better in some time.