fix lock rc version
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
/target
|
||||
Cargo.lock
|
||||
rust-toolchain
|
||||
/user_files
|
||||
*.db
|
||||
.env
|
||||
|
||||
@@ -12,7 +12,10 @@ mastlogin = ["reqwest"]
|
||||
|
||||
[dependencies]
|
||||
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_codegen = "=0.1.0-rc.2"
|
||||
diesel = { version = "1.4.8", features = ["postgres", "chrono"] }
|
||||
diesel_migrations = "1.4.0"
|
||||
redis = { version="0.23.0", features = ["aio", "tokio-comp"] }
|
||||
|
||||
@@ -3,6 +3,7 @@ WORKDIR /usr/src/
|
||||
RUN cargo new myapp --vcs none
|
||||
WORKDIR /usr/src/myapp
|
||||
COPY Cargo.toml ./
|
||||
COPY rust-toolchain ./
|
||||
RUN cargo build --release
|
||||
|
||||
# 为了充分利用docker的缓存
|
||||
|
||||
@@ -1 +1 @@
|
||||
1.64
|
||||
stable
|
||||
|
||||
Reference in New Issue
Block a user