initial commit

This commit is contained in:
2026-05-04 11:39:04 +02:00
commit ddfb5b3ddb
6 changed files with 37 additions and 0 deletions

2
.envrc Normal file
View File

@ -0,0 +1,2 @@
watch_file .env
use nix

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/target

7
Cargo.lock generated Normal file
View File

@ -0,0 +1,7 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 4
[[package]]
name = "minecraft_proxy"
version = "0.1.0"

6
Cargo.toml Normal file
View File

@ -0,0 +1,6 @@
[package]
name = "minecraft_proxy"
version = "0.1.0"
edition = "2024"
[dependencies]

18
shell.nix Normal file
View File

@ -0,0 +1,18 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
buildInputs = with pkgs;[
rustup
];
nativeBuildInputs = with pkgs;[
libpq
libmysqlclient
sqlite
];
PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig";
shellHook = ''
[ ! -f .env ] || export $(grep -v '^#' .env | xargs)
'';
}

3
src/main.rs Normal file
View File

@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}