# How hard would it be to allow mixing stable and nightly crates?

**URL:** <https://internals.rust-lang.org/t/how-hard-would-it-be-to-allow-mixing-stable-and-nightly-crates/8154>\
**Category:** language design\
**Created:** [August 7, 2018, 11:52pm UTC](https://internals.rust-lang.org/t/how-hard-would-it-be-to-allow-mixing-stable-and-nightly-crates/8154 "2018-08-07T23:52:12Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![kornel](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/kornel/32/2711_2.png) [@kornel](https://internals.rust-lang.org/u/kornel)\
**Post date:** [August 9, 2018, 1:44am UTC](https://internals.rust-lang.org/t/how-hard-would-it-be-to-allow-mixing-stable-and-nightly-crates/8154/6 "2018-08-09T01:44:38Z")

</div>

I think it’d be better to support “[transpilers](https://internals.rust-lang.org/t/pre-rfc-first-class-support-for-compile-to-rust-languages/7610)” that transform new Rust syntax to old Rust syntax, same as Babel does for ES6/2017 to older JavaScript.

It would be less capable (you couldn’t get NLL, unless you reinvent the whole thing and emit a soup of unsafe pointers?), but all syntax-sugar and library features could be backported this way, and it’d be entirely stable, because it’d ship its own compiler.

---

_[View the full topic](https://internals.rust-lang.org/t/how-hard-would-it-be-to-allow-mixing-stable-and-nightly-crates/8154)._
