alive 0.1.45

use mysql to check is service alive
1
2
3
4
5
6
7
8
9
10
11
12
13
use aok::{Result, OK};

genv::def!(CARGO_MANIFEST_DIR);

fn main() -> Result<()> {
  let mut config = prost_build::Config::new();

  // config.type_attribute(".", "#[derive(serde::Serialize)]");
  // config.type_attribute(".", "#[serde(rename_all = \"camelCase\")]");
  config.compile_protos(&["api.proto"], &[CARGO_MANIFEST_DIR::<String>()])?;

  OK
}