This repository has been archived by the owner on Mar 11, 2024. It is now read-only.
Reexport aead
defined types used in the ursa
public API
#195
Labels
possibly-irrelevant
We anticipate this will not be a concern in the near future
Description of the problem:
ursa
lib depends onaead
and usesaead
defined types in it's public API like here. This forces the user to depend onaead
in theirCargo.toml
even though they make no use ofaead
itself except throughursa
. Forcing users to manage dependency of a dependency is a malpractice.Solution
Either reexport entire
aead
liib fromursa
or reexport justaead
types that are exposed in the public API ofursa
. In the given example that would be eitherpub export aead
orpub export aead::Error
. Type aliases are also welcomeThe text was updated successfully, but these errors were encountered: