mirror of
https://github.com/ipetkov/crane.git
synced 2024-11-29 10:42:21 +03:00
ef80ead953
--------- Co-authored-by: Ivan Petkov <ivanppetkov@gmail.com>
2.8 KiB
2.8 KiB
Summary
- Introduction
- Getting started
- Source filtering and filesets
- Local development
- Custom cargo commands
- Customizing builds
- Overriding derivations after the fact
- Patching sources of dependencies
- Troubleshooting/FAQ
- Customizing nixpkgs and other inputs
- IFD (import from derivation) errors
- Constantly rebuilding from scratch
- Crates being rebuilt when using different toolchains
- Constantly rebuilding proc-macro dependencies
dev
mode - Constantly rebuilding pyo3
- Constantly rebuilding bindgen
- Building upstream cargo crate with no
Cargo.lock
- Patching
Cargo.lock
during build - Building a subset of a workspace
- Trouble building when using
include_str!
(or including other non-rust files) - Dealing with sandbox-unfriendly build scripts
- Cargo.toml is not at the source root
- Found invalid metadata files for crate error
- A git dependency fails to find a file by a relative path
- Controlling whether or not hooks run during
buildDepsOnly