Browse and listen to thousands of radio stations across the globe right from your terminal ๐ŸŒŽ ๐Ÿ“ป ๐ŸŽตโœจ
radio rust tokio web-radio command-line-tool tui
at main 558 B view raw
1fn main() -> Result<(), Box<dyn std::error::Error>> { 2 tonic_build::configure() 3 .out_dir("src/api") 4 .file_descriptor_set_path("src/api/descriptor.bin") 5 .protoc_arg("--experimental_allow_proto3_optional") 6 .compile_protos( 7 &[ 8 "proto/objects/v1alpha1/category.proto", 9 "proto/objects/v1alpha1/station.proto", 10 "proto/tunein/v1alpha1/browse.proto", 11 "proto/tunein/v1alpha1/playback.proto", 12 ], 13 &["proto"], 14 )?; 15 Ok(()) 16}