Initialized Rust backend

main
Jef Roosens 2021-08-18 21:53:53 +02:00
parent 33768dc065
commit 3415ce7329
Signed by untrusted user: Jef Roosens
GPG Key ID: 955C0660072F691F
4 changed files with 1496 additions and 0 deletions

5
.gitignore vendored
View File

@ -11,3 +11,8 @@ Cargo.lock
# These are backup files generated by rustfmt # These are backup files generated by rustfmt
**/*.rs.bk **/*.rs.bk
# Added by cargo
/target

1471
Cargo.lock generated 100644

File diff suppressed because it is too large Load Diff

17
Cargo.toml 100644
View File

@ -0,0 +1,17 @@
[package]
name = "rusty-bever"
version = "0.1.0"
authors = ["Jef Roosens <roosensjef@gmail.com>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
rocket = "0.5.0-rc.1"
diesel = { version = "1.4.7", features = ["postgres"] }
diesel_migrations = "1.4.0"
[dependencies.rocket_sync_db_pools]
version = "0.1.0-rc.1"
default_features = false
features = ["diesel_postgres_pool"]

3
src/main.rs 100644
View File

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