updated reqwest and fixed media route

reqwest updated to 0.8
removed Result for creating Mastodon client as result of reqwest update
added Meta and ImageDetails struct for Attachment
Changed Attachment.id to String
Added test for media route.
Changed paramaters for media from Vec<u8> of image data to String of
file path.
Added dotenv for testing
This commit is contained in:
Aaron Power
2017-11-09 13:05:30 +00:00
parent a0c69aac43
commit b6d350f29e
7 changed files with 130 additions and 20 deletions
+1
View File
@@ -1,2 +1,3 @@
target
Cargo.lock
.env