minecraft_registry_api 1.4.2

Typed API clients for Minecraft modding platforms — Modrinth, Mojang, Paper, Purpur, Fabric, Forge, NeoForge
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 = "minecraft_registry_api"
version = "1.4.2"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Typed API clients for Minecraft modding platforms — Modrinth, Mojang, Paper, Purpur, Fabric, Forge, NeoForge"
readme = "README.md"
license = "MIT"

[features]
default = [
    "modrinth",
    "mojang",
]
fabric = []
forge = ["quick-xml"]
full = [
    "modrinth",
    "mojang",
    "paper",
    "purpur",
    "fabric",
    "forge",
    "neoforge",
]
modrinth = []
mojang = []
neoforge = ["quick-xml"]
paper = []
purpur = []

[lib]
name = "minecraft_registry_api"
crate-type = [
    "lib",
    "cdylib",
    "staticlib",
]
path = "src/lib.rs"

[[test]]
name = "api_integration"
path = "tests/api_integration.rs"

[dependencies.quick-xml]
version = "0.40"
features = ["serialize"]
optional = true

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "query",
    "rustls",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
]

[build-dependencies.cbindgen]
version = "0.29.3"

[lints.clippy]
absolute_paths = "deny"
all = "deny"
expect_used = "deny"
pedantic = "deny"
unwrap_used = "deny"