Skip to content

After cargo update it stop working: hmac change compatibility with #7

@dnp1

Description

@dnp1

I believe hmac library changes and broke compatibility!

error[E0576]: cannot find method or associated constant new_from_slice in trait hmac::Mac
--> /home/danilo/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/altcha-lib-rs-0.3.2/src/utils.rs:57:44
|
57 | let mut mac = ::new_from_slice(key.as_bytes())
| ^^^^^^^^^^^^^^ not found in hmac::Mac
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions