cuprate_constants::build

Constant COMMIT

Source
pub const COMMIT: &str = "4b925b8c78bfce9089a74f12f07ace94cb8b57f7";
Expand description

The current commit hash of the root Cuprate repository.

ยงCase & length

It is guaranteed that COMMIT will be:

  • Lowercase ASCII
  • 40 characters long (no newline)
assert!(COMMIT.is_ascii());
assert_eq!(COMMIT.as_bytes().len(), 40);
assert_eq!(COMMIT.to_lowercase(), COMMIT);