this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Initialize the project and setup a flake for a developer environment

Rouffy cf21987a 8efcce1a

+108
+1
.envrc
··· 1 + use flake
+3
.gitignore
··· 1 + .direnv 2 + /target 3 + mc-server
+7
Cargo.lock
··· 1 + # This file is automatically @generated by Cargo. 2 + # It is not intended for manual editing. 3 + version = 4 4 + 5 + [[package]] 6 + name = "meartis-client" 7 + version = "0.1.0"
+6
Cargo.toml
··· 1 + [package] 2 + name = "meartis-client" 3 + version = "0.1.0" 4 + edition = "2024" 5 + 6 + [dependencies]
+48
flake.lock
··· 1 + { 2 + "nodes": { 3 + "nixpkgs": { 4 + "locked": { 5 + "lastModified": 1758690382, 6 + "narHash": "sha256-NY3kSorgqE5LMm1LqNwGne3ZLMF2/ILgLpFr1fS4X3o=", 7 + "owner": "NixOS", 8 + "repo": "nixpkgs", 9 + "rev": "e643668fd71b949c53f8626614b21ff71a07379d", 10 + "type": "github" 11 + }, 12 + "original": { 13 + "owner": "NixOS", 14 + "ref": "nixos-unstable", 15 + "repo": "nixpkgs", 16 + "type": "github" 17 + } 18 + }, 19 + "root": { 20 + "inputs": { 21 + "nixpkgs": "nixpkgs", 22 + "rust-overlay": "rust-overlay" 23 + } 24 + }, 25 + "rust-overlay": { 26 + "inputs": { 27 + "nixpkgs": [ 28 + "nixpkgs" 29 + ] 30 + }, 31 + "locked": { 32 + "lastModified": 1758940228, 33 + "narHash": "sha256-sTS04L9LKqzP1oiVXYDwcMzfFSF0DnSJQFzZBpEgLFE=", 34 + "owner": "oxalica", 35 + "repo": "rust-overlay", 36 + "rev": "5bfedf3fbbf5caf8e39f7fcd62238f54d82aa1e2", 37 + "type": "github" 38 + }, 39 + "original": { 40 + "owner": "oxalica", 41 + "repo": "rust-overlay", 42 + "type": "github" 43 + } 44 + } 45 + }, 46 + "root": "root", 47 + "version": 7 48 + }
+36
flake.nix
··· 1 + { 2 + description = "A flake used for the development of Meartis Client"; 3 + inputs = { 4 + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; 5 + rust-overlay = { 6 + url = "github:oxalica/rust-overlay"; 7 + inputs.nixpkgs.follows = "nixpkgs"; 8 + }; 9 + }; 10 + 11 + outputs = 12 + { nixpkgs, rust-overlay, ... }: 13 + let 14 + pkgs = import nixpkgs { 15 + system = "x86_64-linux"; 16 + overlays = [ 17 + rust-overlay.overlays.default 18 + ]; 19 + config.allowUnfree = true; 20 + }; 21 + in 22 + { 23 + devShells."${pkgs.system}".default = pkgs.mkShell { 24 + nativeBuildInputs = with pkgs; [ 25 + (rust-bin.stable.latest.default.override { 26 + extensions = [ 27 + "rust-src" 28 + "rust-analyzer" 29 + ]; 30 + }) 31 + 32 + minecraft-server 33 + ]; 34 + }; 35 + }; 36 + }
+2
justfile
··· 1 + server: 2 + mkdir -p ./mc-server && cd ./mc-server && minecraft-server
+5
src/main.rs
··· 1 + use std::net::TcpStream; 2 + 3 + fn main() { 4 + println!("Hello meartis!") 5 + }