aboutsummaryrefslogtreecommitdiff
path: root/src/internal
diff options
context:
space:
mode:
authorAustin Hellyer <[email protected]>2016-11-14 18:23:29 -0800
committerAustin Hellyer <[email protected]>2016-11-14 18:23:29 -0800
commit80ec9fe2b19f05871d134c9b08d4fc607ec37af6 (patch)
treea18af5274a1fce359004fbcd4f9fd2267904ba90 /src/internal
parentEmbedAuthor 'url' is optional (diff)
downloadserenity-80ec9fe2b19f05871d134c9b08d4fc607ec37af6.tar.xz
serenity-80ec9fe2b19f05871d134c9b08d4fc607ec37af6.zip
Add internal module
Create a general `internal` module, and move `prelude_internal` to `internal::prelude`.
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/mod.rs1
-rw-r--r--src/internal/prelude.rs9
2 files changed, 10 insertions, 0 deletions
diff --git a/src/internal/mod.rs b/src/internal/mod.rs
new file mode 100644
index 0000000..b9d7209
--- /dev/null
+++ b/src/internal/mod.rs
@@ -0,0 +1 @@
+pub mod prelude;
diff --git a/src/internal/prelude.rs b/src/internal/prelude.rs
new file mode 100644
index 0000000..9b6b993
--- /dev/null
+++ b/src/internal/prelude.rs
@@ -0,0 +1,9 @@
+//! These prelude re-exports are a set of exports that are commonly used from
+//! within the library.
+//!
+//! These are not publicly re-exported to the end user, and must stay as a
+//! private module.
+
+pub use serde_json::Value;
+pub use ::client::ClientError;
+pub use ::error::{Error, Result};