We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e39ee52 commit 73455b6Copy full SHA for 73455b6
src/model/mod.rs
@@ -62,6 +62,7 @@ pub use self::timestamp::Timestamp;
62
/// use serenity::model::prelude::*;
63
/// ```
64
pub mod prelude {
65
+ #[cfg(not(feature = "unstable"))]
66
pub(crate) use serde::de::Visitor;
67
pub(crate) use serde::{Deserialize, Deserializer};
68
src/model/utils.rs
@@ -3,6 +3,7 @@ use std::fmt;
3
use arrayvec::ArrayVec;
4
use serde::de::Error as DeError;
5
use serde_cow::CowStr;
6
+#[cfg(not(feature = "unstable"))]
7
use serde_json::value::RawValue;
8
use small_fixed_array::FixedString;
9
0 commit comments