This website requires JavaScript.
Explore
Help
Register
Sign In
patrickaldis
/
garnet
Watch
1
Star
0
Fork
0
You've already forked garnet
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
garnet
/
rust
/
Cargo.toml
9 lines
127 B
TOML
Raw
Normal View
History
Unescape
Escape
Add simple Rust Crane project The Nix code is taken from the Crane docs, and adapted for merging with the existing Haskell.Nix flake. The other files are from `cargo init`, with minor modifications, and `cargo generate-lockfile`. The default dev shell contains tools for both languages. We can now run `nix build .#rust` and `nix build .#haskell`, where the latter was previously `nix build .#aoc:exe:aoc`.
2025-12-02 16:42:44 +00:00
[
package
]
cleanup old files
2026-02-17 12:15:29 +00:00
name
=
"rustCallingHaskell"
Add simple Rust Crane project The Nix code is taken from the Crane docs, and adapted for merging with the existing Haskell.Nix flake. The other files are from `cargo init`, with minor modifications, and `cargo generate-lockfile`. The default dev shell contains tools for both languages. We can now run `nix build .#rust` and `nix build .#haskell`, where the latter was previously `nix build .#aoc:exe:aoc`.
2025-12-02 16:42:44 +00:00
version
=
"0.1.0"
edition
=
"2024"
Rename Rust source folder
2025-12-02 18:38:09 +00:00
[
[
bin
]
]
Move all Rust stuff in to subdirectory
2025-12-02 18:38:21 +00:00
path
=
"main.rs"
cleanup old files
2026-02-17 12:15:29 +00:00
name
=
"rustCallingHaskell"
Reference in New Issue
Copy Permalink