Skip to content

Commit

Permalink
Make ser::DetachedTimestampFile have public members
Browse files Browse the repository at this point in the history
  • Loading branch information
apoelstra committed Apr 16, 2017
1 parent fa3aa7e commit 6592164
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ots"
version = "0.1.0"
version = "0.1.1"
authors = ["Andrew Poelstra <[email protected]>"]
license = "CC0-1.0"
homepage = "https://github.com/apoelstra/rust-ots/"
Expand Down
6 changes: 4 additions & 2 deletions src/ser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ const VERSION: usize = 1;
/// Structure representing an info file
#[derive(Clone, PartialEq, Eq, Debug)]
pub struct DetachedTimestampFile {
digest_type: DigestType,
timestamp: Timestamp
/// The claimed hash function used to produce the document digest
pub digest_type: DigestType,
/// The actual timestamp data
pub timestamp: Timestamp
}

impl DetachedTimestampFile {
Expand Down

0 comments on commit 6592164

Please sign in to comment.