Преглед изворни кода

Update README to indicate that rust 1.7.0 is enough.

Paul Lietar пре 9 година
родитељ
комит
6e823ef639
2 измењених фајлова са 10 додато и 3 уклоњено
  1. 1 1
      Cargo.lock
  2. 9 2
      README.md

+ 1 - 1
Cargo.lock

@@ -172,7 +172,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 [[package]]
 name = "json_macros"
 version = "0.3.0"
-source = "git+https://github.com/plietar/json_macros#1aa21f6c1c08ac1e9d5b21447edd6c4f34f2a1dd"
+source = "git+https://github.com/plietar/json_macros#f86189836f13376d104494530b25c983a33922cf"
 dependencies = [
  "quasi 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
  "quasi_codegen 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",

+ 9 - 2
README.md

@@ -9,8 +9,7 @@ which are not available in the official library.
 are however welcome to experiment with it.
 
 ## Building
-Building *librespot* requires rust nightly. It will not work on rust stable or
-beta.
+Rust 1.7.0 or later is required to build librespot.
 
 It also requires a C and C++ toolchain, with libprotoc and portaudio.
 
@@ -48,6 +47,14 @@ cargo build --release --features discovery
 
 When running *librespot* simply omit the `--username` argument.
 
+## Development
+When developing *librespot*, it is preferable to use Rust nightly, and build it using the following :
+```shell
+cargo build --no-default-features
+```
+
+This produces better compilation error messages than with the default configuration.
+
 ## Facebook Accounts
 If you connect using a facebook account, librespot will not show up among the
 devices in the Spotify app. What you need to do is apply for a