Skip to content

Commit 855721d

Browse files
committed
Little things
1 parent 4725e83 commit 855721d

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

src/lib.rs

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,27 @@
66
//! In order for the async functions to be functional, you must call `run()` in
77
//! the async executor's main loop.
88
9+
#![doc(
10+
html_logo_url = "https://ardaku.github.io/mm/logo.svg",
11+
html_favicon_url = "https://ardaku.github.io/mm/icon.svg",
12+
html_root_url = "https://docs.rs/daku"
13+
)]
14+
#![warn(
15+
anonymous_parameters,
16+
missing_copy_implementations,
17+
missing_debug_implementations,
18+
missing_docs,
19+
nonstandard_style,
20+
rust_2018_idioms,
21+
single_use_lifetimes,
22+
trivial_casts,
23+
trivial_numeric_casts,
24+
unreachable_pub,
25+
unused_extern_crates,
26+
unused_qualifications,
27+
variant_size_differences
28+
)]
29+
930
use std::{
1031
future::Future,
1132
pin::Pin,
@@ -127,6 +148,7 @@ struct Command {
127148

128149
/// CPU architecture list.
129150
#[non_exhaustive]
151+
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
130152
pub enum Arch {
131153
/// Web Assembly
132154
Wasm = 0,

0 commit comments

Comments
 (0)