Skip to content

Commit

Permalink
Merge pull request #321 from gwbres/docrs
Browse files Browse the repository at this point in the history
Introduce doc_cfg and mark ut1 within ut1 crate feature
  • Loading branch information
ChristopherRabotin authored Jul 25, 2024
2 parents 18c8471 + 0cde737 commit 58df214
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/epoch/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ mod system_time;
mod kani_verif;

#[cfg(feature = "ut1")]
#[cfg_attr(docrs, doc(cfg(feature = "ut1")))]
pub mod ut1;

pub mod leap_seconds;
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#![doc = include_str!("../README.md")]
#![cfg_attr(docrs, feature(doc_cfg))]
#![cfg_attr(not(feature = "std"), no_std)]
/*
* Hifitime, part of the Nyx Space tools
Expand Down

0 comments on commit 58df214

Please sign in to comment.