crane/examples
Ivan Petkov 9132c6d1ae examples: trunk-workspace: update for future compat
Looks like newer versions of trunk expect the current directory to be
the crate to compile, so adjust the example to take that into account
2024-11-18 13:37:01 -08:00
..
alt-registry Drop dependency on nixpkgs (#692) 2024-08-29 23:29:16 +00:00
build-std Drop dependency on nixpkgs (#692) 2024-08-29 23:29:16 +00:00
cross-musl Drop dependency on nixpkgs (#692) 2024-08-29 23:29:16 +00:00
cross-rust-overlay Drop dependency on nixpkgs (#692) 2024-08-29 23:29:16 +00:00
cross-windows Drop dependency on nixpkgs (#692) 2024-08-29 23:29:16 +00:00
custom-toolchain Drop dependency on nixpkgs (#692) 2024-08-29 23:29:16 +00:00
end-to-end-testing Drop dependency on nixpkgs (#692) 2024-08-29 23:29:16 +00:00
quick-start Add taploFmt TOML format function to mkLib (#674) 2024-08-31 17:27:30 +00:00
quick-start-simple Drop dependency on nixpkgs (#692) 2024-08-29 23:29:16 +00:00
quick-start-workspace Add fileset helpers (#731) 2024-11-08 12:39:11 -08:00
sqlx Add fileset helpers (#731) 2024-11-08 12:39:11 -08:00
trunk examples: drop nixpkgs-for-wasm-bindgen 2024-11-18 13:37:01 -08:00
trunk-workspace examples: trunk-workspace: update for future compat 2024-11-18 13:37:01 -08: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