Vinted-rs: A Vinted API wrapper
Table of Contents
Installation
Via cargo you can add the library to your project's Cargo.toml
[]
= "0.8.5"
DB setup
Advanced filtering features must require this setup before running.
- First start installing diesel-cli (in order to run the migrations in PostgreSQL database)
⚠️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.
In Debian based distributions is only necessary to install this package.
Create a migration
Program after that up.sql and down.sql scripts.
Run a Docker container with PostgreSQL
- See in Makefile
Run migrations
Stop DB
Running Tests
⚠️Very important: Before running tests is important to do the DB setup
Then run the tests