Logo
Explore Help
Register Sign In
patrickaldis/garnet
1
0
Fork 0
You've already forked garnet
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
garnet/rust/Cargo.toml

13 lines
146 B
TOML
Raw Normal View History

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]
name = "aoc"
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"
Rename Rust source folder
2025-12-02 18:38:09 +00:00
name = "aoc"
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
[dependencies]
Use itertools to chain sorting in day 5
2026-01-07 15:02:13 +00:00
itertools = "0.14"
Use Nom for Rust parsing
2025-12-10 12:39:12 +00:00
nom = "8.0.0"
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 100ms Template: 5ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API