mirror of
https://github.com/oSumAtrIX/free-librespot.git
synced 2025-12-19 18:04:20 +00:00
13 lines
297 B
Rust
13 lines
297 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();
|
|
}
|
|
|