WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

"please upgrade to generic-array" #605

@mcr

Description

@mcr
warning: use of deprecated trait `elliptic_curve::generic_array::ArrayLength`: please upgrade to generic-array 1.x
   --> tss-esapi/src/abstraction/signer.rs:289:23
    |
289 |     SignatureSize<C>: ArrayLength<u8>,
    |                       ^^^^^^^^^^^

I spent some time a few weeks ago trying to understand how to upgrade our use of it. I failed :-(
I resorted to

export RUSTFLAGS="-Adeprecated"

which makes me unhappy. I would be happy to fix them all if I understood the problem.
Many posters say they are moving to hybrid-array.
I think that all of this comes in via elliptic-curve, which has not moved to generic-array 1.0. (I see it also via sha2/digest/block-buffer, but that's a dev-dependancy?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions