docs.rs failed to build axum-kit-0.6.7
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
axum-kit-0.6.6
axum-kit
Streamline the integration and usage of Axum with SQLx and Redis.
Without further ado, please see the demo.
Usage
To use axum-kit
, add the following to your Cargo.toml
:
[]
= { = "0.6.7", = ["postgres", "redis"] }
Example Configuration File
[]
= "0.0.0.0:8000"
[]
# Log levels: trace > debug > info > warn > error
# trace: Very detailed debugging information.
# debug: General debugging information.
# info: Normal operational information.
# warn: Potential issues.
# error: Serious problems.
= "debug"
# writer options:
# file: Logs to "directory/file_name_prefix.year-month-day".
# stdout: Logs to console.
= "file"
= "./log"
= "axum_kit.log"
[]
= "postgres://postgres:@127.0.0.1:5432/postgres"
= 10
= 1
= 30 # seconds
= 600 # seconds
= 1800 # seconds
[]
= "redis://127.0.0.1:6379"
License
This project is licensed under the MIT license.