major dependency cleanup

- depend on specific librespot crates to remove clutter
- update versions

this should also help building on openbsd, as the unused librespot-connect
depended on the nix crate, which does not build on openbsd.
This commit is contained in:
Henrik Friedrichsen
2019-11-24 16:38:15 +01:00
parent 177c4893e0
commit e697b97d8c
5 changed files with 255 additions and 400 deletions

View File

@@ -5,8 +5,8 @@ use cursive::view::Identifiable;
use cursive::views::*;
use cursive::{CbSink, Cursive};
use librespot::core::authentication::Credentials as RespotCredentials;
use librespot::protocol::authentication::AuthenticationType;
use librespot_core::authentication::Credentials as RespotCredentials;
use librespot_protocol::authentication::AuthenticationType;
pub fn create_credentials(path: &Path) -> Result<RespotCredentials, String> {
let mut login_cursive = Cursive::default();