chore: rust project initialization

This commit is contained in:
Alexander Navarro 2025-01-14 14:49:02 -03:00
parent f3bba33088
commit 9741df29e3
6 changed files with 24 additions and 14 deletions

19
.gitignore vendored
View file

@ -1,18 +1,9 @@
# ---> VirtualEnv
# Virtualenv
# http://iamzed.com/2009/05/07/a-primer-on-virtualenv/
.Python
[Bb]in
[Ii]nclude
[Ll]ib
[Ll]ib64
[Ll]ocal
[Ss]cripts
pyvenv.cfg
.venv
pip-selfcheck.json
# ---> GPG
secring.*
# Added by cargo
/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 = "simple-crud"
version = "0.1.0"

6
Cargo.toml Normal file
View file

@ -0,0 +1,6 @@
[package]
name = "simple-crud"
version = "0.1.0"
edition = "2021"
[dependencies]

3
src/bin/cli/main.rs Normal file
View file

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

3
src/bin/web/main.rs Normal file
View file

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

0
src/lib.rs Normal file
View file