Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions examples/tag_reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ use lofty::probe::Probe;
use std::path::Path;

fn main() {
env_logger::init();

let path_str = std::env::args().nth(1).expect("ERROR: No path specified!");
let path = Path::new(&path_str);

Expand Down
2 changes: 2 additions & 0 deletions examples/tag_stripper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ use lofty::probe::Probe;
use std::io::Write;

fn main() {
env_logger::init();

let path = std::env::args().nth(1).expect("ERROR: No path specified!");

let tagged_file = Probe::open(path.as_str())
Expand Down
2 changes: 2 additions & 0 deletions examples/tag_writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ struct Opt {
}

fn main() {
env_logger::init();

let opt = Opt::from_args();

let mut tagged_file = Probe::open(&opt.path)
Expand Down
2 changes: 2 additions & 0 deletions lofty/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ features = ["derive"]
optional = true

[dev-dependencies]
# For examples
env_logger = "0.11.8"
# WAV properties validity tests
hound = { git = "https://github.com/ruuda/hound.git", rev = "02e66effb33683dd6acb92df792683ee46ad6a59" }
rusty-fork = "0.3.0"
Expand Down