Crate crev_lib

Crate crev_lib 

Source

Re-exports§

pub use crate::local::Local;
pub use activity::ReviewActivity;
pub use activity::ReviewMode;

Modules§

activity
Activities track user actions to help verified multi-step flows, and confirm user intention.
id
LockedId is for you, the local crev user. Id is for identifying other users.
local
proof
repo
staging
util

Structs§

LogOnDrop
TrustDistanceParams
VerificationRequirements
Verification requirements for filtering out low quality reviews

Enums§

Error
Failures that can happen in this library
TrustProofType
Your relationship to the person
VerificationStatus
Result of verification
Warning
Warnings gathered during operation, errors downgraded to warnings.

Functions§

dir_or_git_repo_verify
Check whether code at this path has reviews, and the reviews meet the requirements.
dir_verify
Check whether code at this path has reviews, and the reviews meet the requirements
find_latest_trusted_version
Scan through known reviews of the crate (source is "https://crates.io") and report semver you can safely use according to requirements
get_dir_digest
Scan dir and hash everything in it, to get a unique identifier of the package’s source code
get_recursive_digest_for_dir
See get_dir_digest
get_recursive_digest_for_git_dir
See get_dir_digest
get_recursive_digest_for_paths
See get_dir_digest
verify_package_digest
Find reviews matching Digest (exact data of the crate) and see if there are enough positive reviews for it.