summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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]