taganak_framework/
lib.rs

1pub mod datasets;
2pub mod graphs;
3pub mod integrations;
4
5// FIXME check that this is the taganak version, not the final binary name and version
6pub const USER_AGENT: &str = concat!(env!("CARGO_PKG_NAME"), "/", env!("CARGO_PKG_VERSION"),);
7
8pub mod prelude {
9    pub use taganak_core::prelude::*;
10
11    // Traits and wrappers
12    pub use super::datasets::{ConfigurableDataset, DatasetConfig};
13    pub use super::graphs::{ConfigurableGraph, ConfigurableGraphs, GraphConfig, GraphConfigs};
14
15    // Re-exports for convenience
16    pub use futures::{Stream, StreamExt, TryStream, TryStreamExt};
17}
18
19#[cfg(feature = "source_n_triples")]
20lazy_term!(pub SELF_TERM, "<https://sdk.taganak.net/#self>");
21#[cfg(feature = "source_n_triples")]
22pub static SELF_TTL: &str = include_str!("../self.ttl");
23#[cfg(feature = "source_turtle")]
24lazy_graph!(pub SELF_GRAPH, SELF_TTL, Some("https://sdk.taganak.net/#"));