Comments (6)
Since the v6
, v7
, and v8
features are unstable, you also need to set a RUSTFLAGS environment variable at build-time in order to use them. We've got some docs on that here.
my project was building just fine 3/4 days ago
That makes me think you probably already have that flag set though, so I'll look into it. Maybe something changed upstream in Rust; we haven't made any releases in the last few days.
from uuid.
Glad you got it sorted! For what it’s worth, I can’t wait to get rid of those cfgs once the RFC is stable.
from uuid.
How did I manage to miss that?
Thanks, now everything works as expected.
from uuid.
Hey,
Same here; my project was building just fine 3/4 days ago but today I end up with the same error as you, without any modification of the codebase.
NB: I use uuid 1.4.0, built with Rust 1.70.0 on Debian
from uuid.
I just gave this a test with our example for a v7 sortable UUID using Rust 1.70.0 and 1.71.0 using the RUSTFLAGS cfg and it worked.
from uuid.
Hey,
I have the appropriate rustflags set in a cargo/config.toml file.
I will try again tonight; the fault is likely on my end anyway.
EDIT:
Well, the error was on my end; my cargo/config.toml
is not detected for some reason but using the inlined environment variable RUSTFLAGS="--cfg uuid_unstable" cargo build
worked like a charm.
EDIT2:
It appears that my cargo/config.toml
should be named .cargo/config.toml
; I don't know how I made it work few days ago ^^
Sorry for the inconvenience...
Have a nice day :)
from uuid.
Related Issues (20)
- 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
- Compilation error with wasm_bindgen HOT 2
- Parsing error mentions incorrect characters as expected
- `cargo install uuid` should give me a uuid tool HOT 5
- Cleaning up crate features HOT 3
- Add `.as_str()` for Uuid HOT 2
- Simple Encode / Decode HOT 2
- Fix MSRV build
- `Timestamp::from_rfc4122` panics when using timestamp before unix epoch HOT 4
- About UUID v7 implementation HOT 1
- Uuid Serialization & Deserialization Error : expected ident at line 1 column 2 HOT 2
- Optional support for borsh
- Wasm32-unknown-unknown tests not running
- 1.3.4 and 1.3.3 failing in Cloudflare Worker env for different reasons
- Request: add configuration to enable/disable deserializing different formats HOT 2
- Wrapping behavior of `impl ClockSequence for Context` HOT 4
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.