3 ms·
I meant how imports work within a package, since that is what was being discussed in the article. Nested `mod`s with sometimes `pub` and then `use` for other s
by fastball 6y ago
I meant how imports work within a package, since that is what was being discussed in the article.
Nested `mod`s with sometimes `pub` and then `use` for other stuff certainly seems more complex to me than `import X from P`.
Package/crate management is fairly trivial in both cases, yes. `npm i [package]` isn't exactly a difficult process either.