generated from Patagia/template-nix
parent
a4097b7cc3
commit
07b6abf48c
13 changed files with 1891 additions and 38 deletions
client
13
client/Cargo.toml
Normal file
13
client/Cargo.toml
Normal file
|
@ -0,0 +1,13 @@
|
|||
[package]
|
||||
name = "patagia-client"
|
||||
version = "0.0.1"
|
||||
license = "MPL-2.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
anyhow.workspace = true
|
||||
progenitor.workspace = true
|
||||
reqwest.workspace = true
|
||||
schemars.workspace = true
|
||||
serde.workspace = true
|
||||
chrono = { version = "0.4.0", default-features = false, features = ["serde"] }
|
3
client/src/lib.rs
Normal file
3
client/src/lib.rs
Normal file
|
@ -0,0 +1,3 @@
|
|||
use progenitor::generate_api;
|
||||
|
||||
generate_api!(spec = "../api.json", derives = [schemars::JsonSchema],);
|
Loading…
Add table
Add a link
Reference in a new issue