mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-04 02:09:26 +02:00
Initial commit.
This commit is contained in:
commit
a993b60ffa
17 changed files with 872 additions and 0 deletions
28
src/main.rs
Normal file
28
src/main.rs
Normal file
|
@ -0,0 +1,28 @@
|
|||
#![crate_name = "librespot"]
|
||||
|
||||
#![feature(plugin,core)]
|
||||
|
||||
#![plugin(mod_path)]
|
||||
#![plugin(protobuf_macros)]
|
||||
#[macro_use] extern crate lazy_static;
|
||||
|
||||
extern crate byteorder;
|
||||
extern crate crypto;
|
||||
extern crate gmp;
|
||||
extern crate num;
|
||||
extern crate protobuf;
|
||||
extern crate rand;
|
||||
|
||||
mod connection;
|
||||
mod cryptoutil;
|
||||
mod protocol;
|
||||
mod session;
|
||||
mod util;
|
||||
|
||||
use session::Session;
|
||||
|
||||
fn main() {
|
||||
let mut s = Session::new();
|
||||
s.login();
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue