cargo-gitv 0.1.2

Reasonable and opinionated version management based on Cargo and Git metadata.
Documentation
1
2
3
4
5
6
7
8
9
use anyhow::Result;

use crate::build_context::BuildContext;

pub fn version(build_context: &BuildContext) -> Result<()> {
    println!("{}", build_context.dev_version()?);

    Ok(())
}