mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
14 lines
329 B
Rust
14 lines
329 B
Rust
extern crate protobuf_macros;
|
|
|
|
use std::env;
|
|
use std::path::PathBuf;
|
|
|
|
fn main() {
|
|
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");
|
|
|
|
}
|