amagi 0.1.0

Rust SDK, CLI, and Web API service skeleton for multi-platform social web adapters.
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 = "amagi"
version = "0.1.0"
build = "build.rs"
exclude = [
    "dev/**",
    "target/**",
    "tmp/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust SDK, CLI, and Web API service skeleton for multi-platform social web adapters."
homepage = "https://github.com/bandange/amagi-rs"
documentation = "https://docs.rs/amagi"
readme = "README.md"
keywords = [
    "sdk",
    "cli",
    "api",
    "social",
    "axum",
]
categories = [
    "api-bindings",
    "command-line-utilities",
]
license = "GPL-3.0-only"
repository = "https://github.com/bandange/amagi-rs"

[package.metadata.docs.rs]
all-features = true

[features]
catalog = []
cli = [
    "client",
    "dep:clap",
    "dep:serde_json",
    "dep:tokio",
    "dep:tracing",
    "dep:tracing-subscriber",
]
client = [
    "catalog",
    "dep:dotenvy",
    "dep:reqwest",
    "dep:serde_json",
    "dep:tokio",
]
default = [
    "client",
    "cli",
    "server",
]
server = [
    "client",
    "dep:axum",
    "dep:serde_json",
    "dep:tokio",
    "dep:tower-http",
    "dep:tracing",
]

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

[[bin]]
name = "amagi"
path = "src/main.rs"
required-features = ["cli"]

[dependencies.axum]
version = "0.8.8"
optional = true

[dependencies.clap]
version = "4.6.0"
features = [
    "derive",
    "env",
]
optional = true

[dependencies.dotenvy]
version = "0.15.7"
optional = true

[dependencies.reqwest]
version = "0.12.12"
features = [
    "json",
    "gzip",
    "brotli",
    "deflate",
    "rustls-tls",
]
optional = true
default-features = false

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

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

[dependencies.tokio]
version = "1.50.0"
features = [
    "macros",
    "rt-multi-thread",
    "signal",
    "net",
]
optional = true

[dependencies.tower-http]
version = "0.6.8"
features = ["trace"]
optional = true

[dependencies.tracing]
version = "0.1.44"
optional = true

[dependencies.tracing-subscriber]
version = "0.3.23"
features = [
    "env-filter",
    "json",
]
optional = true