[package]
edition = "2021"
name = "sparkle_interactions"
version = "0.16.0"
authors = ["Lara Kayaalp <me@lara.lv>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Safe, concise Discord interaction handling for Twilight"
documentation = "https://docs.rs/sparkle_interactions"
readme = "README.md"
keywords = [
"discord",
"discord-api",
"twilight",
]
categories = ["parsing"]
license = "MIT"
repository = "https://github.com/laralove143/sparkle_interactions"
[lib]
name = "sparkle_interactions"
path = "src/lib.rs"
[[test]]
name = "followup"
path = "tests/followup.rs"
[[test]]
name = "response"
path = "tests/response.rs"
[[test]]
name = "update_last"
path = "tests/update_last.rs"
[dependencies.tokio]
version = "1.37"
features = ["time"]
optional = true
default-features = false
[dependencies.twilight-http]
version = "0.16"
default-features = false
[dependencies.twilight-model]
version = "0.16"
[dependencies.twilight-validate]
version = "0.16"
[dev-dependencies.anyhow]
version = "1.0"
[dev-dependencies.dotenvy]
version = "0.15"
[dev-dependencies.tokio]
version = "1.37"
features = [
"macros",
"rt-multi-thread",
]
[dev-dependencies.twilight-gateway]
version = "0.16"
[dev-dependencies.twilight-http]
version = "0.16"
[dev-dependencies.twilight-util]
version = "0.16"
features = ["builder"]
[features]
respond_on_delay = ["dep:tokio"]
[lints.clippy]
blanket-clippy-restriction-lints = "allow"
error-impl-error = "allow"
exhaustive-enums = "allow"
exhaustive-structs = "allow"
field-scoped-visibility-modifiers = "allow"
implicit-return = "allow"
missing-docs-in-private-items = "allow"
missing-inline-in-public-items = "allow"
missing-trait-methods = "allow"
module-name-repetitions = "allow"
multiple-crate-versions = "allow"
multiple-inherent-impl = "allow"
non-ascii-literal = "allow"
partial-pub-fields = "allow"
pattern-type-mismatch = "allow"
print-stderr = "allow"
print-stdout = "allow"
pub-use = "allow"
pub-with-shorthand = "allow"
question-mark-used = "allow"
redundant-pub-crate = "allow"
self-named-module-files = "allow"
single-call-fn = "allow"
single-char-lifetime-names = "allow"
std-instead-of-alloc = "allow"
std-instead-of-core = "allow"
unused-trait-names = "allow"
unwrap-used = "allow"
wildcard-enum-match-arm = "allow"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.restriction]
level = "warn"
priority = -1
[lints.rust]
absolute-paths-not-starting-with-crate = "warn"
ambiguous-negative-literals = "warn"
deprecated-safe-2024 = "warn"
edition-2024-expr-fragment-specifier = "warn"
elided-lifetimes-in-paths = "warn"
explicit-outlives-requirements = "warn"
ffi-unwind-calls = "warn"
impl-trait-overcaptures = "warn"
keyword-idents = "warn"
keyword-idents-2018 = "warn"
keyword-idents-2024 = "warn"
let-underscore-drop = "warn"
macro-use-extern-crate = "warn"
meta-variable-misuse = "warn"
missing-abi = "warn"
missing-copy-implementations = "warn"
missing-debug-implementations = "warn"
missing-docs = "warn"
missing-unsafe-on-extern = "warn"
non-ascii-idents = "warn"
redundant-imports = "warn"
redundant-lifetimes = "warn"
rust-2021-incompatible-closure-captures = "warn"
rust-2021-incompatible-or-patterns = "warn"
rust-2021-prefixes-incompatible-syntax = "warn"
rust-2021-prelude-collisions = "warn"
rust-2024-guarded-string-incompatible-syntax = "warn"
rust-2024-incompatible-pat = "warn"
rust-2024-prelude-collisions = "warn"
single-use-lifetimes = "warn"
tail-expr-drop-order = "warn"
trivial-casts = "warn"
trivial-numeric-casts = "warn"
unit-bindings = "warn"
unnameable-types = "warn"
unreachable-pub = "warn"
unsafe-attr-outside-unsafe = "warn"
unsafe-code = "warn"
unsafe-op-in-unsafe-fn = "warn"
unstable-features = "warn"
unused-crate-dependencies = "warn"
unused-extern-crates = "warn"
unused-import-braces = "warn"
unused-lifetimes = "warn"
unused-macro-rules = "warn"
unused-qualifications = "warn"
variant-size-differences = "warn"