feat(wfassoc): enhance CLSID handling and parsing
- Add `getrandom` dependency for UUID v4 feature - Enable UUID v4 feature in `Cargo.toml` - Implement `Clsid::with_random()` for generating random CLSIDs - Improve `Clsid::new()` to accept `&Uuid` directly - Update `Clsid::from_str()` to use `uuid::fmt::Braced` for stricter parsing - Add comprehensive tests for valid and invalid CLSID strings - Fix minor typo in test assertion code - Enhance documentation comments for CLSID struct and error type
This commit is contained in:
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -674,6 +674,7 @@ version = "1.18.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "2f87b8aa10b915a06587d0dec516c282ff295b475d94abf425d62b57710070a2"
|
||||
dependencies = [
|
||||
"getrandom",
|
||||
"js-sys",
|
||||
"wasm-bindgen",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user