dagger_sdk/
lib.rs

1pub mod core;
2pub mod errors;
3
4pub mod logging;
5mod querybuilder;
6
7pub use crate::core::config::Config;
8
9#[cfg(feature = "gen")]
10#[allow(dead_code)]
11mod client;
12
13#[cfg(feature = "gen")]
14#[allow(dead_code)]
15mod gen;
16
17#[cfg(feature = "gen")]
18pub use client::*;
19
20#[cfg(feature = "gen")]
21pub use gen::*;
22
23pub mod id {
24    use std::pin::Pin;
25
26    use crate::errors::DaggerError;
27
28    pub trait IntoID<T>: Sized + Clone + Sync + Send + 'static {
29        fn into_id(
30            self,
31        ) -> Pin<Box<dyn core::future::Future<Output = Result<T, DaggerError>> + Send>>;
32    }
33}