hakoniwa-code-runner 0.2.1

Run code snippets in a variety of languages over network.
pub const FILE_DESCRIPTOR_SET: &[u8] = tonic::include_file_descriptor_set!("hakoniwa-code-runner");

pub mod languages {
    tonic::include_proto!("languages");
}

pub mod runs {
    tonic::include_proto!("runs");

    impl From<std::time::Duration> for Duration {
        fn from(d: std::time::Duration) -> Self {
            Self {
                seconds: d.as_secs(),
                nanos: d.subsec_nanos(),
            }
        }
    }
}