project to map out webrings

init

skoove 83972fc6

+51
+1
.envrc
··· 1 + use flake
+2
.gitignore
··· 1 + /target 2 + .direnv/
+6
Cargo.toml
··· 1 + [package] 2 + name = "webring_mapper" 3 + version = "0.1.0" 4 + edition = "2024" 5 + 6 + [dependencies]
+39
flake.nix
··· 1 + { 2 + description = "flake for webring_mapper"; 3 + 4 + inputs = { 5 + nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; 6 + 7 + fenix = { 8 + url = "github:nix-community/fenix"; 9 + inputs.nixpkgs.follows = "nixpkgs"; 10 + }; 11 + }; 12 + 13 + outputs = { self, nixpkgs, fenix }: 14 + let 15 + system = "x86_64-linux"; 16 + pkgs = nixpkgs.legacyPackages.${system}; 17 + fe_pkgs = fenix.packages.${system}; 18 + 19 + librarys = with pkgs; [ 20 + ]; 21 + in { 22 + devShells.${system}.default = pkgs.mkShell { 23 + buildInputs = with pkgs; [ 24 + (fe_pkgs.complete.withComponents [ 25 + "cargo" 26 + "clippy" 27 + "rust-src" 28 + "rustc" 29 + "rustfmt" 30 + "rust-analyzer" 31 + ]) 32 + clang 33 + pkg-config 34 + ] ++ librarys; 35 + 36 + LD_LIBRARY_PATH = "${pkgs.lib.makeLibraryPath librarys}"; 37 + }; 38 + }; 39 + }
+3
src/main.rs
··· 1 + fn main() { 2 + println!("Hello, world!"); 3 + }