capability_3p/
lib.rs

1// ---------------- [ File: capability-3p/src/lib.rs ]
2pub use inflector::Inflector;
3pub use pretty_assertions::assert_eq as pretty_assert_eq;
4pub use rocket::{self,Request,http::Status,catch,post,data::{ToByteUnit,Data}};
5pub use portpicker;
6pub use std::os::unix::process::ExitStatusExt;
7//pub use rocket::serde::{DeserializeOwned,Serialize, Deserialize, json::Json};
8pub use ::serde::de::{DeserializeOwned,Deserialize};
9pub use ::serde::Serialize;
10pub use ::serde_derive::Deserialize;
11pub use rand::rngs::StdRng;
12pub use strum_macros::EnumIter;
13pub use strum::IntoEnumIterator;
14pub use rand::distr::weighted::WeightedIndex;
15pub use rand::distr::Distribution;
16pub use language_enum::Language;
17pub use serde_path_to_error::{Deserializer as PathDeserializer, Track};
18pub use rand::Rng;
19pub use rand_core::SeedableRng;
20pub use ordered_float::OrderedFloat;
21pub use std::io::{Write,Read};
22pub use std::path::{Path, PathBuf};
23pub use lazy_static::lazy_static;
24pub use dirs;
25pub use tempfile::{self,tempdir,TempDir,NamedTempFile};
26pub use std::io::ErrorKind;
27pub use std::fs::create_dir_all;
28pub use named_item::*;
29pub use reqwest::{self};
30pub use std::borrow::Cow;
31pub use std::os::unix::fs::PermissionsExt;
32pub use export_magic::*;
33pub use error_tree::*;
34pub use tokio::fs::{self,File};
35pub use tokio::io::{self,AsyncReadExt,AsyncWriteExt,AsyncBufReadExt,BufReader};
36pub use std::slice::Iter;
37pub use std::convert::AsRef;
38pub use convert_case::{Case,Casing};
39pub use async_trait::async_trait;
40pub use uuid::*;
41pub use std::str::FromStr;
42pub use structopt::{self,StructOpt};
43pub use toml_edit;
44pub use toml_edit::{Document as TomlEditDocument,Item as TomlEditItem,Value as TomlEditValue,Array as TomlEditArray};
45pub use cargo_lock;
46pub use getset::{self,MutGetters,Getters,Setters};
47pub use cargo_metadata::{MetadataCommand, Package, Dependency, Metadata};
48pub use petgraph::graphmap::DiGraphMap;
49pub use petgraph::dot::{Dot, Config as DotConfig};
50pub use std::collections::{VecDeque,HashSet,BTreeMap,BTreeSet,HashMap};
51pub use tokio::process::Command;
52pub use tokio::runtime::Runtime;
53pub use pathdiff;
54pub use std::fmt::Debug;
55pub use indoc::{formatdoc,indoc};
56pub use std::process::Stdio;
57pub use cargo_metadata::PackageId;
58pub use petgraph::{self,Incoming,Outgoing,Graph,graph::{DiGraph, NodeIndex}};
59pub use petgraph::algo::{Cycle,toposort,tarjan_scc};
60pub use petgraph::visit::EdgeRef;
61pub use std::fmt::{self,Display};
62pub use std::thread;
63pub use std::fmt::Result as FmtResult;
64pub use tracing::{self,instrument,info,trace,debug,error,warn};
65pub use colored;
66pub use traced_test::traced_test;
67pub use tracing_setup::*;
68pub use regex::{self,Regex};
69pub use futures;
70
71pub use notify::{Config as NotifyConfig,Event,EventKind,RecommendedWatcher, RecursiveMode, Watcher};
72pub use std::sync::{Mutex as DontUseMe,Arc,mpsc::channel};
73pub use std::time::Duration;
74
75pub use tokio::sync::{Mutex as AsyncMutex,mpsc,mpsc::Sender};
76pub use tokio::task;
77pub use tokio_stream::{StreamExt,wrappers::ReceiverStream};
78pub use async_channel;
79pub use tokio_util::sync::CancellationToken;
80pub use tokio;
81pub use cargo_metadata;
82pub use notify;
83pub use semver;
84pub use semver::Version as SemverVersion;
85pub use disable_macro::*;
86pub use ra_ap_syntax::*;
87pub use text_size::TextRange;
88pub use ra_ap_syntax::{self,ast};
89
90pub use async_try_from::*;
91pub use ra_ap_syntax::ast::{HasModuleItem,HasGenericParams, HasName, HasVisibility, HasAttrs, };
92pub use toml;
93pub use toml::Value as TomlValue;
94pub use serde_json;
95pub use serde_json::{json,Value as JsonValue};
96pub use derive_builder::{self,Builder};
97pub use which::{which,Error as WhichError};
98pub use batch_mode::*;
99
100pub use async_openai::config::{Config as OpenAiConfig};
101pub use async_openai::types::{
102    ChatCompletionRequestMessage, 
103    CreateChatCompletionRequestArgs,
104    Role as OpenAiClientRole,
105    ChatCompletionRequestSystemMessage,
106    ChatCompletionRequestSystemMessageContent,
107    ChatCompletionRequestUserMessage,
108    ChatCompletionRequestUserMessageContent,
109};
110
111pub use async_openai::Client as OpenAiClient;
112
113pub use batch_mode_batch_client::*;
114
115pub use std::mem;
116
117pub use copypasta::{ClipboardContext, ClipboardProvider};
118
119//pub use scan_crate_for_typedefs::is_node_public;