feat: not got feature flags

This commit is contained in:
silver 2024-11-23 18:53:48 +00:00
parent df28a6e11b
commit 3604ff197f
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D
2 changed files with 6 additions and 0 deletions

View file

@ -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"] }

View file

@ -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