Skip to content

How to compose with configuration flags ?  #316

@aPere3

Description

@aPere3

Hello 🙂

I am currently trying to transition from a dependency on aes_soft to the aes crate. I would like to make sure that I am using the software variant of the blockcipher, and not the aesni version.

I saw that you transitioned from feature flags to configurations in #284 . Before that I would have used a dependency like:

aes = {version = "...", features = [ "force_soft" ]}

With the new way, I don't know how to do 😕. Is there a way to have the same behavior?

Also, out of curiosity, I tried to understand the rationale of this decision but could not find any good points to that. Could you quickly explain what made you move to this configuration approach ?

Thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions