# REQUIRE vs Project.toml

**URL:** <https://discourse.julialang.org/t/require-vs-project-toml/21962>\
**Category:** Internals & Design\
**Tags:** package\
**Created:** [March 17, 2019, 12:35pm UTC](https://discourse.julialang.org/t/require-vs-project-toml/21962 "2019-03-17T12:35:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bjarthur](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bjarthur/32/9638_2.png) [@bjarthur](https://discourse.julialang.org/u/bjarthur)\
**Post date:** [March 17, 2019, 12:35pm UTC](https://discourse.julialang.org/t/require-vs-project-toml/21962/1 "2019-03-17T12:35:43Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![oxinabox](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oxinabox/32/206603_2.png) [@oxinabox](https://discourse.julialang.org/u/oxinabox)\
**Post date:** [March 17, 2019, 12:40pm UTC](https://discourse.julialang.org/t/require-vs-project-toml/21962/2 "2019-03-17T12:40:45Z")

</div>

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
