mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Update README to indicate that rust 1.7.0 is enough.
This commit is contained in:
parent
62d3f5e3ad
commit
6e823ef639
2 changed files with 10 additions and 3 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -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)",
|
||||
|
|
11
README.md
11
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
|
||||
|
|
Loading…
Reference in a new issue