* feat: support to okapi * fix: fmt checks * chore: rocket-okapi-example: add required schemas * chore: rocket-okapi-example: add dto * chore: rocket-okapi-example: add custom error * chore: rocket-okapi-example: add api controllers * chore: rocket-okapi-example: add notes in Readme * chore: make rocket_okapi optional * refactor: delete rocket example from rocket_example * chore: rocket-okapi-example: add base files for okapi example * chore: rocket-okapi-example: add controllers and dto * chore: rocket-okapi-example: add docs
20 lines
287 B
TOML
20 lines
287 B
TOML
[package]
|
|
name = "dto"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
|
|
[lib]
|
|
name = "dto"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
rocket = { version = "0.5.0-rc.1", features = [
|
|
"json",
|
|
] }
|
|
|
|
[dependencies.entity]
|
|
path = "../entity"
|
|
|
|
[dependencies.rocket_okapi]
|
|
version = "0.8.0-rc.2" |