Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor!: use rosu-mods #28

Merged
merged 3 commits into from
Jul 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,3 @@ jobs:
--feature-powerset --no-dev-deps
--optional-deps metrics
--group-features default,cache,macros
--workspace --exclude generate-mods
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/target
.env
/.idea
Cargo.lock
/*/Cargo.lock
output.*
expanded.*
/*/tests/custom.rs
/tests/custom.rs
66 changes: 55 additions & 11 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,55 @@
[workspace]
members = [
"rosu-v2",
"generate-mods"
]
resolver = "2"

[workspace.package]
authors = ["MaxOhn <[email protected]>"]
edition = "2021"
license = "MIT"
[package]
name = "rosu-v2"
version = "0.8.0"
description = "An osu! API v2 wrapper"
readme = "README.md"
keywords = ["osu", "api", "wrapper"]
repository = "https://github.com/MaxOhn/rosu-v2"
documentation = "https://docs.rs/rosu-v2/"
authors = ["MaxOhn <[email protected]>"]
edition = "2021"
license = "MIT"

# --- Features ---

[features]
default = ["cache", "macros"]
cache = ["dashmap"]
macros = ["rosu-mods/macros"]
replay = ["osu-db"]
serialize = []

# --- Dependencies ---

[dependencies]
bytes = { version = "1.0", default-features = false }
futures = { version = "0.3", default-features = false }
leaky-bucket-lite = { version = "0.5" }
log = { version = "0.4", default-features = false }
hyper = { version = "0.14", default-features = false, features = ["client"] }
hyper-rustls = { version = "0.24.1", default-features = false, features = ["http1", "http2", "native-tokio"] }
itoa = { version = "1.0.9" }
rosu-mods = { version = "0.1.0", features = ["serde"] }
serde = { version = "1.0.203", default-features = false, features = ["derive"] }
serde_json = { version = "1.0", default-features = false, features = ["std", "raw_value"] }
serde_urlencoded = { version = "0.7.1" }
smallstr = { version = "0.3.0", features = ["serde"] }
thiserror = { version = "1.0" }
time = { version = "0.3", features = ["formatting", "parsing"] }
tokio = { version = "1.0", default-features = false, features = ["macros"] }
url = { version = "2.0", default-features = false }

# --- Feature dependencies ---

dashmap = { version = "5.1", default-features = false, optional = true }
osu-db = { version = "0.3.0", optional = true }
metrics = { version = "0.21.1", optional = true }

# --- Dev dependencies ---

[dev-dependencies]
dotenv = { version = "0.15" }
env_logger = { version = "0.9" }
eyre = { version = "0.6" }
once_cell = { version = "1.7" }
tokio = { version = "1.0", default-features = false, features = ["rt", "macros"] }
File renamed without changes.
11 changes: 0 additions & 11 deletions generate-mods/Cargo.toml

This file was deleted.

7 changes: 0 additions & 7 deletions generate-mods/README.md

This file was deleted.

11 changes: 0 additions & 11 deletions generate-mods/src/error.rs

This file was deleted.

Loading