Initial commit

main
Araozu 2024-02-09 19:11:35 -05:00
commit f04adc722b
4 changed files with 2493 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/target

2470
Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

11
Cargo.toml Normal file
View File

@ -0,0 +1,11 @@
[package]
name = "eeg_internal"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
maud = { version = "0.26.0", features = ["rocket"] }
rocket = "0.5.0"
sqlx = { version = "0.7.3", features = ["mysql"] }

11
src/main.rs Normal file
View File

@ -0,0 +1,11 @@
#[macro_use] extern crate rocket;
#[get("/")]
fn index() -> &'static str {
"Hello, world!"
}
#[launch]
fn rocket() -> _ {
rocket::build().mount("/", routes![index])
}