mirror of
https://github.com/librespot-org/librespot.git
synced 2024-11-08 16:45:43 +00:00
Disable Facebook authentication for now.
It got broken when moving to the authentication subdirectory.
This commit is contained in:
parent
230c891df0
commit
b051bfcc5b
4 changed files with 7 additions and 9 deletions
|
@ -13,7 +13,7 @@ addons:
|
||||||
script:
|
script:
|
||||||
- cargo build
|
- cargo build
|
||||||
- cargo build --features with-tremor
|
- cargo build --features with-tremor
|
||||||
- cargo build --features facebook
|
#- cargo build --features facebook
|
||||||
# Building without syntex only works on nightly
|
# Building without syntex only works on nightly
|
||||||
- if [[ $(rustc --version) == *"nightly"* ]]; then
|
- if [[ $(rustc --version) == *"nightly"* ]]; then
|
||||||
cargo build --no-default-features;
|
cargo build --no-default-features;
|
||||||
|
|
3
Cargo.lock
generated
3
Cargo.lock
generated
|
@ -102,8 +102,6 @@ name = "cookie"
|
||||||
version = "0.2.2"
|
version = "0.2.2"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"openssl 0.7.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
||||||
"rustc-serialize 0.3.18 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
||||||
"time 0.1.34 (registry+https://github.com/rust-lang/crates.io-index)",
|
"time 0.1.34 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"url 0.5.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
"url 0.5.7 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
]
|
]
|
||||||
|
@ -169,7 +167,6 @@ dependencies = [
|
||||||
"log 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"mime 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
"mime 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"num_cpus 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
|
"num_cpus 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"openssl 0.7.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
||||||
"rustc-serialize 0.3.18 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rustc-serialize 0.3.18 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"solicit 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"solicit 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"time 0.1.34 (registry+https://github.com/rust-lang/crates.io-index)",
|
"time 0.1.34 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
|
|
@ -58,6 +58,6 @@ json_macros = { git = "https://github.com/plietar/json_macros" }
|
||||||
discovery = ["dns-sd"]
|
discovery = ["dns-sd"]
|
||||||
with-syntex = ["syntex", "protobuf_macros/with-syntex", "json_macros/with-syntex"]
|
with-syntex = ["syntex", "protobuf_macros/with-syntex", "json_macros/with-syntex"]
|
||||||
with-tremor = ["tremor"]
|
with-tremor = ["tremor"]
|
||||||
facebook = ["hyper/ssl", "openssl"]
|
#facebook = ["hyper/ssl", "openssl"]
|
||||||
static-appkey = []
|
static-appkey = []
|
||||||
default = ["with-syntex"]
|
default = ["with-syntex"]
|
||||||
|
|
|
@ -172,10 +172,11 @@ pub fn discovery_login(device_name: &str, device_id: &str) -> Result<Credentials
|
||||||
Err(())
|
Err(())
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "facebook")]
|
//FIXME
|
||||||
mod facebook;
|
//#[cfg(feature = "facebook")]
|
||||||
#[cfg(feature = "facebook")]
|
//mod facebook;
|
||||||
pub use self::facebook::facebook_login;
|
//#[cfg(feature = "facebook")]
|
||||||
|
//pub use self::facebook::facebook_login;
|
||||||
#[cfg(not(feature = "facebook"))]
|
#[cfg(not(feature = "facebook"))]
|
||||||
pub fn facebook_login() -> Result<Credentials, ()> {
|
pub fn facebook_login() -> Result<Credentials, ()> {
|
||||||
Err(())
|
Err(())
|
||||||
|
|
Loading…
Reference in a new issue