/// find name value with integer value
find name value with integer value
find name value with integer value
pub(crate) fn find_int_name_value(version_meta: &Meta, attr_name: &str) -> Option<u64> {
    if let Some(attr) = find_name_attribute(version_meta, attr_name) {
        match &attr.lit {
            Lit::Int(version_val) => {
                //  println!("version value: {}",version_val.value());
                version_val.base10_parse::<u64>().ok()
            }
            _ => unimplemented!(),
        }
    } else {
        None
    }
}
pub ( crate ) fn find_int_name_value ( version_meta : & Meta , attr_name : & str ) -> Option < u64 > { if let Some ( attr ) = find_name_attribute ( version_meta , attr_name ) { match & attr . lit { Lit :: Int ( version_val ) => { //  println!("version value: {}",version_val.value()); version_val . base10_parse :: < u64 > ( ) . ok ( ) } _ => unimplemented ! ( ) , } } else { None } }
find name value with integer value
find name value with integer value
version_meta
&Meta
attr_name
&str