Skip to content

Commit

Permalink
Update uuid
Browse files Browse the repository at this point in the history
  • Loading branch information
quambene committed Apr 6, 2024
1 parent ae04689 commit 75cf740
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ polars = { version = "0.32", features = ["dtype-u8"] }
connectorx = { version = "0.3.2", features = ["src_postgres", "dst_arrow2"] }
postgres = "0.19.2"
url = "2.5"
uuid = { version = "0.8", features = ["v4"] }
uuid = { version = "1.8", features = ["v4"] }
lettre = { version = "0.11", default-features = false, features = ["builder", "pool", "smtp-transport", "file-transport", "rustls-tls"] }
infer = "0.15"
bytes = "1.6"
Expand Down
2 changes: 1 addition & 1 deletion src/sources/image.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pub fn write_image(
),
};

let image_name = image_name.unwrap_or(Uuid::new_v4().to_hyphenated().to_string());
let image_name = image_name.unwrap_or(Uuid::new_v4().to_string());
let target_file = image_name + "." + file_type;
let target_path = target_dir.join(target_file);

Expand Down

0 comments on commit 75cf740

Please sign in to comment.