hitchmark-core 0.5.0

Core library for hook:// URI links, stable bookmark IDs, and purple-number paragraph addressing
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Hitchmark core library: URI parsing, storage, and purple-number generation.

#![forbid(unsafe_code)]
#![warn(missing_docs)]

pub mod error;
pub mod purple;
pub mod store;
pub mod uri;

pub use error::{Error, Result};
pub use purple::{PurpleId, PurpleNumberGenerator};
pub use purple::split_paragraphs;
pub use store::{Bookmark, LinkStore};
pub use uri::{HookUri, UriType, XCallbackUri};

/// Library version
pub const VERSION: &str = env!("CARGO_PKG_VERSION");