1 2 3 4 5 6 7 8 9 10 11 12 13
//! `ready-set --version`. use std::ffi::OsString; use ready_set_sdk::ExitCode; use crate::env::EnvContract; /// Print the dispatcher version. pub fn run(_args: &[OsString], _contract: &EnvContract) -> ExitCode { println!("ready-set {}", env!("CARGO_PKG_VERSION")); ExitCode::Ok }