mirror of
https://github.com/guilhermewerner/rust-api
synced 2025-06-15 22:45:50 +00:00
Create Sample Rocket Json API
This commit is contained in:
20
Cargo.toml
Normal file
20
Cargo.toml
Normal file
@ -0,0 +1,20 @@
|
||||
[package]
|
||||
name = "API"
|
||||
version = "0.0.1"
|
||||
description = "Rust API"
|
||||
repository = "https://github.com/GuilhermeWerner/RustAPI"
|
||||
authors = ["GuilhermeWerner <guilhermeqwerner@gmail.com>"]
|
||||
license = "MIT"
|
||||
edition = "2018"
|
||||
publish = false
|
||||
|
||||
[[bin]]
|
||||
name="Server"
|
||||
path = "Source/Server.rs"
|
||||
|
||||
[dependencies]
|
||||
rocket = "0.4.6"
|
||||
rocket_contrib = "0.4.6"
|
||||
# serde = "1.0"
|
||||
# serde_json = "1.0"
|
||||
# serde_derive = "1.0"
|
Reference in New Issue
Block a user