Cargo.toml 925 Bytes
# This is from the webpage:
# https://www.developer.com/languages/creating-an-api-with-rust-and-sqlite/
# I have fixed some things manually as the code on that page did not compile
# without.

# Additional informations at https://actix.rs/docs/databases/ assume one
# should use web::block to access the database...
# TODO check what is the difference to this approach.
#  - well, we use web::block already for write actions.

# Introduction to rust async:
# https://gruberbastian.com/posts/rust_async/
# https://blog.logrocket.com/a-practical-guide-to-async-in-rust/
# https://os.phil-opp.com/async-await/

# Simple explanation on technical terms synchronous, asynchronous, concurrent
# and parallel.
# https://medium.com/plain-and-simple/synchronous-vs-asynchronous-vs-concurrent-vs-parallel-4342bfb8b9f2

[package]
name = "artshop-common"
version = "0.1.0"
workspace = ".."
edition = "2018"

[dependencies]
serde = "^1.0"