26 lines · 507 B · Rust
RawDownload
#![forbid(unsafe_code)] use bstr::{BStr, BString, ByteSlice}; /// For convenience to allow using `bstr` without adding it to own cargo manifestpub use bstr; pub mod borrowed;pub mod owned; mod types;pub use types::*; pub mod commit; #[derive(PartialEq, Eq, Debug, Hash, Ord, PartialOrd, Clone, Copy)]#[cfg_attr(feature = "serde1", derive(serde::Serialize, serde::Deserialize))]pub enum HashKind {    Sha1,} impl Default for HashKind {    fn default() -> Self {        HashKind::Sha1    }}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t