mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-27 04:07:25 +01:00
Update dependencies
This commit is contained in:
parent
ff17549b8b
commit
6dbc2f949c
6 changed files with 117 additions and 158 deletions
|
|
@ -37,10 +37,7 @@ embed_migrations!();
|
|||
|
||||
/// Generate a random string suitable as an item ID.
|
||||
pub fn generate_id() -> String {
|
||||
let mut buffer = uuid::Uuid::encode_buffer();
|
||||
let id = uuid::Uuid::new_v4().to_simple().encode_lower(&mut buffer);
|
||||
|
||||
id.to_string()
|
||||
uuid::Uuid::new_v4().simple().to_string()
|
||||
}
|
||||
|
||||
/// Interface to a Musicus database.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue