shut_up 0.1.1

Use trust_me、shut_up or other keywords replace 'unsafe'. Compiler shut up! Readers shut up too! My code has no bugs, trust me!
Documentation
  • Coverage
  • 0%
    0 out of 10 items documented0 out of 0 items with examples
  • Size
  • Source code size: 16.35 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.33 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 9s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Akika404/shut_up
    26 1 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • egmsia01

Shut up! Trust me!

Use some keywords replace unsafe in Rust. Compiler shut up! Readers shut up too! My code has no bugs, trust me!

add the following line to your Cargo.toml:

shut_up = "0.1.1"

You can use the following keywords replace unsafe.

use shut_up::{trust_me, shut_up, cpp_start, i_am_your_father, freestyle,
              i_hereby_declare_that_i_fully_understand_that_any_consequence_is_my_own_liability,
              i_can_do_it, get_approval_from_a_senior_or_you_will_get_fired, showtime};

fn main() {
    trust_me! {
        println!("Trust me! This is safe!");
    }

    shut_up! {
        println!("Shut up! This is safe, tooooo!");
    }

    cpp_start! {
        println!("C++, Start!");
    }

    i_am_your_father! {
        println!("I am your father! This is safe, too!");
    }

    i_hereby_declare_that_i_fully_understand_that_any_consequence_is_my_own_liability! {
        println!("I hereby declare that I fully understand that any consequence is my own liability.")
    }

    i_can_do_it! {
        println!("I can do it!")
    }

    get_approval_from_a_senior_or_you_will_get_fired! {
        println!("Get approval from a senior, or you will get fired!")
    }

    freestyle! {
        println!("Are you freestyle?")
    }

    showtime! {
        println!("show time!")
    }
}