2022-01-31 03:26:55 +03:00
|
|
|
# Changelog
|
|
|
|
All notable changes to this project will be documented in this file.
|
|
|
|
|
|
|
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
|
|
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|
|
|
|
2022-02-12 06:33:17 +03:00
|
|
|
## [0.2.1] - 2022-02-11
|
|
|
|
### Changed
|
|
|
|
* `cargoFmt` will install cargo artifacts by default (or install an empty
|
|
|
|
`target` directory if there are none). This allows for more easily chaining
|
|
|
|
derivations if doing so is desired.
|
|
|
|
- This can be disabled by setting `doInstallCargoArtifacts = false;` in the
|
|
|
|
derivation
|
|
|
|
|
2022-01-31 03:26:55 +03:00
|
|
|
## [0.2.0] - 2022-01-30
|
|
|
|
|
|
|
|
### Added
|
|
|
|
* Support for alternative cargo registries
|
|
|
|
|
|
|
|
### Changed
|
|
|
|
* `urlForCargoPackage` now takes configured registries into account when
|
|
|
|
downloading crate sources
|
|
|
|
* **Breaking**: `vendorCargoDeps` now vendors each unique registry as a subdirectory within
|
|
|
|
the derivation's output. A `config.toml` file is also placed at the output
|
|
|
|
root which contains the necessary configurations to point cargo at the
|
|
|
|
vendored sources.
|
|
|
|
* `configureCargoVendoredDepsHook` is now aware of the updated `vendorCargoDeps`
|
|
|
|
output format, and will use the `config.toml` file it generates if it is
|
|
|
|
present. Otherwise it will fall back to the previous behavior (which is treat
|
|
|
|
the entire directory as only vendoring crates.io).
|
|
|
|
* Source vendoring now uses `runCommandLocal` (instead of `runCommand`) to
|
|
|
|
reduce network pressure in trying to fetch results which can quickly be built
|
|
|
|
locally
|
|
|
|
* Searching for `Cargo.toml` or `.cargo/config.toml` files is now done more
|
|
|
|
efficiently
|
|
|
|
|
|
|
|
## 0.1.0 - 2022-01-22
|
|
|
|
- First release
|
|
|
|
|
2022-02-12 06:33:17 +03:00
|
|
|
[0.2.1]: https://github.com/ipetkov/crane/compare/v0.2.0...v0.2.1
|
2022-01-31 03:26:55 +03:00
|
|
|
[0.2.0]: https://github.com/ipetkov/crane/compare/v0.1.0...v0.2.0
|