Crate upm [−] [src]
This crate provides functions for reading, writing, and synchronizing Universal Password Manager (UPM) version 3 databases. This code is meant to interoperate with the format used by the original UPM Java application.
A terminal-based interface to UPM databases (tupm) is provided as an example application.
Modules
backup |
Support for making backups of database file. |
database |
Read and write Universal Password Manager version 3 databases. This code is meant to interoperate with the format used by the original UPM Java application. |
error |
Provide a UpmError enum which can represent all of the errors that may be returned by upm functions. |
sync |
This module supports synchronizing a UPM database with a copy on a remote repository. The remote repository should be an HTTP or HTTPS server supporting the "download", "upload", and "delete" primitives of the UPM sync protocol. |
Macros
log |
Log formatted messages to stderr, but only for debug builds. |
Constants
PARANOID_BACKUPS |
If this is true, we'll back backups to both the local filesystem and the remote sync server. This is a safeguard against our code clobbering the database. |