git-features 0.26.5

Please use `gix-<thiscrate>` instead ('git' -> 'gix')
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use git_features::hash::Sha1;

#[cfg(not(feature = "fast-sha1"))]
#[test]
fn size_of_sha1() {
    assert_eq!(std::mem::size_of::<Sha1>(), 96)
}

#[cfg(feature = "fast-sha1")]
#[test]
fn size_of_sha1() {
    assert_eq!(std::mem::size_of::<Sha1>(), 104)
}