Skip to content

Add data credential signing & verification to the CLI #487

Add data credential signing & verification to the CLI

Add data credential signing & verification to the CLI #487

GitHub Actions / clippy succeeded Sep 6, 2024 in 0s

clippy

2 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 2
Note 0
Help 0

Versions

  • rustc 1.80.1 (3f5fd8dd4 2024-08-06)
  • cargo 1.80.1 (376290515 2024-07-16)
  • clippy 0.1.80 (3f5fd8d 2024-08-06)

Annotations

Check warning on line 334 in trustchain-ion/src/utils.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead

warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead
   --> trustchain-ion/src/utils.rs:334:14
    |
334 |     datetime.timestamp()
    |              ^^^^^^^^^
    |
    = note: `#[warn(deprecated)]` on by default

Check warning on line 312 in trustchain-core/src/utils.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unexpected `cfg` condition value: `console_error_panic_hook`

warning: unexpected `cfg` condition value: `console_error_panic_hook`
   --> trustchain-core/src/utils.rs:312:11
    |
312 |     #[cfg(feature = "console_error_panic_hook")]
    |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
    |
    = note: no expected values for `feature`
    = help: consider adding `console_error_panic_hook` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
    = note: `#[warn(unexpected_cfgs)]` on by default