#barcode #io #products #interface #querying

brocade

Interface for querying brocade.io products

2 releases

0.1.1 Feb 13, 2023
0.1.0 Feb 13, 2023

#7 in #products

MIT license

6KB
90 lines

Brocade Rust

This module provides an interface for looking up products from https://www.brocade.io/

Usage

Add this module to your dependencies

[dependencies]
brocade = "0.1.0"

Then in code, use

brocade::instance().get("1234567") // Get product info from barcode

Design

I personally feel that reqwests is a little bloated, but it's the most popular request library and I used it. This lib is written so that in the future a different reqwest library may be used by specifying a feature flag.

Dependencies

~4–19MB
~221K SLoC