chore: initial commit
This commit is contained in:
13
application/Cargo.toml
Normal file
13
application/Cargo.toml
Normal file
@@ -0,0 +1,13 @@
|
||||
[package]
|
||||
name = "application"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
frontend = { path = "../frontend" }
|
||||
backend = { path = "../backend" }
|
||||
|
||||
axum = { workspace = true, features = ["tokio", "ws"] }
|
||||
tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }
|
||||
clap = { version = "4.5.58", features = ["derive", "env"] }
|
||||
tracing-subscriber = "0.3.22"
|
||||
tracing = "0.1.44"
|
||||
15
application/src/main.rs
Normal file
15
application/src/main.rs
Normal file
@@ -0,0 +1,15 @@
|
||||
use clap::Parser;
|
||||
|
||||
#[derive(Debug, Parser)]
|
||||
struct Args {}
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
let args = Parser::parse();
|
||||
let Args {} = args;
|
||||
|
||||
let hello = backend::hi();
|
||||
let world = frontend::world();
|
||||
|
||||
println!("{hello} {world}!");
|
||||
}
|
||||
Reference in New Issue
Block a user