crane/examples
Ivan Petkov a0d1df4631
Fix alt-registry example (#343)
* crates.io uses the sparse registry by default, and trying to
  explicitly register a sparse registry for it results in errors
* Also set nixConfig to include binary cache
2023-06-18 23:16:45 +00:00
..
alt-registry Fix alt-registry example (#343) 2023-06-18 23:16:45 +00:00
build-std Update support to nixos-23.05 (#339) 2023-06-08 00:15:38 +00:00
cross-musl Add path as a convenience wrapper around builtins.path (#273) 2023-03-19 20:57:15 -07:00
cross-rust-overlay examples: remove darwin SDKs from cross compile example (#321) 2023-05-07 17:18:21 -07:00
cross-windows Add path as a convenience wrapper around builtins.path (#273) 2023-03-19 20:57:15 -07:00
custom-toolchain Add path as a convenience wrapper around builtins.path (#273) 2023-03-19 20:57:15 -07:00
quick-start quick-start: remove bogus follows clause (#277) 2023-03-22 04:46:10 +00:00
quick-start-simple Add path as a convenience wrapper around builtins.path (#273) 2023-03-19 20:57:15 -07:00
trunk fix: incremental compilation in trunk examples, set target using env var (#316) 2023-05-03 17:24:02 +00:00
trunk-workspace fix: incremental compilation in trunk examples, set target using env var (#316) 2023-05-03 17:24:02 +00:00
README.md Add support for building standard library crates (#287) 2023-04-02 17:57:17 +00:00

Examples

This directory contains several different ways of configuring a project:

  • alt-registry: build a cargo project which uses another crate registry besides crates.io
  • build-std: build a cargo project which requires building the standard library and other crates distributed with the Rust toolchain
  • cross-musl: build a cargo project with musl to crate statically linked binaries
  • cross-rust-overlay: cross compile a rust project using rust-overlay
  • cross-windows: cross compile a rust project for windows
  • custom-toolchain: build a cargo project with a custom toolchain (e.g. WASM builds)
  • quick-start: build a cargo project with a comprehensive test suite
  • quick-start-simple: build a cargo project without extra tests