mirror of
https://gitlab.com/keys.openpgp.org/hagrid.git
synced 2025-10-06 00:23:08 +02:00
Upgrade set explicit version requirement for "multipart" dependency in Cargo.toml: "0" -> "0.18".
`cargo build` gives the following warnings: warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0, traitobject v0.1.0, typemap v0.3.3 note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` which is when run with `cargo build --future-incompat-report` gives the following: warning: `hagrid` (bin "hagrid") generated 9 warnings Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.91s warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0, traitobject v0.1.0, typemap v0.3.3 note: To solve this problem, you can try the following approaches: - Some affected dependencies have newer versions available. You may want to consider updating them to a newer version to see if the issue has been fixed. traitobject v0.1.0 has the following newer versions available: 0.1.1 - If the issue is not solved by updating the dependencies, a fix has to be implemented by those dependencies. You can help with that by notifying the maintainers of this problem (e.g. by creating a bug report) or by proposing a fix to the maintainers (e.g. by creating a pull request): - buf_redux@0.8.4 - Repository: https://github.com/abonander/buf_redux - Detailed warning command: `cargo report future-incompatibilities --id 3 --package buf_redux@0.8.4` - multipart@0.18.0 - Repository: http://github.com/abonander/multipart - Detailed warning command: `cargo report future-incompatibilities --id 3 --package multipart@0.18.0` - traitobject@0.1.0 - Repository: https://github.com/reem/rust-traitobject.git - Detailed warning command: `cargo report future-incompatibilities --id 3 --package traitobject@0.1.0` - typemap@0.3.3 - Repository: https://github.com/reem/rust-typemap - Detailed warning command: `cargo report future-incompatibilities --id 3 --package typemap@0.3.3` - If waiting for an upstream fix is not an option, you can use the `[patch]` section in `Cargo.toml` to use your own version of the dependency. For more information, see: https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html#the-patch-section note: this report can be shown with `cargo report future-incompatibilities --id 1` In attempt to fix the warning I set explict dependency for "multipart" crate. Changes: - Set explicit version of "multipart" dependency in Cargo.toml: "0" -> "0.18.0". - Update Cargo.lock: `cargo build`
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -1,6 +1,6 @@
|
||||
# This file is automatically @generated by Cargo.
|
||||
# It is not intended for manual editing.
|
||||
version = 3
|
||||
version = 4
|
||||
|
||||
[[package]]
|
||||
name = "addr2line"
|
||||
|
@@ -22,7 +22,7 @@ rocket = { version = "0.5", features = [ "json" ] }
|
||||
rocket_dyn_templates = { version = "0.1", features = ["handlebars"] }
|
||||
rocket_codegen = "0.5"
|
||||
sequoia-openpgp = { version = "=1.17.0", default-features = false, features = ["crypto-openssl"] }
|
||||
multipart = "0"
|
||||
multipart = "0.18.0"
|
||||
serde = "1"
|
||||
serde_derive = "1"
|
||||
serde_json = "1"
|
||||
|
Reference in New Issue
Block a user