1#![doc = include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/cargo.md"))]
2#![doc = document_features::document_features!()]
4#![cfg_attr(docsrs, feature(doc_cfg))]
5
6#[macro_export]
26macro_rules! edgedb_query {
27 ($module:ident, $query:literal) => {
28 $crate::exports::edgedb_codegen_macros::edgedb_query_raw!($module, query: $query);
29 };
30 ($module: ident) => {
31 $crate::exports::edgedb_codegen_macros::edgedb_query_raw!($module);
32 };
33}
34
35#[macro_export]
49macro_rules! edgedb_query_file {
50 ($module:ident, $path:literal) => {
51 $crate::exports::edgedb_codegen_macros::edgedb_query_raw!($module, file: $path);
52 };
53}
54
55pub mod exports {
56 #[cfg(feature = "with_bigdecimal")]
57 #[cfg_attr(docsrs, doc(cfg(feature = "with_bigdecimal")))]
58 pub use bigdecimal;
59 pub use bytes;
60 #[cfg(feature = "with_chrono")]
61 #[cfg_attr(docsrs, doc(cfg(feature = "with_chrono")))]
62 pub use chrono;
63 pub use edgedb_codegen_macros;
64 #[cfg(feature = "query")]
65 #[cfg_attr(docsrs, doc(cfg(feature = "query")))]
66 pub use edgedb_derive;
67 pub use edgedb_errors;
68 pub use edgedb_protocol;
69 #[cfg(feature = "query")]
70 #[cfg_attr(docsrs, doc(cfg(feature = "query")))]
71 pub use edgedb_tokio;
72 #[cfg(any(feature = "with_bigdecimal", feature = "with_bigint"))]
73 #[cfg_attr(
74 docsrs,
75 doc(cfg(any(feature = "with_bigdecimal", feature = "with_bigint")))
76 )]
77 pub use num_bigint;
78 #[cfg(any(feature = "with_bigdecimal", feature = "with_bigint"))]
79 #[cfg_attr(
80 docsrs,
81 doc(cfg(any(feature = "with_bigdecimal", feature = "with_bigint")))
82 )]
83 pub use num_traits;
84 #[cfg(feature = "serde")]
85 #[cfg_attr(docsrs, doc(cfg(feature = "serde")))]
86 pub use serde;
87 #[cfg(feature = "builder")]
88 #[cfg_attr(docsrs, doc(cfg(feature = "builder")))]
89 pub use typed_builder;
90 pub use uuid;
91}