Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
dalance committed Jan 3, 2025
1 parent daec62a commit f8ee485
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions book/src/06_development_environment/02_dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,15 @@ This is because

The `version` field allows other version requirement representation like `=0.1.0`.
Please see version requirement of Rust for detailed information: [Specifying Dependencies](https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-dependencies-from-cratesio).

## Relative path dependency

For local development, dependency to a local file path is useful in some cases.
Relative path dependency can be specified like below:

```toml
[dependencies]
"../../library/path" = "0.1.0"
```

If there are relative path dependencies in a project, the project can't be published through `veryl publish`.

0 comments on commit f8ee485

Please sign in to comment.