Get filename from a raw file descriptor
To use filename
in your project, add the following to your Cargo.toml:
toml
[dependencies]
filename = "0.1"
```rust use filename::file_name;
let f = tempfile::tempfile().unwrap();
println!("tempfile @ {:?}", file_name(f).unwrap()); ```