`cargo doc` fails to build `gstreamer-gl-x11` with Rust stable
Please see https://github.com/servo/servo/issues/31109.
In Servo we are trying to build documentation (including for all dependencies) using Rust stable. It seems that gstreamer-gl-x11
does not properly build for documentation with a stable compiler:
Documenting gstreamer-gl-x11 v0.21.1
error[E0554]: `#![feature]` may not be used on the stable release channel
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/gstreamer-gl-x11-0.21.1/src/lib.rs:9:37
|
9 | #![cfg_attr(all(not(doctest), doc), feature(doc_cfg))]
| ^^^^^^^^^^^^^^^^
For more information about this error, try `rustc --explain E0554`.
error: could not document `gstreamer-gl-x11`