Comments (2)
Hi @barvirm
Iβm not sure thereβs a native wasm type that a UUID would naturally map to. You should be able to marshal them as byte slices and convert between UUIDs.
If it is expected that libraries implement this trait on types they define though then we can look at what an appropriate implementation would look like.
from uuid.
Just coming in through some triage. There hasn't been any activity here for a while. Since there's no native type to directly map a UUID to, I don't think there's anything for us to do here. Callers should pick an appropriate string/binary representation for their use-case.
from uuid.
Related Issues (20)
- Add Changelog HOT 2
- Codebase formatting
- API Refactoring HOT 4
- Implement sql trait HOT 2
- Generate v5 & v3 UUIDs from Values that Implement `Hash` HOT 4
- base64 serde module HOT 3
- Breaking change in `v1` module in v1.2.0 HOT 3
- Tracking issue for defmt HOT 1
- Backport Arbitrary support to 0.7.x and 0.6.x versions HOT 2
- Uuid 1.2x requires alloc HOT 3
- error[E0432]: unresolved import `uuid` --> testuuid.rs:1:5 | 1 | use uuid::Uuid; | ^^^^ maybe a missing crate `uuid`? | = help: consider adding `extern crate uuid` to use the `uuid` crate HOT 1
- Add reordering to convert between v1 and v6 UUIDs HOT 2
- Implement FromParam trait for Uuid from the Rocket web framework crate HOT 1
- Add compatibility with rocket HOT 1
- regression(?): Pretty debug printing now strips hyphens
- Parsing error mentions incorrect characters as expected
- `cargo install uuid` should give me a uuid tool HOT 5
- Cleaning up crate features HOT 1
- Add `.as_str()` for Uuid HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uuid.