- Removing workspace setup for cargo
This should make building much more straight forward in the future as currently builds have to follow a much stranger method - Removed fluff storage file No longer going to support uploading API. This is with the assumption that most who use this software are going to know how to upload files to their server anyway
This commit is contained in:
2086
api/Cargo.lock
generated
Normal file
2086
api/Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -6,8 +6,8 @@ edition = "2018"
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
#rocket = { git = "https://github.com/SergioBenitez/Rocket", features = [ "json" ] }
|
||||
rocket = { version = "0.5.0-rc.1", features = [ "json" ] }
|
||||
tokio = "1.0"
|
||||
serde = { version = "1.0", features = [ "derive" ] }
|
||||
lazy_static = "1.4.0"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#![feature(decl_macro)]
|
||||
//#![feature(decl_macro)]
|
||||
#[macro_use] extern crate rocket;
|
||||
#[macro_use] extern crate lazy_static;
|
||||
use std::env;
|
||||
@@ -10,7 +10,7 @@ mod video;
|
||||
mod thumbnail;
|
||||
mod common;
|
||||
|
||||
#[tokio::main]
|
||||
#[rocket::main]
|
||||
async fn main() {
|
||||
// emoji's crash my terminal
|
||||
env::set_var("ROCKET_CLI_COLORS", "false");
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
{
|
||||
"keys":[
|
||||
{
|
||||
"name": "shockrah",
|
||||
"key": "asdf"
|
||||
}
|
||||
],
|
||||
"videos": {
|
||||
"video": { "name": "cool" }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user