1
0
mirror of https://github.com/jht5945/prettyjson.git synced 2025-12-29 02:10:03 +08:00

use package version

This commit is contained in:
2019-07-28 11:15:54 +08:00
parent c978c22161
commit 1c2eb2de34

View File

@@ -13,7 +13,7 @@ use std::{
use argparse::{ArgumentParser, StoreTrue, Store}; use argparse::{ArgumentParser, StoreTrue, Store};
use rust_util::*; use rust_util::*;
const VERSION: &'static str = env!("CARGO_PKG_VERSION"); const VERSION: &str = env!("CARGO_PKG_VERSION");
fn print_version() { fn print_version() {
print!(r#"prettyjson {} print!(r#"prettyjson {}