Crates.io | brocade |
lib.rs | brocade |
version | 0.1.1 |
source | src |
created_at | 2023-02-13 04:20:43.066453 |
updated_at | 2023-02-13 05:50:25.906757 |
description | Interface for querying brocade.io products |
homepage | https://github.com/dangarbri/brocade-rs |
repository | https://github.com/dangarbri/brocade-rs |
max_upload_size | |
id | 783677 |
size | 6,456 |
This module provides an interface for looking up products from https://www.brocade.io/
Add this module to your dependencies
[dependencies]
brocade = "0.1.0"
Then in code, use
brocade::instance().get("1234567") // Get product info from barcode
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.