-
-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
manifest: support path dependencies (#1048)
This PR introduces path dependency [like Cargo's one](https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-path-dependencies). Path dependency specify a local directory as dependency. [Unlike Cargo's one](https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#no-local-path-traversal), - currently poac doesn't care about `poac.toml` in the path. - Like git dependency, path dependency implemented by this PR supports only header-only library. - poac doesn't support `version` for published package. This PR doesn't contain `poac add --path` sub-command option. Poac with this PR can allow `poac.toml` like below: ```toml [dependencies] local_header_only_library = {path = "./path/to/library"} ``` --------- Co-authored-by: Ken Matsui <[email protected]>
- Loading branch information
1 parent
cabbdef
commit a46d104
Showing
2 changed files
with
73 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters