# Is it possible to declare deps by path in Project.toml?

**URL:** <https://discourse.julialang.org/t/is-it-possible-to-declare-deps-by-path-in-project-toml/22530>\
**Category:** General Usage\
**Tags:** package\
**Created:** [March 30, 2019, 8:05am UTC](https://discourse.julialang.org/t/is-it-possible-to-declare-deps-by-path-in-project-toml/22530 "2019-03-30T08:05:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gu\_Junhua](https://avatars.discourse-cdn.com/v4/letter/g/48db29/32.png) [@Gu\_Junhua](https://discourse.julialang.org/u/Gu_Junhua)\
**Post date:** [March 30, 2019, 8:05am UTC](https://discourse.julialang.org/t/is-it-possible-to-declare-deps-by-path-in-project-toml/22530/1 "2019-03-30T08:05:46Z")

</div>

Julist like in Rust, one can declare a dependence as

SOMEPKG={path=“…”}  
or  
SOMEPKG={git=“…”}

So is it possile to do similar thing in Julia project? rather than denoting a pkg by uuid?

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [March 30, 2019, 8:40am UTC](https://discourse.julialang.org/t/is-it-possible-to-declare-deps-by-path-in-project-toml/22530/2 "2019-03-30T08:40:46Z")

</div>

There was a proposal

> <https://github.com/JuliaLang/Pkg.jl/issues/492>
>
> Currently \`Project.toml\` is not enough to use a package, unless all it's deps ca…n be found and installed from registries. I think it would be nice to include some information in \`Project.toml\` about where to find the deps. In particular two usecases come to mind:
> 
> 1. Projects which depend on unregistred packages could put a url to the package
> \`\`\`
> name = "Foo"
> uuid = "4bdd1c6b-68bb-4dfe-a423-fa0d59eb7384"
> version = "0.1.0"
> 
> \[deps\]
> Bar = "ce02910b-3083-40c5-958c-8fd1036218f1"
> 
> \[where\]
> Bar = "https://www.bar.com"
> \`\`\`
> 2. Projects with deps in the same repo can put the (relative) path
> \`\`\`
> name = "Foo"
> uuid = "4bdd1c6b-68bb-4dfe-a423-fa0d59eb7384"
> version = "0.1.0"
> 
> \[deps\]
> Bar = "ce02910b-3083-40c5-958c-8fd1036218f1"
> 
> \[where\]
> Bar = "modules/Bar"
> \`\`\`
> 
> This would make \`Project.toml\` a bit more standalone; I can give that to someone and things will work, but if I want that someone to obtain the exact state I have, then I can also send \`Manifest.toml\`.

but note that a matching UUID is still required, that’s just for _finding_ the package.
