Skip to main content

purrdf_slice/
lib.rs

1// SPDX-FileCopyrightText: 2026 Blackcat Informatics® Inc. <paudley@blackcatinformatics.ca>
2// SPDX-License-Identifier: MIT OR Apache-2.0
3
4//! `purrdf-slice` — native slice catalog: manifest-based discovery, typed
5//! artifact inventory, and content-addressed IDs for the PurRDF ontology slices.
6#![doc(
7    html_logo_url = "https://raw.githubusercontent.com/Blackcat-Informatics/purrdf/main/docs/purrdf-logo.svg"
8)]
9#![doc(
10    html_favicon_url = "https://raw.githubusercontent.com/Blackcat-Informatics/purrdf/main/docs/purrdf-logo.svg"
11)]
12
13pub mod analysis;
14pub mod artifact;
15pub mod cache;
16pub mod catalog;
17pub mod claim_view;
18pub mod diagnostics;
19pub mod dsl_stats_emit;
20pub mod error;
21pub mod fix_deps;
22pub mod list_functions;
23pub mod mapping_support;
24pub mod ownership;
25pub mod prefix_emit;
26pub mod prefix_lint;
27pub mod rdf_query;
28pub mod standpoint_emit;
29pub mod standpoint_modality;
30pub mod vocab;
31
32pub use analysis::{
33    AnalysisError, AnalysisGraph, bundle_content_id, emit_analysis_graph, is_forbidden_edge,
34};
35pub use artifact::{ArtifactRecord, ArtifactRole};
36pub use cache::{
37    CacheKey, LinkUnit, Phase, ProductUnit, ToolchainContext, dependency_closure, link_unit_key,
38    link_units, product_unit, product_unit_key, source_unit_key,
39};
40pub use catalog::{ManifestView, SliceCatalog, SliceRecord, SliceTier};
41pub use claim_view::{CLAIM_VIEW_FILE, emit_claim_view};
42pub use diagnostics::ProjectionDiagnostic;
43pub use dsl_stats_emit::emit_dsl_stats;
44pub use error::SliceError;
45pub use fix_deps::{ManifestPatch, compute_fix_deps};
46pub use list_functions::emit_list_functions;
47pub use ownership::{
48    ArtifactEvidence, DependencyEdge, EdgeEvidence, EdgeKind, OwnershipAnalyzer,
49    OwnershipDiagnostic, OwnershipReport, OwnershipStatus, ReconciliationStatus, SliceIri,
50    TermOwnership,
51};
52pub use prefix_emit::{emit_core_prefixes, emit_jsonld_context};
53pub use prefix_lint::lint_prefix_consistency;
54pub use rdf_query::NamedNode;
55pub use standpoint_emit::emit_standpoint_sets;
56pub use vocab::SliceVocab;