Patched rust setup to be capable of building
This commit is contained in:
parent
bd2ffee9ae
commit
49b676ad31
4 changed files with 2394 additions and 7 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -21,6 +21,9 @@ dist
|
|||
turbo-build.log
|
||||
turbo-host.log
|
||||
|
||||
# rust
|
||||
rust-engine/target
|
||||
|
||||
# debug
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
|
|
|
|||
2390
rust-engine/Cargo.lock
generated
2390
rust-engine/Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -5,13 +5,13 @@ edition = "2021"
|
|||
|
||||
[dependencies]
|
||||
tokio = { version = "1.0", features = ["full"] }
|
||||
warp = "0.3"
|
||||
warp = { version = "0.4.2", features = ["server"] }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
sqlx = { version = "0.7", features = ["runtime-tokio-rustls", "mysql", "chrono"] }
|
||||
sqlx = { version = "0.8.6", features = ["runtime-tokio-rustls", "mysql", "chrono"] }
|
||||
chrono = { version = "0.4", features = ["serde"] }
|
||||
tracing = "0.1"
|
||||
tracing-subscriber = "0.3"
|
||||
dotenv = "0.15"
|
||||
cors = "0.6"
|
||||
cors = "0.1.0"
|
||||
anyhow = "1.0"
|
||||
|
|
@ -20,7 +20,7 @@ struct ApiResponse<T> {
|
|||
#[tokio::main]
|
||||
async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
// Initialize tracing
|
||||
tracing_subscriber::init();
|
||||
tracing_subscriber::fmt::init();
|
||||
|
||||
// Load environment variables
|
||||
dotenv::dotenv().ok();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue