Erick Pacheco Pedraza 2cdc065b21
feat: support to Rocket-Okapi (#1071)
* 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
2022-10-16 17:45:56 +08:00

32 lines
737 B
TOML

[package]
name = "sea-orm-rocket"
version = "0.5.0"
authors = ["Sergio Benitez <sb@sergio.bz>", "Jeb Rosen <jeb@jebrosen.com>"]
description = "SeaORM Rocket support crate"
repository = "https://github.com/SeaQL/sea-orm"
readme = "../README.md"
keywords = ["rocket", "framework", "database", "pools"]
license = "MIT OR Apache-2.0"
edition = "2021"
[package.metadata.docs.rs]
all-features = true
[dependencies.rocket]
version = "0.5.0-rc.1"
default-features = false
[dependencies.sea-orm-rocket-codegen]
path = "../codegen"
version = "0.5.0-rc.1"
[dev-dependencies.rocket]
version = "0.5.0-rc.1"
default-features = false
features = ["json"]
[dependencies.rocket_okapi]
version = "0.8.0-rc.2"
default-features = false
optional = true