From abca385863e34c7faf5b2767ba7c077b9e314b22 Mon Sep 17 00:00:00 2001 From: Arne Bahlo Date: Wed, 5 Oct 2022 10:34:22 +0200 Subject: [PATCH 1/3] Link to examples repository --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 3ec4f79..1ef4e4e 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,8 @@ async fn main() -> Result<(), Box> { } ``` +For further examples, head over to the [examples](examples) directory. + ## Optional Features The following are a list of From 989d786856e224fcf48715f47cf4f70cf4d6d0a9 Mon Sep 17 00:00:00 2001 From: Arne Bahlo Date: Wed, 5 Oct 2022 12:21:32 +0200 Subject: [PATCH 2/3] Remove auto-imported serde::_privde::doc --- src/client.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/client.rs b/src/client.rs index 820c747..49fedc3 100644 --- a/src/client.rs +++ b/src/client.rs @@ -1,8 +1,6 @@ //! The top-level client for the Axiom API. use std::env; -use serde::__private::doc; - use crate::{ datasets, error::{Error, Result}, From 1c78d84f89336800afffc714537a12da3a539ecb Mon Sep 17 00:00:00 2001 From: Arne Bahlo Date: Wed, 5 Oct 2022 12:43:14 +0200 Subject: [PATCH 3/3] Hide Client.url() from docs --- src/client.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client.rs b/src/client.rs index 49fedc3..3fd9160 100644 --- a/src/client.rs +++ b/src/client.rs @@ -52,6 +52,7 @@ impl Client { } /// Get the url (cloned). + #[doc(hidden)] pub fn url(&self) -> String { self.url.clone() }