Comments (2)
If anyone want to suppress the warning use:
#![allow(incomplete_features)]
#![feature(specialization)]
from okapi.
Specialization is currently used both in rocket and rocket-okapi for the same reason - to make Result<T,E>
's implementation of Responder
behave differently depending on whether E
implements Responder
.
This behaviour has been removed in rocket 0.5, but while we're supporting rocket 0.4 there's no easy way to remove specialization (and no discernible benefit, since you'll still need specialization enabled for rocket).
from okapi.
Related Issues (20)
- openapi doesn't ignore Rocket request guards? HOT 2
- Build with latest commit failed HOT 2
- Add support for persist-auth HOT 2
- How to impl JsonSchema for chrono::DateTime<Utc> or other lib struct? HOT 1
- Publishing updated versions to crates.io HOT 2
- Incorrect openapi.json Generated for Response with Tuple HOT 2
- Enforce strict key values for BTreeMap with enum key HOT 5
- Unable to borrow value returned from definitions_mut() function HOT 1
- Update rocket dependency to v0.5.0-rc.4 HOT 2
- OpenAPI support for FromForm for MsgPack and TempFile
- (waiting for) Impl JsonSchema for Date/Time
- When 0.8 release HOT 5
- Add support for OpenAPI 3.1.0
- Nested routes? HOT 3
- How to specify image response content-type? HOT 1
- How to document handlers with rocket_oauth2 structs HOT 1
- [FEATURE]: Support for Validated<T> implementation . HOT 2
- Reference object and nullable HOT 1
- Derive OpenApiResponderInner for #[derive(Responder)] enums HOT 1
- Request guard, impl OpenApiFromRequest with Bearer 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 okapi.