]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_index/Cargo.toml
Rollup merge of #104835 - spastorino:use-partially_normalize_associated_types_in...
[rust.git] / compiler / rustc_index / Cargo.toml
index d8ea5aa80b87abc73a62b545cbb278a280105523..e1cda5a9edda30f8b8d4a3154bbe7b467650c66f 100644 (file)
@@ -7,6 +7,10 @@ edition = "2021"
 
 [dependencies]
 arrayvec = { version = "0.7", default-features = false }
-rustc_serialize = { path = "../rustc_serialize" }
-rustc_macros = { path = "../rustc_macros" }
+rustc_serialize = { path = "../rustc_serialize", optional = true }
+rustc_macros = { path = "../rustc_macros", optional = true }
 smallvec = "1.8.1"
+
+[features]
+default = ["nightly"]
+nightly = ["rustc_serialize", "rustc_macros"]