Skip to main content

cortex/
lib.rs

1// Copyright 2015-2025 Deyan Ginev. See the LICENSE
2// file at the top-level directory of this distribution.
3//
4// Licensed under the MIT license <LICENSE-MIT or http://opensource.org/licenses/MIT>.
5// This file may not be copied, modified, or distributed
6// except according to those terms.
7
8//! A general purpose processing framework for corpora of scientific documents
9
10#![doc(html_root_url = "https://dginev.github.io/CorTeX/")]
11#![doc(
12  html_logo_url = "https://raw.githubusercontent.com/dginev/CorTeX/main/public/img/logo-icon.png"
13)]
14#![deny(missing_docs)]
15#![recursion_limit = "256"]
16#![allow(clippy::implicit_hasher)]
17// TEMPORARY (POSSIBLE_UPGRADES E-5): the floating `nightly` clippy started (2026-08-10) firing
18// `redundant_field_names` *inside* Diesel `#[derive(Queryable/QueryableByName/Insertable)]`
19// expansions — generated code we can't rename — reddening `clippy -D warnings` on every branch
20// (66 false positives, zero hand-written cases). Remove this `allow` once the upstream clippy
21// regression reverts (re-run CI bare and confirm clean).
22#![allow(clippy::redundant_field_names)]
23#[macro_use]
24extern crate diesel;
25#[macro_use]
26extern crate rocket;
27
28pub mod backend;
29pub mod bootstrap;
30pub mod concerns;
31pub mod config;
32pub mod dispatcher;
33pub mod frontend;
34pub mod helpers;
35pub mod importer;
36pub mod jobs;
37pub mod migrations;
38pub mod models;
39pub mod observability;
40pub mod reports;
41/// Auto-generated diesel schema for the backend DB
42pub mod schema;
43pub mod telemetry;
44pub mod worker;