Cargo Features

[dependencies]
rosu-v2 = { version = "0.9.0", default-features = false, features = ["cache", "macros", "replay", "serialize", "local_oauth", "deny_unknown_fields", "metrics"] }

--- Features ---

default = cache, macros

These default features are set whenever rosu-v2 is added without default-features = false somewhere in the dependency tree.

cache default = dashmap
macros default

Enables macros of rosu-mods

replay = osu-db

Affects replay::GetReplay

serialize
local_oauth

Enables net of tokio

Affects error::OAuthError

deny_unknown_fields

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

--- Dependencies ---

dashmap cache

Enables dashmap

--- Feature dependencies ---

osu-db replay?
metrics implicit feature

Enables metrics ^0.23.0

metrics:

A lightweight metrics facade