Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: merging changes made in safe_network fork back into this repo
- Make VersionHash independent from the data type such version corresponds to - Refactor SafeUrl API adding 'from_safekey', 'from_register', 'from_bytes' - Renaming 'Error::InvalidMediaType' to 'Error::UnsupportedMediaType' - Replace u64 versions with new 'VersionHash' type - Use 'tracing' crate instead of 'log' - Removing 'Sequence' from 'DataType' - Add a 'Scope' (pub/priv) type for data types - Renaming 'Blob' data type to 'File' - Switch from using `anyhow` crate to `color-eyre` in tests BREAKING CHANGE: the above changes impact the public API.
- Loading branch information
Showing
7 changed files
with
620 additions
and
585 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.