tardis-0.1.0-alpha4 has been yanked.
Preview version, will not guarantee the stability of the API! Do NOT use in production environment!
Elegant, Clean Rust development framework🛸
TARDIS([tɑːrdɪs] "Time And Relative Dimension In Space") From "Doctor Who".
💖 Core functions
- Relational database client for MySQL, PostgresSQL
- Web service and web client for OpenAPI v3.x
- Distributed cache client for Redis protocol
- RabbitMQ client for AMQP protocol
- Containerized unit testing of mainstream middleware
- Multi-environment configuration
- Commonly used operations (E.g. uniform error handling, encryption and decryption, regular checksums)
⚙️Feature description
tracetracing operationfutureasynchronous operationsreldbrelational database operationsweb-serverweb service operationsweb-clientweb client operationscachecache operationsmqmessage queue operationstestunit test operations
🚀 Quick start
The core operations of the framework all use TardisFuns as an entry point.
E.g.
TardisFuns::init(relative_path) // Initialize the configuration
TardisFuns::field.x // Some field operations
TardisFuns::reldb().x // Some relational database operations
TardisFuns::web_server().x // Some web service operations
Web service example
Dependency Configuration
[]
= { = "1.15.0", = ["macros"] }
= { = "0", = ["web-server"] }
= { = "1.2.39"}
Processor Configuration
;
Startup class configuration
async
More examples
|-- examples
|-- reldb Relational database usage example
|-- web-basic Web service Usage Example
|-- web-client Web client Usage Example
|-- cache Cache Usage Example
|-- mq Message Queue Usage Example
|-- todo A complete project usage example