From 3604ff197fbe4ea2dedfdcbd877bf18c8229227b Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Sat, 23 Nov 2024 18:53:48 +0000 Subject: [PATCH] feat: not got feature flags --- Cargo.toml | 4 ++++ src/lib.rs | 2 ++ 2 files changed, 6 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index d35e233..22e45d4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"] } diff --git a/src/lib.rs b/src/lib.rs index 56b49e3..8508657 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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::("get_members", api_key).await } + #[cfg(feature = "unstable")] /// Get information about teh Club/Soc, including committee members /// /// # Examples