ncm-api-rs 0.1.0

Netease Cloud Music API Rust SDK
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 = "2021"
name = "ncm-api-rs"
version = "0.1.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Netease Cloud Music API Rust SDK"
homepage = "https://github.com/SPlayer-Dev/ncm-api-rs"
readme = "README.md"
license = "WTFPL"
repository = "https://github.com/SPlayer-Dev/ncm-api-rs"

[features]
default = []
server = [
    "axum",
    "tower",
    "tower-http",
    "tracing",
    "tracing-subscriber",
]

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

[[bin]]
name = "ncm-server"
path = "src/bin/server.rs"
required-features = ["server"]

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "search_test"
path = "examples/search_test.rs"

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

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

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

[dependencies.aes]
version = "0.8"

[dependencies.axum]
version = "0.8"
features = ["multipart"]
optional = true

[dependencies.base64]
version = "0.22"

[dependencies.cbc]
version = "0.1"
features = ["alloc"]

[dependencies.chrono]
version = "0.4"

[dependencies.ecb]
version = "0.1"
features = ["alloc"]

[dependencies.hex]
version = "0.4"

[dependencies.md-5]
version = "0.10"

[dependencies.rand]
version = "0.8"

[dependencies.regex-lite]
version = "0.1"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "cookies",
    "rustls-tls",
    "socks",
]
default-features = false

[dependencies.rsa]
version = "0.9"
features = ["pem"]

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_urlencoded]
version = "0.7"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tower]
version = "0.5"
optional = true

[dependencies.tower-http]
version = "0.6"
features = ["cors"]
optional = true

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

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
optional = true

[dependencies.urlencoding]
version = "2"

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "test-util",
]