While I was working on a library, I decided I wanted UUIDs, so I added Random and UUIDs as dependencies, and I saw that their versions were v1.11.0, and I thought, "Oh, they're part of the standard library".
Do I need to add them to my project, or can I just assume they're available and use them?
You should add them to your Project.toml
.
Thanks for confirming.
G Gundam has marked this topic as resolved.
G Gundam said:
While I was working on a library, I decided I wanted UUIDs, so I added Random and UUIDs as dependencies, and I saw that their versions were v1.11.0, and I thought, "Oh, they're part of the standard library".
Standard libraries don't necessarily follow Julia's version number.
G Gundam said:
Do I need to add them to my project, or can I just assume they're available and use them?
Standard libraries can be (and have been) removed, so you should really add all packages that you use in an environment to project, regardless of whether they're standard libraries or not, if you care about reusing the environment at a later point in time, which should be the whole reason why you're using an environment in the first place
Last updated: Dec 28 2024 at 04:38 UTC