#milliseconds #snippets #duration #play #die #nobody #ain-t

bin+lib aintnobody

Plays snippet of "ain't nobody" for 1284 milliseconds or so and die

3 releases (stable)

1.1.1 Nov 5, 2023
1.0.1 Nov 2, 2023
0.0.0 Nov 2, 2023

#543 in Audio

Unlicense

92KB
92 lines

aintnobody

Plays snippet of "ain't nobody" for 1284 milliseconds or so and die

USAGE

Library

Install

$ cargo add aintnobody

Code

use aintnobody::{Error, playintnobody};

fn main() -> Result<(), Error>{
    playintnobody(std::time::Duration::from_millis(1284))?;
    Ok(())
}

Executable

Install

$ cargo install aintnobody

Run

$ aintnobody

lib.rs:

aintnobody lib

Dependencies

~3–31MB
~466K SLoC