diff --git a/Cargo.toml b/Cargo.toml index 67012eb3..f5f20b67 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,6 +2,7 @@ name = "xrpl-rust" version = "1.2.0" edition = "2021" +rust-version = "1.87" authors = [ "Tanveer Wahid ", "LimpidCrypto ", @@ -165,3 +166,6 @@ actix-rt = ["dep:actix-rt"] async-std-rt = ["dep:async-std"] futures-rt = ["dep:futures-timer"] smol-rt = ["dep:smol"] + +[lints.rust] +unsafe_code = "forbid" diff --git a/xrpl-rust-macros/Cargo.toml b/xrpl-rust-macros/Cargo.toml index ae97d33f..3790070d 100644 --- a/xrpl-rust-macros/Cargo.toml +++ b/xrpl-rust-macros/Cargo.toml @@ -2,6 +2,7 @@ name = "xrpl-rust-macros" version = "0.1.0" edition = "2024" +rust-version = "1.85" description = "XRPL Rust Macros" license = "ISC" @@ -12,3 +13,6 @@ proc-macro = true syn = "2.0" quote = "1.0" proc-macro2 = "1.0" + +[lints.rust] +unsafe_code = "forbid"