generated from alecodes/base-template
chore: rust project initialization
This commit is contained in:
parent
f3bba33088
commit
9741df29e3
6 changed files with 24 additions and 14 deletions
19
.gitignore
vendored
19
.gitignore
vendored
|
|
@ -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
|
# ---> GPG
|
||||||
secring.*
|
secring.*
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Added by cargo
|
||||||
|
|
||||||
|
/target
|
||||||
|
|
|
||||||
7
Cargo.lock
generated
Normal file
7
Cargo.lock
generated
Normal 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
6
Cargo.toml
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
[package]
|
||||||
|
name = "simple-crud"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2021"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
3
src/bin/cli/main.rs
Normal file
3
src/bin/cli/main.rs
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
fn main() {
|
||||||
|
println!("Hello from cli bin!");
|
||||||
|
}
|
||||||
3
src/bin/web/main.rs
Normal file
3
src/bin/web/main.rs
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
fn main() {
|
||||||
|
println!("Hello from web bin!");
|
||||||
|
}
|
||||||
0
src/lib.rs
Normal file
0
src/lib.rs
Normal file
Loading…
Add table
Add a link
Reference in a new issue