mirror of
https://github.com/nix-community/naersk
synced 2024-11-23 04:03:04 +00:00
59921aa707
This allows users to override the source of crates using: ``` [patch.crates-io] bar = { path = 'my/local/bar' } ```
12 lines
No EOL
203 B
TOML
12 lines
No EOL
203 B
TOML
[package]
|
|
name = "simple-dep"
|
|
version = "0.1.0"
|
|
authors = ["nicolas <nicolas@nmattia.com>"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
rand = "0.7.0"
|
|
regex = "1.1.8"
|
|
|
|
[patch.crates-io]
|
|
rand = { path = "my-rand" } |