Skip to main content

Crate alizarin_core

Crate alizarin_core 

Source

Re-exports§

pub use graph::batch_merge_resources;
pub use graph::build_backedges;
pub use graph::find_root_node;
pub use graph::is_iterable_datatype;
pub use graph::merge_resources;
pub use graph::parse_resources_from_json_str;
pub use graph::prune_graph;
pub use graph::BatchMergeResult;
pub use graph::GraphWrapper;
pub use graph::IndexedGraph;
pub use graph::MergeAccumulator;
pub use graph::MergeResult;
pub use graph::PopulateCachesResult;
pub use graph::PruneError;
pub use graph::RelatedResourceEntry;
pub use graph::ResourceCache;
pub use graph::ResourceEntry;
pub use graph::StaticCard;
pub use graph::StaticCardsXNodesXWidgets;
pub use graph::StaticConstraint;
pub use graph::StaticEdge;
pub use graph::StaticFunctionsXGraphs;
pub use graph::StaticGraph;
pub use graph::StaticGraphMeta;
pub use graph::StaticNode;
pub use graph::StaticNodegroup;
pub use graph::StaticPublication;
pub use graph::StaticResource;
pub use graph::StaticResourceDescriptors;
pub use graph::StaticResourceMetadata;
pub use graph::StaticResourceReference;
pub use graph::StaticResourceRegistry;
pub use graph::StaticResourceSummary;
pub use graph::StaticTile;
pub use graph::StaticTranslatableString;
pub use graph::UnknownReference;
pub use graph::ITERABLE_DATATYPES;
pub use loader::import_prebuild;
pub use loader::load_collections_from_dir;
pub use loader::load_ontology_xml_from_dir;
pub use loader::parse_business_data_bytes;
pub use loader::ImportPrebuildResult;
pub use loader::LoaderError;
pub use loader::PrebuildInfo;
pub use loader::PrebuildLoader;
pub use exporter::build_prebuild_export;
pub use exporter::export_all_graphs;
pub use exporter::export_collections;
pub use exporter::export_graphs;
pub use exporter::export_single_collection;
pub use exporter::ExportError;
pub use exporter::ExportFile;
pub use exporter::PrebuildExportData;
pub use exporter::fs_writer::export_prebuild_to_directory;
pub use exporter::fs_writer::write_to_directory;
pub use interner::InternedId;
pub use interner::Interner;
pub use interner::InternerExt;
pub use node_config::NodeConfig;
pub use node_config::NodeConfigBoolean;
pub use node_config::NodeConfigConcept;
pub use node_config::NodeConfigDomain;
pub use node_config::NodeConfigManager;
pub use node_config::NodeConfigReference;
pub use node_config::StaticDomainValue;
pub use type_coercion::coerce_boolean;
pub use type_coercion::coerce_concept_list;
pub use type_coercion::coerce_concept_value;
pub use type_coercion::coerce_date;
pub use type_coercion::coerce_domain_value;
pub use type_coercion::coerce_domain_value_list;
pub use type_coercion::coerce_edtf;
pub use type_coercion::coerce_geojson;
pub use type_coercion::coerce_non_localized_string;
pub use type_coercion::coerce_number;
pub use type_coercion::coerce_resource_instance;
pub use type_coercion::coerce_resource_instance_list;
pub use type_coercion::coerce_string;
pub use type_coercion::coerce_url;
pub use type_coercion::coerce_value;
pub use type_coercion::coerce_value_with_registry;
pub use type_coercion::get_current_language;
pub use type_coercion::set_current_language;
pub use type_coercion::CoercionResult;
pub use type_coercion::DEFAULT_LANGUAGE;
pub use type_serialization::serialize_boolean;
pub use type_serialization::serialize_concept;
pub use type_serialization::serialize_concept_list;
pub use type_serialization::serialize_date;
pub use type_serialization::serialize_display;
pub use type_serialization::serialize_domain_value;
pub use type_serialization::serialize_domain_value_list;
pub use type_serialization::serialize_edtf;
pub use type_serialization::serialize_geojson;
pub use type_serialization::serialize_non_localized_string;
pub use type_serialization::serialize_number;
pub use type_serialization::serialize_resource_instance;
pub use type_serialization::serialize_resource_instance_list;
pub use type_serialization::serialize_string;
pub use type_serialization::serialize_tile_data;
pub use type_serialization::serialize_url;
pub use type_serialization::serialize_value;
pub use type_serialization::ExternalResolver;
pub use type_serialization::ResourceDisplayResolver;
pub use type_serialization::SerializationContext;
pub use type_serialization::SerializationMode;
pub use type_serialization::SerializationOptions;
pub use type_serialization::SerializationResult;
pub use label_resolution::build_alias_to_collection_map;
pub use label_resolution::find_needed_collections;
pub use label_resolution::is_valid_uuid;
pub use label_resolution::resolve_labels;
pub use label_resolution::resolve_labels_full;
pub use label_resolution::ConceptLookup;
pub use label_resolution::LabelResolutionConfig;
pub use label_resolution::LabelResolutionError;
pub use label_resolution::DEFAULT_CONFIG_KEYS;
pub use label_resolution::DEFAULT_RESOLVABLE_DATATYPES;
pub use card_traversal::cards_to_tree;
pub use card_traversal::serialize_card;
pub use card_traversal::serialize_root_cards;
pub use card_traversal::CardSerializationParams;
pub use json_conversion::build_tree_from_tiles;
pub use json_conversion::create_static_resource;
pub use json_conversion::resource_tiles_to_tree;
pub use json_conversion::tiles_to_tree;
pub use json_conversion::tree_to_tiles;
pub use json_conversion::tree_to_tiles_with_options;
pub use json_conversion::BusinessData;
pub use json_conversion::BusinessDataWrapper;
pub use pseudo_value_core::matches_tile_filter;
pub use pseudo_value_core::PseudoListCore;
pub use pseudo_value_core::PseudoValueCore;
pub use pseudo_value_core::TileBuilder;
pub use pseudo_value_core::TileBuilderContext;
pub use pseudo_value_core::VisitorContext;
pub use instance_wrapper_core::create_pseudo_list_from_tiles;
pub use instance_wrapper_core::ensure_nodegroup;
pub use instance_wrapper_core::is_node_single_cardinality;
pub use instance_wrapper_core::is_node_single_cardinality_with;
pub use instance_wrapper_core::matches_semantic_child;
pub use instance_wrapper_core::resolve_and_filter_tiles;
pub use instance_wrapper_core::values_from_resource_nodegroup;
pub use instance_wrapper_core::EnsureNodegroupResult;
pub use instance_wrapper_core::LoadState;
pub use instance_wrapper_core::ModelAccess;
pub use instance_wrapper_core::PopulateResult;
pub use instance_wrapper_core::ResourceInstanceWrapperCore;
pub use instance_wrapper_core::SemanticChildError;
pub use instance_wrapper_core::SemanticChildResult;
pub use instance_wrapper_core::ValuesFromNodegroupResult;
pub use graph_model_access::GraphModelAccess;
pub use path_resolution::resolve_path_segments;
pub use path_resolution::PathError;
pub use path_resolution::PathResolutionInfo;
pub use tile_source::TileSource;
pub use tile_source::TileSourceError;
pub use rdm_cache::rdm_to_skos_collection;
pub use rdm_cache::rdm_to_skos_collection_excluding;
pub use rdm_cache::skos_to_rdm_collection;
pub use rdm_cache::RdmCache;
pub use rdm_cache::RdmCollection;
pub use rdm_cache::RdmConcept;
pub use rdm_namespace::clear_rdm_namespace;
pub use rdm_namespace::generate_collection_uuid;
pub use rdm_namespace::generate_concept_uuid;
pub use rdm_namespace::generate_concept_uuid_from_str;
pub use rdm_namespace::generate_value_uuid;
pub use rdm_namespace::get_rdm_namespace;
pub use rdm_namespace::has_rdm_namespace;
pub use rdm_namespace::labels_to_deterministic_string;
pub use rdm_namespace::parse_rdm_namespace;
pub use rdm_namespace::set_rdm_namespace;
pub use graph_mutator::apply_instructions;
pub use graph_mutator::apply_mutations;
pub use graph_mutator::apply_mutations_create_from_json;
pub use graph_mutator::apply_mutations_from_json;
pub use graph_mutator::apply_mutations_from_json_with_extensions;
pub use graph_mutator::apply_mutations_with_extensions;
pub use graph_mutator::build_graph_from_instructions;
pub use graph_mutator::build_graph_from_instructions_csv;
pub use graph_mutator::build_graph_from_instructions_json;
pub use graph_mutator::build_graph_from_instructions_with_extensions;
pub use graph_mutator::default_card_component;
pub use graph_mutator::generate_uuid_v5;
pub use graph_mutator::get_default_widget_for_datatype;
pub use graph_mutator::get_mutation_schema;
pub use graph_mutator::mutations_to_json;
pub use graph_mutator::parse_instructions_from_csv;
pub use graph_mutator::slugify;
pub use graph_mutator::AddCardParams;
pub use graph_mutator::AddEdgeParams;
pub use graph_mutator::AddNodeParams;
pub use graph_mutator::AddNodegroupParams;
pub use graph_mutator::AddWidgetParams;
pub use graph_mutator::CardComponent;
pub use graph_mutator::CardOptions;
pub use graph_mutator::Cardinality;
pub use graph_mutator::CreateGraphParams;
pub use graph_mutator::ExtensionMutationHandler;
pub use graph_mutator::ExtensionMutationParams;
pub use graph_mutator::ExtensionMutationRegistry;
pub use graph_mutator::GraphInstruction;
pub use graph_mutator::GraphMutation;
pub use graph_mutator::GraphMutator;
pub use graph_mutator::MutationConformance;
pub use graph_mutator::MutationError;
pub use graph_mutator::MutationRequest;
pub use graph_mutator::MutationRequestOptions;
pub use graph_mutator::MutatorOptions;
pub use graph_mutator::NodeOptions;
pub use graph_mutator::RenameGraphParams;
pub use graph_mutator::RenameNodeParams;
pub use graph_mutator::Widget;
pub use graph_mutator::DEFAULT_CARD_COMPONENT_ID;
pub use graph_mutator::WIDGETS;
pub use ontology::OntologyConfig;
pub use ontology::OntologyError;
pub use ontology::OntologyValidationDetail;
pub use ontology::OntologyValidator;
pub use registry::clear_registry;
pub use registry::get_graph;
pub use registry::get_registered_graph_ids;
pub use registry::is_graph_registered;
pub use registry::register_graph;
pub use registry::register_graph_owned;
pub use registry::registry_size;
pub use registry::unregister_graph;
pub use registry::is_list_datatype;
pub use registry::list_datatypes;
pub use registry::register_list_datatype;
pub use registry::unregister_list_datatype;
pub use registry::get_widget_for_datatype;
pub use registry::register_widget_for_datatype;
pub use registry::unregister_widget_for_datatype;
pub use registry::widget_mappings;
pub use registry::get_registered_widget;
pub use registry::register_widget;
pub use registry::registered_widgets;
pub use registry::unregister_widget;
pub use registry::RegisteredWidget;
pub use registry::add_to_global_rdm_cache_from_skos;
pub use registry::add_to_global_rdm_cache_from_skos_xml;
pub use registry::clear_global_rdm_cache;
pub use registry::ensure_global_rdm_cache;
pub use registry::get_global_rdm_cache;
pub use registry::has_global_rdm_cache;
pub use registry::set_global_rdm_cache;
pub use registry::with_global_rdm_cache;
pub use registry::with_global_rdm_cache_mut;
pub use permissions::evaluate_tile_path;
pub use permissions::PermissionRule;
pub use string_utils::camel_to_snake;
pub use string_utils::snake_to_camel;
pub use string_utils::sort_json_keys;
pub use string_utils::transform_keys_to_snake;
pub use extension_type_registry::ExtensionError;
pub use extension_type_registry::ExtensionTypeHandler;
pub use extension_type_registry::ExtensionTypeRegistry;
pub use extension_type_registry::HandlerCapabilities;
pub use csv_model_loader::build_graph_from_model_csvs;
pub use csv_model_loader::model_csvs_to_collections;
pub use csv_model_loader::model_csvs_to_instructions;
pub use csv_model_loader::parse_model_csvs;
pub use csv_model_loader::validate_model_csvs;
pub use csv_model_loader::validate_model_csvs_from_strings;
pub use csv_model_loader::CollectionRow;
pub use csv_model_loader::CsvModelDiagnostic;
pub use csv_model_loader::CsvModelError;
pub use csv_model_loader::DiagnosticLevel;
pub use csv_model_loader::GraphRow;
pub use csv_model_loader::ModelCsvBundle;
pub use csv_model_loader::NodeRow;
pub use csv_business_data_loader::build_resources_from_business_csv;
pub use csv_business_data_loader::wrap_business_data;
pub use csv_business_data_loader::BusinessDataCsvOptions;

Modules§

card_traversal
Card-based tree traversal.
csv_business_data_loader
CSV Business Data Loader
csv_model_loader
CSV Model Loader
exporter
Prebuild directory exporter.
extension_type_registry
Alizarin Core Library
graph
Core graph data structures for Arches/Alizarin
graph_model_access
graph_mutator
Graph Mutator
instance_wrapper_core
interner
String interner for efficient UUID handling
json_conversion
label_resolution
Label Resolution Module
loader
File system loader for prebuild directories
node_config
ontology
RDFS Ontology Parser and Validator
path_resolution
permissions
Permission rules for conditional tile filtering.
pseudo_value_core
rdm_cache
Core RDM Cache for concept lookups
rdm_namespace
RDM Namespace utilities for deterministic UUID generation.
registry
skos
SKOS RDF/XML Parser and Serializer
string_utils
String utility functions.
tile_source
Pluggable tile source trait for loading tiles from external backends.
type_coercion
Type coercion handlers for Alizarin datatypes.
type_serialization
Type serialization handlers for Alizarin datatypes.

Constants§

VERSION
The version of alizarin-core (from Cargo.toml at compile time).