mirror of
https://github.com/ipetkov/crane.git
synced 2024-11-29 21:42:23 +03:00
f8d1e70dfc
* When Nix fetches a git repo it will only look for the specified revision only starting from the main branch (apparently fetching arbitrary revisions from a repository has some security implications) * If a ref (i.e. branch or tag) is not specified, Nix will only fetch the repo's main branch * To remedy this we will supply Nix with the branch or tag (if specified in the Cargo.lock) to help it find the specified revision * If cargo does not specify a branch or tag for us, we'll set `allRefs = true` so that Nix can try fetching all possible branches and tags before trying to check out the locked revision
42 lines
1.0 KiB
TOML
42 lines
1.0 KiB
TOML
# This file is automatically @generated by Cargo.
|
|
# It is not intended for manual editing.
|
|
version = 3
|
|
|
|
[[package]]
|
|
name = "autocfg"
|
|
version = "1.1.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
|
|
|
|
[[package]]
|
|
name = "git-rev-no-ref"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"tokio 1.13.1",
|
|
"tokio 1.14.1",
|
|
]
|
|
|
|
[[package]]
|
|
name = "pin-project-lite"
|
|
version = "0.2.8"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "e280fbe77cc62c91527259e9442153f4688736748d24660126286329742b4c6c"
|
|
|
|
[[package]]
|
|
name = "tokio"
|
|
version = "1.13.1"
|
|
source = "git+https://github.com/tokio-rs/tokio?rev=2a3c803dd1c487868eabcef547066952cc07624e#2a3c803dd1c487868eabcef547066952cc07624e"
|
|
dependencies = [
|
|
"autocfg",
|
|
"pin-project-lite",
|
|
]
|
|
|
|
[[package]]
|
|
name = "tokio"
|
|
version = "1.14.1"
|
|
source = "git+https://github.com/tokio-rs/tokio?branch=tokio-1.14.x#b4077a5c27aaf5d07fc04635e9d6b224e3f5326f"
|
|
dependencies = [
|
|
"autocfg",
|
|
"pin-project-lite",
|
|
]
|