Expose the ikm and scheme modules only if either encryption or ikm-management features are enabled
This commit is contained in:
parent
60b91ffbe9
commit
2e4e467f47
1 changed files with 4 additions and 0 deletions
|
@ -1,9 +1,13 @@
|
||||||
mod error;
|
mod error;
|
||||||
|
#[cfg(any(feature = "encryption", feature = "ikm-management"))]
|
||||||
mod ikm;
|
mod ikm;
|
||||||
|
#[cfg(any(feature = "encryption", feature = "ikm-management"))]
|
||||||
mod scheme;
|
mod scheme;
|
||||||
|
|
||||||
pub use error::Error;
|
pub use error::Error;
|
||||||
|
#[cfg(any(feature = "encryption", feature = "ikm-management"))]
|
||||||
pub use ikm::InputKeyMaterialList;
|
pub use ikm::InputKeyMaterialList;
|
||||||
|
#[cfg(any(feature = "encryption", feature = "ikm-management"))]
|
||||||
pub use scheme::Scheme;
|
pub use scheme::Scheme;
|
||||||
|
|
||||||
#[cfg(feature = "ikm-management")]
|
#[cfg(feature = "ikm-management")]
|
||||||
|
|
Loading…
Reference in a new issue