Create schema for the API (#28)

* feat(schema): add basic structs for schema

* feat(schema): implement base62 id parsing

* docs(schema): add documentation for schema structs
fix(schema): prevent integer overflow in base62 decoding

* refactor(schema): move ids into submodules, reexport from ids mod

* feat(schema): add random generation of base62 ids
style: run rustfmt
This commit is contained in:
Aeledfyr
2020-07-01 15:24:42 -05:00
committed by GitHub
parent f22e4f1cc7
commit 6d16b68f11
6 changed files with 327 additions and 0 deletions

View File

@@ -18,6 +18,8 @@ meilisearch-sdk = "0.1.4"
serde_json = "1.0"
serde = {version="1.0", features=["derive"]}
chrono = { version = "0.4", features = ["serde"] }
rand = "0.7"
dotenv = "0.15"
log = "0.4.8"