cdpay

Crates.iocdpay
lib.rscdpay
version0.1.2
sourcesrc
created_at2018-12-10 13:58:17.869148
updated_at2019-12-13 12:35:31.028406
descriptionCryptoDiggers payment API client.
homepage
repositoryhttps://github.com/Kixunil/cdpay
max_upload_size
id101122
size126,182
Martin Habovštiak (Kixunil)

documentation

README

CryptoDiggers payment gateway

Rust implementation of CryptoDiggers payment API.

About

This crate provides an implementation of CryptoDiggers payment API version 1. The implementation is async, using futures + tokio. It supports several cryptocurrencies, including test networks and several fiat currencies.

The interface is strongly typed to avoid problems, since this is important for security,

Logging

The version 0.1.1 of this crate introduces ability to log events using slog. It does so without introducing backwards-incompatibility or performance penalty. It's also very easy to setup.

All you need is to enable feature slog and then pass your logger using set_logger() method on CDPayBuilder. The simplicity of this should enable you to chain the slog feature with your own crate easily.

All logs are discarded by default and not even generated when slog feature is turned off.

Disclaimer

The author of this crate doesn't provide any guarantees when it comes to correctness, security or any other property that might be important for not losing money. The users of this library are wholy responsible for reviewing the code and using it. For further information, see the MITNFA license.

The author of this crate reserves the right to publicly ridicule any person or company experiencing any problems with incorrect use of this crate (where not reviewing it or not contracting independednt third party reviewer is considered incorrect use).

Do not use this software if you are in fear of being ridiculed!

License

MITNFA

Commit count: 5

cargo fmt