Skip to main content

rlqt_lib/
lib.rs

1// Copyright (C) 2025-2026 Michael S. Klishin and Contributors
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14pub mod constants;
15pub mod datetime;
16pub mod entry_metadata;
17pub mod errors;
18pub mod file_set_metadata;
19pub mod parser;
20pub mod rel_db;
21pub mod severity;
22
23use std::result::Result as StdResult;
24
25pub use constants::{doc_url_from_id, resolution_or_discussion_url_from_id};
26pub use entry_metadata::label_annotators::annotate_labels;
27pub use entry_metadata::labels::LogEntryLabels;
28pub use entry_metadata::subsystem_annotators::annotate_subsystems;
29pub use entry_metadata::subsystems::Subsystem;
30pub use errors::Error;
31pub use parser::{ParseResult, ParsedLogEntry, parse_log_file};
32pub use rel_db::{
33    DatabaseConnection, NodeLogEntry, QueryContext, QueryPreset, create_database,
34    create_database_for_bulk_import, finalize_bulk_import, open_database,
35    post_insertion_operations,
36};
37pub use severity::Severity;
38
39pub type Result<T, E = Error> = StdResult<T, E>;