mirror of
https://github.com/librespot-org/librespot.git
synced 2024-11-08 16:45:43 +00:00
17 lines
460 B
Rust
17 lines
460 B
Rust
extern crate vergen;
|
|
extern crate protobuf_macros;
|
|
|
|
use std::env;
|
|
use std::path::PathBuf;
|
|
|
|
fn main() {
|
|
vergen::vergen(vergen::OutputFns::all()).unwrap();
|
|
|
|
let out = PathBuf::from(env::var("OUT_DIR").unwrap());
|
|
protobuf_macros::expand("src/lib.in.rs", &out.join("lib.rs")).unwrap();
|
|
|
|
println!("cargo:rerun-if-changed=src/lib.in.rs");
|
|
println!("cargo:rerun-if-changed=src/spirc.rs");
|
|
println!("cargo:rerun-if-changed=src/connection");
|
|
|
|
}
|