Comments (2)
Hi @stevenliebregt 👋
This is something you can do using the adapter types like Hyphenated
, which will serialize using the given format. You can convert a reference to a Uuid
into one of these types transparently at serialization time.
from uuid.
Coming back through some triage, it's been a while since there was any activity here so I'll go ahead and close this one. The adapter types are the best current way to tweak the representation of UUIDs when serializing/deserializing them.
from uuid.
Related Issues (20)
- 1.3.4 and 1.3.3 failing in Cloudflare Worker env for different reasons
- Unable to activate feature "v7" HOT 6
- Wrapping behavior of `impl ClockSequence for Context` HOT 4
- Export `error::InvalidUuid` HOT 2
- Make &'a Uuid serializable HOT 3
- UUID no longer supports serde derive attributes HOT 2
- Add bytemuck support HOT 1
- Add `prost::Message` implementation for `Uuid` HOT 3
- v7 should have a counter option? HOT 31
- Macros from 1.5.0 to 1.6.0 break. HOT 4
- Investigate crate size HOT 2
- Idiotmatic naming: drop/replace `get_` prefixes HOT 4
- 1.7.0 breaking change HOT 2
- Initialization of CONTEXT in timestamp::context::shared_context() not thread-safe HOT 1
- the trait Deserialize is not implemented for `Uuid` HOT 2
- TryFrom<Vec<u8>> makes an unnecessary copy HOT 1
- `uuid!` `index is out of bounds` in clippy on rust 1.77 (fixed in uuid 1.6.1)
- Why does Uuid implement Ord, PartialOrd? HOT 1
- uuid!() macro can't handle a constant &str passed in 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.