1
0
Fork 0
mirror of https://github.com/librespot-org/librespot.git synced 2025-10-05 19:42:03 +02:00

First working version of protocol handshake.

Key exchange and authentication is functional.
Protocol definition has been moved to separate crate to speed up build time.
Various cleanups. Take login info from command line, rather than hardcoded.
This commit is contained in:
Paul Liétar 2015-05-09 11:07:24 +01:00 committed by Paul Liétar
parent 15f39607e7
commit 1ad62e6f18
19 changed files with 821 additions and 290 deletions

8
protocol/src/lib.rs Normal file
View file

@ -0,0 +1,8 @@
#![feature(plugin)]
#![plugin(mod_path)]
extern crate protobuf;
mod_path! keyexchange (concat!(env!("OUT_DIR"), "/keyexchange.rs"));
mod_path! authentication (concat!(env!("OUT_DIR"), "/authentication.rs"));