[package]
edition = "2024"
rust-version = "1.97.1"
name = "minco-plugin-feedback"
version = "1.0.0"
authors = ["Minco Contributors"]
build = false
include = [
"/src/**",
"/assets/**",
"/migrations/**",
"/openapi/**",
"/tests/persistence.rs",
"/Cargo.toml",
"/minco-plugin.json",
"/README.md",
"/LICENSE-MIT",
"/LICENSE-APACHE",
]
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "AI-ready client feedback loops with screenshots, voice, discussion, persistence, and an embeddable widget for Minco"
homepage = "https://github.com/xicv/minco"
documentation = "https://docs.rs/minco-plugin-feedback"
readme = "README.md"
keywords = [
"minco",
"feedback",
"screenshot",
"transcription",
"widget",
]
categories = [
"web-programming",
"development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/xicv/minco"
[package.metadata.minco]
plugin = "minco-plugin.json"
[package.metadata.docs.rs]
all-features = true
[features]
client = ["dep:reqwest"]
command-transcription = ["dep:tempfile"]
default = ["http"]
full = [
"http",
"client",
"postgres",
"sqlite",
"openai-transcription",
"command-transcription",
]
http = [
"dep:axum",
"dep:http",
"dep:minco-http",
"dep:minco-plugin-health",
]
openai-transcription = ["dep:reqwest"]
postgres = [
"dep:sqlx",
"sqlx/postgres",
]
sqlite = [
"dep:sqlx",
"sqlx/sqlite",
]
[lib]
name = "minco_plugin_feedback"
path = "src/lib.rs"
[[test]]
name = "persistence"
path = "tests/persistence.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.axum]
version = "0.8.9"
features = [
"json",
"macros",
"multipart",
]
optional = true
[dependencies.chrono]
version = "0.4"
features = [
"serde",
"clock",
]
[dependencies.http]
version = "1.3"
optional = true
[dependencies.minco-core]
version = "1.0.0"
[dependencies.minco-http]
version = "1.0.0"
optional = true
[dependencies.minco-plugin-audit]
version = "1.0.0"
[dependencies.minco-plugin-events]
version = "1.0.0"
[dependencies.minco-plugin-health]
version = "1.0.0"
optional = true
[dependencies.minco-plugin-identity]
version = "1.0.0"
[dependencies.minco-plugin-notifications]
version = "1.0.0"
[dependencies.minco-plugin-object-storage]
version = "1.0.0"
[dependencies.reqwest]
version = "0.13"
features = [
"json",
"multipart",
"rustls",
]
optional = true
default-features = false
[dependencies.semver]
version = "1.0"
features = ["serde"]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.10"
[dependencies.sqlx]
version = "0.9.0"
features = [
"runtime-tokio",
"tls-rustls-ring-webpki",
"uuid",
"chrono",
"json",
"migrate",
"macros",
]
optional = true
default-features = false
[dependencies.subtle]
version = "2.6"
[dependencies.tempfile]
version = "3.27"
optional = true
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.52"
features = [
"macros",
"rt-multi-thread",
"signal",
"time",
"sync",
"net",
"process",
"fs",
"io-util",
]
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1"
features = [
"v4",
"v7",
"serde",
]
[dev-dependencies.minco-contract]
version = "1.0.0"
[dev-dependencies.tower]
version = "0.5.3"
features = [
"util",
"timeout",
]
[lints.clippy]
future_not_send = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
option_if_let_else = "allow"
too_many_lines = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_must_use = "deny"