flamewire_bittensor_indexer/
lib.rs

1/*
2 * Copyright 2025 Flamewire
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *     http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17pub mod builder;
18pub mod config;
19pub mod error;
20pub mod handler;
21pub mod handler_group;
22pub mod indexer;
23pub mod prelude;
24pub mod retry;
25pub mod storage;
26pub mod types;
27pub mod validated_types;
28
29pub use crate::builder::IndexerBuilder;
30pub use crate::config::IndexerConfig;
31pub use crate::error::IndexerError;
32pub use crate::handler::{Context, EventFilter, Handler};
33pub use crate::handler_group::HandlerGroup;
34pub use crate::indexer::Indexer;
35pub use crate::retry::{retry_with_backoff, CircuitBreaker, RetryConfig};
36pub use crate::storage::CheckpointStore;
37pub use crate::types::{BlockNumber, ChainEvent};
38pub use crate::validated_types::{PostgresUrl, SqliteUrl, WebSocketUrl};