[package]
edition = "2024"
rust-version = "1.95"
name = "ygo-core"
version = "0.1.13"
authors = ["Andrew Ferreira <andrew.shien2@gmail.com>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Yu-Gi-Oh! API"
homepage = "https://github.com/ferreira-tb/ygo"
readme = "README.md"
keywords = [
"api",
"yugioh",
]
license = "MIT"
repository = "https://github.com/ferreira-tb/ygo"
[package.metadata.docs.rs]
no-default-features = true
[features]
default = []
specta = ["dep:specta"]
[lib]
name = "ygo_core"
path = "src/lib.rs"
[dependencies.derive_more]
version = "2.1"
features = [
"display",
"from",
"into",
]
[dependencies.http]
version = "1.4"
[dependencies.remain]
version = "0.2"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
]
default-features = false
[dependencies.serde]
version = "1.0"
features = [
"derive",
"rc",
]
[dependencies.serde_json]
version = "1.0"
[dependencies.specta]
version = "=2.0.0-rc.22"
features = [
"derive",
"serde",
"serde_json",
"url",
]
optional = true
[dependencies.strum]
version = "0.28"
features = ["derive"]
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.52"
default-features = false
[dependencies.url]
version = "2.5"
features = ["serde"]
[lints.clippy]
clone_on_ref_ptr = "deny"
collapsible_if = "allow"
dbg_macro = "deny"
filetype_is_file = "deny"
get_unwrap = "deny"
large_enum_variant = "deny"
map_unwrap_or = "allow"
match_wildcard_for_single_variants = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
missing_safety_doc = "deny"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_borrow = "deny"
needless_for_each = "allow"
rc_buffer = "deny"
rc_mutex = "deny"
rest_pat_in_fully_bound_structs = "deny"
similar_names = "allow"
struct_excessive_bools = "allow"
struct_field_names = "allow"
unnecessary_safety_comment = "deny"
unsafe_derive_deserialize = "allow"
useless_conversion = "deny"
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
async_fn_in_trait = "allow"
dangling_pointers_from_temporaries = "deny"
unfulfilled_lint_expectations = "deny"
unsafe_op_in_unsafe_fn = "deny"
variant_size_differences = "warn"