feat: not got feature flags
This commit is contained in:
parent
df28a6e11b
commit
3604ff197f
2 changed files with 6 additions and 0 deletions
|
@ -3,6 +3,10 @@ name = "wolves-oxidised"
|
|||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[features]
|
||||
# this is for anythign in dev and not finalised yet
|
||||
unstable = []
|
||||
|
||||
[dependencies]
|
||||
# for making teh requests
|
||||
reqwest = { version = "0.12", features = ["json"] }
|
||||
|
|
|
@ -48,6 +48,7 @@ pub struct WolvesUser {
|
|||
pub domain: String,
|
||||
}
|
||||
|
||||
#[cfg(feature = "unstable")]
|
||||
/// Information on an individual club/soc
|
||||
#[derive(Deserialize, Serialize, Debug)]
|
||||
pub struct WolvesCNS {
|
||||
|
@ -145,6 +146,7 @@ impl Client {
|
|||
self.get_bulk::<WolvesUser>("get_members", api_key).await
|
||||
}
|
||||
|
||||
#[cfg(feature = "unstable")]
|
||||
/// Get information about teh Club/Soc, including committee members
|
||||
///
|
||||
/// # Examples
|
||||
|
|
Loading…
Reference in a new issue