# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "awaur"
version = "0.1.4"
authors = ["Jacob Birkett <jacob@birkett.dev>"]
description = "AWAUR: Asynchronous Web API Utilities for Rust"
keywords = [
    "web",
    "rest",
    "async",
    "api",
    "utilities",
]
categories = [
    "rust-patterns",
    "web-programming",
    "asynchronous",
    "concurrency",
]
license = "MIT"
repository = "https://github.com/spikespaz/awaur"
resolver = "2"

[dependencies.async-trait]
version = "0.1"
optional = true

[dependencies.base62]
version = "2"
optional = true

[dependencies.futures-core]
version = "0.3"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.serde_with]
version = "1"
optional = true

[dev-dependencies.fake]
version = "2.5"
features = ["derive"]

[dev-dependencies.rand]
version = "0.8"

[dev-dependencies.time]
version = "0.3"
features = ["serde-well-known"]

[features]
paginator = [
    "dep:futures-core",
    "dep:async-trait",
]
serde-as-wrapper = [
    "dep:serde",
    "dep:serde_with",
]
serde-with-base62 = [
    "dep:serde",
    "dep:base62",
]
serde-with-json-string = [
    "dep:serde",
    "dep:serde_json",
]
