Crates.io | vinted-rs |
lib.rs | vinted-rs |
version | 0.8.7 |
source | src |
created_at | 2023-07-08 17:58:18.08462 |
updated_at | 2024-04-02 21:37:57.096753 |
description | An async Vinted API wrapper |
homepage | |
repository | https://github.com/TuTarea/vinted-rs |
max_upload_size | |
id | 911591 |
size | 1,224,849 |
Via cargo
you can add the library to your project's Cargo.toml
[dependencies]
vinted-rs = "0.8.7"
Advanced filtering features must require this setup before running.
⚠️Very important: diesel-cli installation may fail if you do not have libpq
library installed.
To install libpq
, just install PostgreSQL package on your machine.
In Arch
based is only necessary to install this package.
sudo pacman -S postgresql-libs
In Debian
based distributions is only necessary to install this package.
sudo apt install libpq-dev
cargo install diesel_cli --features=postgres --no-default-features
mkdir migrations
diesel migration generate my_migration
Program after that up.sql
and down.sql
scripts.
make db
make diesel
make stop
⚠️Very important: Before running tests is important to do the DB setup
Then run the tests
cargo test