summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Barrios Romero <eldruin@gmail.com>2021-07-29 23:14:38 +0200
committerDiego Barrios Romero <eldruin@gmail.com>2021-07-29 23:14:38 +0200
commitb8792c2d9f2b5adfaa0e3bd31c297b105b66e4e1 (patch)
tree6faa677138e244361c6d76382aac0c7a08b15138
parent28126fee8ce253e67ab737927ff0d89ebc24e419 (diff)
downloadads1x1x-async-b8792c2d9f2b5adfaa0e3bd31c297b105b66e4e1.tar.gz
ads1x1x-async-b8792c2d9f2b5adfaa0e3bd31c297b105b66e4e1.tar.xz
ads1x1x-async-b8792c2d9f2b5adfaa0e3bd31c297b105b66e4e1.zip
Add docs root
-rw-r--r--Cargo.toml2
-rw-r--r--src/lib.rs1
2 files changed, 2 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index c4dc9bd..25e938d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "ads1x1x"
-version = "0.2.1"
+version = "0.2.1" # remember to update html_root_url
authors = ["Diego Barrios Romero <eldruin@gmail.com>"]
repository = "https://github.com/eldruin/ads1x1x-rs"
license = "MIT OR Apache-2.0"
diff --git a/src/lib.rs b/src/lib.rs
index 90a0f62..8833d75 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -202,6 +202,7 @@
//! adc.set_comparator_latching(ComparatorLatching::Latching).unwrap();
//! ```
+#![doc(html_root_url = "https://docs.rs/ads1x1x/0.2.1")]
#![deny(unsafe_code)]
#![deny(missing_docs)]
#![no_std]