shortener 0.2.0

A simple URL shortener.
Documentation
# 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 = "2024"
name = "shortener"
version = "0.2.0"
authors = ["Ruoyu Zhong <zhongruoyu@outlook.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "shortener"
description = "A simple URL shortener."
homepage = "https://github.com/ZhongRuoyu/shortener"
readme = "README.md"
keywords = [
    "url-shortener",
    "web-server",
    "sqlite",
]
categories = [
    "command-line-utilities",
    "web-programming",
    "web-programming::http-server",
]
license = "MIT"
repository = "https://github.com/ZhongRuoyu/shortener.git"

[features]
bundled-sqlite = ["rusqlite/bundled"]

[lib]
name = "shortener"
path = "src/lib.rs"

[[bin]]
name = "shortener"
path = "src/bin/shortener.rs"

[[bin]]
name = "shortener-key"
path = "src/bin/shortener-key.rs"

[[bin]]
name = "shortener-url"
path = "src/bin/shortener-url.rs"

[dependencies.axum]
version = "0.8.9"

[dependencies.base64]
version = "0.22.1"

[dependencies.chrono]
version = "0.4.44"

[dependencies.clap]
version = "4.6.1"
features = [
    "derive",
    "string",
]

[dependencies.clap_complete]
version = "4.6.5"

[dependencies.csv]
version = "1.4.0"

[dependencies.hex]
version = "0.4.3"

[dependencies.log]
version = "0.4.29"
features = ["std"]

[dependencies.percent-encoding]
version = "2.3.2"

[dependencies.rand]
version = "0.10.1"

[dependencies.rusqlite]
version = "0.39.0"

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.150"

[dependencies.sha2]
version = "0.11.0"

[dependencies.tabled]
version = "0.20.0"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.52.3"
features = [
    "macros",
    "net",
    "rt-multi-thread",
]

[dependencies.url]
version = "2.5.8"

[build-dependencies.chrono]
version = "0.4"

[lints.clippy]
multiple-crate-versions = "allow"

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1