Add cargo project scaffold

This commit is contained in:
Xiretza 2024-02-09 20:22:29 +00:00
parent a018a8b371
commit 5370126e2c
4 changed files with 42 additions and 0 deletions

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 = 3
[[package]]
name = "factoriauth"
version = "0.1.0"

13
Cargo.toml Normal file
View file

@ -0,0 +1,13 @@
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[package]
name = "factoriauth"
description = "An unofficial authentication server for Factorio"
version = "0.1.0"
authors = ["Lambda"]
edition = "2021"
license = "AGPL-3.0-or-later"
keywords = ["offline"]
categories = ["authentication", "games"]
[dependencies]

21
src/main.rs Normal file
View file

@ -0,0 +1,21 @@
/*
factoriauth - An unofficial authentication server for Factorio
Copyright (C) 2024 lambda@xiretza.xyz
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
fn main() {
println!("Hello, world!");
}