Skip to content

Commit baf5fbf

Browse files
committed
Add top-level attributes
This adds the smol-rs logo and forbid(unsafe_code) for cargo geiger. Signed-off-by: John Nunley <[email protected]>
1 parent c6725e0 commit baf5fbf

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/lib.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@
4848
//! [`libm`]: https://crates.io/crates/libm
4949
5050
#![cfg_attr(not(feature = "std"), no_std)]
51+
#![forbid(unsafe_code, future_incompatible, missing_docs)]
52+
#![doc(
53+
html_favicon_url = "https://raw.githubusercontent.com/smol-rs/smol/master/assets/images/logo_fullsize_transparent.png"
54+
)]
55+
#![doc(
56+
html_logo_url = "https://raw.githubusercontent.com/smol-rs/smol/master/assets/images/logo_fullsize_transparent.png"
57+
)]
5158

5259
mod float_normal;
5360
mod float_range;

0 commit comments

Comments
 (0)