refactor(platform)!: reduce dependencies, and get verify feature to be more lightweight #1837
Annotations
5 errors and 2 warnings
Run clechasseur/rs-clippy-check@v3:
packages/rs-dpp/src/document/v0/cbor_conversion.rs#L75
error[E0599]: no variant or associated item named `convert_to_cbor_map` found for enum `platform_value::Value` in the current scope
--> packages/rs-dpp/src/document/v0/cbor_conversion.rs:75:32
|
75 | properties: Value::convert_to_cbor_map(properties)
| ^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `Value`
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-dpp/src/document/v0/cbor_conversion.rs#L158
error[E0599]: no variant or associated item named `convert_from_cbor_map` found for enum `platform_value::Value` in the current scope
--> packages/rs-dpp/src/document/v0/cbor_conversion.rs:158:20
|
158 | Value::convert_from_cbor_map(document_cbor_map).map_err(ProtocolError::ValueError)?;
| ^^^^^^^^^^^^^^^^^^^^^
| |
| variant or associated item not found in `Value`
| help: there is an associated function with a similar name: `convert_from_serde_json_map`
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-dpp/src/document/v0/cbor_conversion.rs#L164
error[E0271]: type mismatch resolving `<Value as TryInto<Value>>::Error == Error`
--> packages/rs-dpp/src/document/v0/cbor_conversion.rs:164:24
|
164 | .map(|v| v.try_into().map_err(ProtocolError::ValueError))?
| ^^^^^^^^ expected `Infallible`, found `Error`
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-dpp/src/document/v0/cbor_conversion.rs#L164
error[E0277]: the trait bound `ciborium::Value: std::convert::From<platform_value::Value>` is not satisfied
--> packages/rs-dpp/src/document/v0/cbor_conversion.rs:164:24
|
164 | .map(|v| v.try_into().map_err(ProtocolError::ValueError))?
| ^^^^^^^^ the trait `std::convert::From<platform_value::Value>` is not implemented for `ciborium::Value`
|
= help: the following other types implement trait `std::convert::From<T>`:
<ciborium::Value as std::convert::From<bool>>
<ciborium::Value as std::convert::From<char>>
<ciborium::Value as std::convert::From<i8>>
<ciborium::Value as std::convert::From<i16>>
<ciborium::Value as std::convert::From<i32>>
<ciborium::Value as std::convert::From<i64>>
<ciborium::Value as std::convert::From<i128>>
<ciborium::Value as std::convert::From<u8>>
and 16 others
= note: required for `platform_value::Value` to implement `std::convert::Into<ciborium::Value>`
= note: required for `ciborium::Value` to implement `std::convert::TryFrom<platform_value::Value>`
= note: required for `platform_value::Value` to implement `std::convert::TryInto<ciborium::Value>`
|
Run clechasseur/rs-clippy-check@v3
Clippy has exited with exit code 101
|
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: mozilla-actions/[email protected], strophy/actions-cache@opendal-update. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading