Skip to content

Commit 5c74f76

Browse files
committed
sqldb: add crate-level attributes
Signed-off-by: Yuki Kishimoto <yukikishimoto@protonmail.com>
1 parent 2210a8a commit 5c74f76

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

crates/nostr-sqldb/src/lib.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#![forbid(unsafe_code)]
2+
#![warn(missing_docs)]
3+
#![warn(rustdoc::bare_urls)]
4+
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
5+
#![doc = include_str!("../README.md")]
6+
17
mod migrations;
28
#[allow(dead_code)] // TODO: to remove when also SQLite and MySQL are implemented
39
mod model;

0 commit comments

Comments
 (0)