crane/examples
2024-07-14 16:36:42 +00:00
..
alt-registry Try to avoid IFD in vendorCargoDeps and crateNameFromCargoToml; also avoid recommending nesting cleanCargoSource and path (#641) 2024-06-10 20:53:46 -07:00
build-std Drop non-existent input override for oxalica/rust-overlay (#663) 2024-07-14 16:36:42 +00:00
cross-musl Drop non-existent input override for oxalica/rust-overlay (#663) 2024-07-14 16:36:42 +00:00
cross-rust-overlay Drop non-existent input override for oxalica/rust-overlay (#663) 2024-07-14 16:36:42 +00:00
cross-windows Try to avoid IFD in vendorCargoDeps and crateNameFromCargoToml; also avoid recommending nesting cleanCargoSource and path (#641) 2024-06-10 20:53:46 -07:00
custom-toolchain Drop non-existent input override for oxalica/rust-overlay (#663) 2024-07-14 16:36:42 +00:00
end-to-end-testing Drop non-existent input override for oxalica/rust-overlay (#663) 2024-07-14 16:36:42 +00:00
quick-start Try to avoid IFD in vendorCargoDeps and crateNameFromCargoToml; also avoid recommending nesting cleanCargoSource and path (#641) 2024-06-10 20:53:46 -07:00
quick-start-simple Try to avoid IFD in vendorCargoDeps and crateNameFromCargoToml; also avoid recommending nesting cleanCargoSource and path (#641) 2024-06-10 20:53:46 -07:00
quick-start-workspace Try to avoid IFD in vendorCargoDeps and crateNameFromCargoToml; also avoid recommending nesting cleanCargoSource and path (#641) 2024-06-10 20:53:46 -07:00
sqlx Try to avoid IFD in vendorCargoDeps and crateNameFromCargoToml; also avoid recommending nesting cleanCargoSource and path (#641) 2024-06-10 20:53:46 -07:00
trunk Drop non-existent input override for oxalica/rust-overlay (#663) 2024-07-14 16:36:42 +00:00
trunk-workspace Drop non-existent input override for oxalica/rust-overlay (#663) 2024-07-14 16:36:42 +00:00
.gitignore ci: only build uncached derivations (#426) 2023-10-15 20:07:14 +00:00
README.md Add example of E2E testing (#368) 2023-10-12 18:59:36 -07: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
  • end-to-end-testing: run end-to-end tests for a webapp