Skip to content

Commit

Permalink
Fix credential crate's features shenanigans
Browse files Browse the repository at this point in the history
  • Loading branch information
UMR1352 committed Dec 4, 2023
1 parent 1d970c9 commit e2953ba
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ use identity_document::service::ServiceBuilder;
use identity_document::service::ServiceEndpoint;
use indexmap::map::IndexMap;

use crate::domain_linkage::utils::url_only_includes_origin;
use crate::error::Result;
use crate::utils::url_only_includes_origin;
use crate::Error;
use crate::Error::DomainLinkageError;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,9 @@ impl DomainLinkageConfiguration {

#[cfg(feature = "domain-linkage-fetch")]
mod __fetch_configuration {
use crate::domain_linkage::utils::url_only_includes_origin;
use crate::domain_linkage::DomainLinkageConfiguration;
use crate::error::Result;
use crate::utils::url_only_includes_origin;
use crate::Error::DomainLinkageError;
use futures::StreamExt;
use identity_core::common::Url;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use identity_core::common::Url;
use identity_did::CoreDID;
use identity_did::DID;

use super::utils::url_only_includes_origin;
use crate::utils::url_only_includes_origin;

/// Convenient builder to create a spec compliant Domain Linkage Credential.
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ use identity_verification::jws::JwsVerifier;

use crate::validator::DecodedJwtCredential;

use super::utils::url_only_includes_origin;
use super::DomainLinkageValidationResult;
use crate::utils::url_only_includes_origin;

/// A validator for a Domain Linkage Configuration and Credentials.
Expand Down
1 change: 0 additions & 1 deletion identity_credential/src/domain_linkage/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ mod domain_linkage_configuration;
mod domain_linkage_credential_builder;
mod domain_linkage_validator;
mod error;
pub(crate) mod utils;

pub use self::domain_linkage_configuration::*;
pub use self::domain_linkage_credential_builder::*;
Expand Down
1 change: 1 addition & 0 deletions identity_credential/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ pub mod error;
pub mod presentation;
#[cfg(feature = "revocation-bitmap")]
pub mod revocation;
mod utils;
#[cfg(feature = "validator")]
pub mod validator;

Expand Down
File renamed without changes.

0 comments on commit e2953ba

Please sign in to comment.