fix lock rc version

This commit is contained in:
2023-12-30 23:11:57 +08:00
parent 289a19d4da
commit 7621f56b34
4 changed files with 5 additions and 2 deletions

View File

@@ -1,6 +1,5 @@
/target /target
Cargo.lock Cargo.lock
rust-toolchain
/user_files /user_files
*.db *.db
.env .env

View File

@@ -12,7 +12,10 @@ mastlogin = ["reqwest"]
[dependencies] [dependencies]
rocket = { version = "=0.5.0-rc.2", features = ["json"] } rocket = { version = "=0.5.0-rc.2", features = ["json"] }
rocket_codegen = "=0.5.0-rc.2"
rocket_http = "=0.5.0-rc.2"
rocket_sync_db_pools = { version = "=0.1.0-rc.2", features = ["diesel_postgres_pool"] } rocket_sync_db_pools = { version = "=0.1.0-rc.2", features = ["diesel_postgres_pool"] }
rocket_sync_db_pools_codegen = "=0.1.0-rc.2"
diesel = { version = "1.4.8", features = ["postgres", "chrono"] } diesel = { version = "1.4.8", features = ["postgres", "chrono"] }
diesel_migrations = "1.4.0" diesel_migrations = "1.4.0"
redis = { version="0.23.0", features = ["aio", "tokio-comp"] } redis = { version="0.23.0", features = ["aio", "tokio-comp"] }

View File

@@ -3,6 +3,7 @@ WORKDIR /usr/src/
RUN cargo new myapp --vcs none RUN cargo new myapp --vcs none
WORKDIR /usr/src/myapp WORKDIR /usr/src/myapp
COPY Cargo.toml ./ COPY Cargo.toml ./
COPY rust-toolchain ./
RUN cargo build --release RUN cargo build --release
# 为了充分利用docker的缓存 # 为了充分利用docker的缓存

View File

@@ -1 +1 @@
1.64 stable