Skip to content

Commit 2445b74

Browse files
committed
fix up non-feature build
Signed-off-by: oflatt <[email protected]>
1 parent a044e30 commit 2445b74

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cedar-policy/src/api/err.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,15 @@ pub use cedar_policy_core::ast::{
2121
expression_construction_errors, restricted_expr_errors, ContainsUnknown,
2222
ExpressionConstructionError, PartialValueToValueError, RestrictedExpressionError,
2323
};
24+
#[cfg(feature = "entity-manifest")]
2425
use cedar_policy_core::entities::err::EntitiesError;
2526
pub use cedar_policy_core::evaluator::{evaluation_errors, EvaluationError};
2627
pub use cedar_policy_core::extensions::{
2728
extension_function_lookup_errors, ExtensionFunctionLookupError,
2829
};
2930
use cedar_policy_core::{ast, authorizer, est};
3031
pub use cedar_policy_validator::cedar_schema::{schema_warnings, SchemaWarning};
32+
#[cfg(feature = "entity-manifest")]
3133
use cedar_policy_validator::entity_manifest::{
3234
self, FailedAnalysisError, PartialExpressionError, PartialRequestError,
3335
};
@@ -38,6 +40,7 @@ use smol_str::SmolStr;
3840
use thiserror::Error;
3941
use to_cedar_syntax_errors::NameCollisionsError;
4042

43+
#[cfg(feature = "entity-manifest")]
4144
use super::ValidationResult;
4245

4346
/// Errors related to [`crate::Entities`]

0 commit comments

Comments
 (0)