8 lines
157 B
Rust
8 lines
157 B
Rust
use std::str::FromStr;
|
|
use secstr::SecStr;
|
|
|
|
fn main() {
|
|
let sec_str = SecStr::from_str("hello world").expect("secstr");
|
|
println!("{:?}", sec_str);
|
|
}
|