Skip to content

Make the dependence on bouncycastle-rng optional #50

Description

@ounsworth

Most algorithm crates will require access to an RNG. #43 means that this can be any RNG instance provided by the user.

But we still want the default implementations to just silently use the library's internal RNG, which means the algorithm crates will have a cargo dependency on the bouncycastle-rng crate.

We should figure out if it's possible to create a cargo feature #[cfg(feature='rng')] (which is on by default (default = ["rng"]) that we use to gate any function that will use the default RNG, and thus each crate can be compiled without requiring building bouncycastle-rng.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestresearchThis involves some open-ended research

    Type

    No type

    Fields

    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