hydro2_3p/
lib.rs

1// ---------------- [ File: src/lib.rs ]
2#![allow(unused_imports)]
3
4pub use rand;
5pub use pbx::arc;
6pub use serde::{de,Deserializer,Deserialize,Serialize,Serializer};
7pub use serde_json::Value as JsonValue;
8pub use serde_json::{self,Value,json};
9pub use lazy_static::*;
10pub use traced_test::*;
11pub use num_traits::Zero;
12pub use async_trait::async_trait;
13pub use std::borrow::Cow;
14pub use std::cell::RefCell;
15pub use std::cmp::Ordering;
16pub use std::collections::{VecDeque,HashSet};
17pub use std::error::Error;
18pub use std::fmt::{Formatter,Display,Debug,Result as FmtResult};
19pub use std::iter::Enumerate;
20pub use std::iter::Peekable;
21pub use std::marker::PhantomData;
22pub use std::ops::Deref;
23pub use std::panic::{AssertUnwindSafe,catch_unwind};
24pub use std::path::{PathBuf,Path};
25pub use std::rc::Rc;
26pub use std::slice::Chunks;
27pub use std::str::Chars;
28pub use std::str::FromStr;
29pub use std::sync::Mutex as StdMutex;
30pub use std::sync::atomic::{AtomicI32,AtomicUsize, Ordering as AtomicOrdering};
31pub use std::sync::{Arc};
32pub use std::thread::{self,ScopedJoinHandle,Scope};
33pub use std::{collections::HashMap, io::{BufRead, BufWriter, Write}, };
34pub use export_magic::*;
35pub use tokio::runtime::Runtime as TokioRuntime;
36pub use tokio::sync::mpsc::{channel,error::TrySendError,Sender,Receiver};
37
38pub use tokio::{
39    task::JoinSet,
40    fs::{self,File},
41    io::{self, AsyncBufReadExt, AsyncWriteExt, BufReader},
42    self,
43    sync::{
44        RwLock as AsyncRwLock,
45        RwLockReadGuard as AsyncRwLockReadGuard,
46        RwLockWriteGuard as AsyncRwLockWriteGuard,
47        Mutex as AsyncMutex,mpsc, oneshot, Semaphore,OwnedSemaphorePermit},
48    task::JoinHandle,
49    time::{Instant,sleep,Duration},
50};
51pub use futures::{self,future::join_all,executor::block_on};
52pub use error_tree::*;
53pub use disable_macro::*;
54pub use tracing_setup::*;
55pub use tracing::{info,debug,error,warn};
56pub use named_item::*;
57pub use named_item_derive::NamedItem;
58pub use getset::*;
59pub use derive_builder::{Builder};
60
61/*
62pub use strum::{self,VariantNames,IntoEnumIterator};
63pub use strum_macros::{Display as StrumDisplay, EnumIter, EnumString, EnumVariantNames};
64pub use once_cell::unsync::OnceCell;
65pub use async_openai::{
66    self,
67    types::{
68        OpenAIFile,
69        Batch, 
70        BatchCompletionWindow, 
71        BatchEndpoint, 
72        BatchRequest, 
73        BatchRequestInput, 
74        BatchRequestInputMethod, 
75        BatchRequestOutput,
76        BatchStatus,
77        CreateFileRequest, 
78        FilePurpose,
79    },
80    Client,
81    config::OpenAIConfig,
82    error::{OpenAIError, ApiError as OpenAIApiError},
83};
84pub use bytes::Bytes;
85
86pub use gpt_batch_scribe::{self,*};
87//pub use gpt_batch_executor::*;
88
89pub use indoc::{formatdoc,indoc};
90pub use inflector::cases::snakecase::to_snake_case;
91pub use delegate::delegate;
92pub use regex::{self,Regex,Captures};
93pub use tempfile::{self,tempdir,TempDir};
94pub use uuid::{self,Uuid};
95
96
97pub use async_openai::types::{
98    BatchRequestOutputResponse,
99    ChatCompletionRequestMessageContentPartImage,
100    ChatCompletionRequestUserMessageContent,
101    ImageDetail,
102    ImageUrl,
103};
104
105pub use export_magic::*;
106
107pub use strsim;
108pub use json_repair::*;
109
110pub use ai_descriptor::*;
111pub use rand_construct::*;
112pub use structured_language_form::*;
113pub use crossbeam;
114pub use float_ord::FloatOrd;
115*/