Update README to indicate that rust 1.7.0 is enough.

This commit is contained in:
Paul Lietar 2016-03-11 13:14:01 +00:00
parent 62d3f5e3ad
commit 6e823ef639
2 changed files with 10 additions and 3 deletions

2
Cargo.lock generated
View file

@ -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)",

View file

@ -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