REQUIRE vs Project.toml


can someone please remind me whether packages currently need one or the other or both to work on 0.7/1? it doesn’t seem to be documented, and my slack history doesn’t go back far enough to look up the answer when i asked this last time.

1 Like

The future of REQUIRE and Project.toml for package managers

You only every need REQUIRE.

Project.toml makes a lot of things nicer,
but REQUIRE is the one that is needed for registering a package.
(We are getting towards the end of that though)

Bad things happen if your Project.toml and REQUIRE get out of sync.
So in some ways it is nicer not to have Project.toml

If you don’t want to register the package, then you can just have a Project.toml

1 Like