Browse Source

Add docs html root url

master
Diego Barrios Romero 2 years ago
parent
commit
5414721d1d
  1. 2
      Cargo.toml
  2. 1
      src/lib.rs

2
Cargo.toml

@ -1,6 +1,6 @@
[package]
name = "ds323x"
version = "0.3.1"
version = "0.3.1" # remember to update html_root_url
authors = ["Diego Barrios Romero <eldruin@gmail.com>"]
repository = "https://github.com/eldruin/ds323x-rs"
license = "MIT OR Apache-2.0"

1
src/lib.rs

@ -386,6 +386,7 @@
//! rtc.set_alarm1_hms(time).unwrap();
//! ```
#![doc(html_root_url = "https://docs.rs/ds323x/0.3.1")]
#![deny(unsafe_code, missing_docs)]
#![no_std]

Loading…
Cancel
Save