feat: add cargo workpaces + add pass-webauthn
#12
Annotations
8 errors and 3 warnings
no field `client_data` on type `&Attestation<Cx>`:
pass-webauthn/src/impls.rs#L53
error[E0609]: no field `client_data` on type `&Attestation<Cx>`
--> pass-webauthn/src/impls.rs:53:55
|
53 | serde_json::from_slice::<Value>(&self.client_data).map_err(|_| ())?;
| ^^^^^^^^^^^ unknown field
|
= note: available fields are: `credential_id`, `context`, `authenticator_data`, `attestation_data`, `public_key`
|
no field `signature` on type `&Attestation<Cx>`:
pass-webauthn/src/impls.rs#L40
error[E0609]: no field `signature` on type `&Attestation<Cx>`
--> pass-webauthn/src/impls.rs:40:19
|
40 | &self.signature,
| ^^^^^^^^^ unknown field
|
= note: available fields are: `credential_id`, `context`, `authenticator_data`, `attestation_data`, `public_key`
|
no field `client_data` on type `&Attestation<Cx>`:
pass-webauthn/src/impls.rs#L39
error[E0609]: no field `client_data` on type `&Attestation<Cx>`
--> pass-webauthn/src/impls.rs:39:19
|
39 | &self.client_data,
| ^^^^^^^^^^^ unknown field
|
= note: available fields are: `credential_id`, `context`, `authenticator_data`, `attestation_data`, `public_key`
|
no field `client_data` on type `&Attestation<Cx>`:
pass-webauthn/src/impls.rs#L20
error[E0609]: no field `client_data` on type `&Attestation<Cx>`
--> pass-webauthn/src/impls.rs:20:55
|
20 | serde_json::from_slice::<Value>(&self.client_data).map_err(|_| ())?;
| ^^^^^^^^^^^ unknown field
|
= note: available fields are: `credential_id`, `context`, `authenticator_data`, `attestation_data`, `public_key`
|
failed to resolve: use of undeclared crate or module `sp_io`:
pass-webauthn/src/impls.rs#L4
error[E0433]: failed to resolve: use of undeclared crate or module `sp_io`
--> pass-webauthn/src/impls.rs:4:5
|
4 | use sp_io::hashing::blake2_256;
| ^^^^^ use of undeclared crate or module `sp_io`
|
check
Process completed with exit code 101.
|
clippy
Clippy had exited with the 101 exit code
|
test
Process completed with exit code 101.
|
useless use of `vec!`:
verifier/src/lib.rs#L76
warning: useless use of `vec!`
--> verifier/src/lib.rs:76:19
|
76 | let message = vec![authenticator_data, &client_data_hash].concat();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `[authenticator_data, &client_data_hash]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
= note: `#[warn(clippy::useless_vec)]` on by default
|
clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
clippy
The following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|