Skip to content

Commit

Permalink
Add UUID support to libextra
Browse files Browse the repository at this point in the history
- generate random UUIDs
- convert to and from strings and bytes
- parse common string formats
- implements Zero, Clone, FromStr, ToStr, Eq, TotalEq and Rand
- unit tests and documentation
- parsing error codes and strings
- incorporate feedback from PR review
  • Loading branch information
gavinb committed Aug 16, 2013
1 parent b285f1e commit 328261a
Show file tree
Hide file tree
Showing 2 changed files with 795 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libextra/extra.rs
Expand Up @@ -103,6 +103,8 @@ pub mod semver;
pub mod fileinput;
pub mod flate;
pub mod hex;
pub mod uuid;


#[cfg(unicode)]
mod unicode;
Expand Down

5 comments on commit 328261a

@bors
Copy link
Contributor

@bors bors commented on 328261a Aug 17, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from alexcrichton
at gavinb@328261a

@bors
Copy link
Contributor

@bors bors commented on 328261a Aug 17, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging gavinb/rust/uuid_std = 328261a into auto

@bors
Copy link
Contributor

@bors bors commented on 328261a Aug 17, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gavinb/rust/uuid_std = 328261a merged ok, testing candidate = 1942a7a

@bors
Copy link
Contributor

@bors bors commented on 328261a Aug 17, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 328261a Aug 17, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 1942a7a

Please sign in to comment.