Skip to content

Commit

Permalink
chore: cleanup deps
Browse files Browse the repository at this point in the history
  • Loading branch information
greenhat616 committed Jul 18, 2024
1 parent 8aec124 commit f78969a
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 144 deletions.
4 changes: 4 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
[target.'cfg(debug_assertions)']
rustflags = ["--cfg", "tokio_unstable"]

[alias]
debug-run = "run --features debug"
debug-build = "build --features debug"
136 changes: 3 additions & 133 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ tracing-subscriber = { version = "0.3", features = [
tracing-error = "0.2"
tracing-log = { version = "0.2" }
tracing-appender = { version = "0.2", features = ["parking_lot"] }
opentelemetry = "0.23"
opentelemetry_sdk = "0.23"
opentelemetry-stdout = { version = "0.4", features = ["trace"] }
tracing-opentelemetry = "0.24"
futures = "0.3.30"
futures-util = "0.3"
chrono = { version = "0.4", features = ["serde"] }
Expand Down
15 changes: 9 additions & 6 deletions nyanpasu_ipc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,19 @@ version = "0.1.0"
edition = "2021"

[features]
server = ["dep:axum", "dep:axum-extra", "dep:tower", "dep:tower-http", "dep:widestring"]
server = ["dep:axum", "dep:axum-extra", "dep:tower", "dep:widestring"]
client = []

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
nyanpasu-utils = { workspace = true, default-features = false, features = ["core_manager", "serde"]}
nyanpasu-utils = { workspace = true, default-features = false, features = [
"core_manager",
"serde",
] }
tracing = { workspace = true }
tracing-attributes = { workspace = true }
tracing-futures = { workspace = true }
# tracing-futures = { workspace = true }
tokio = { workspace = true }
tokio-util = { workspace = true, features = ["io-util"] }
thiserror = { workspace = true }
Expand All @@ -23,7 +26,7 @@ interprocess = { version = "2.2.0", features = ["tokio"] }
axum = { version = "0.7", features = ["ws"], optional = true }
axum-extra = { version = "0.9", features = ["typed-header"], optional = true }
tower = { version = "0.4", features = ["util"], optional = true }
tower-http = { version = "0.5", features = ["fs", "trace"], optional = true }
# tower-http = { version = "0.5", features = ["fs", "trace"], optional = true }
widestring = { version = "1.1.0", optional = true }
hyper = { version = "1", features = ["full"] }
http-body-util = "0.1"
Expand All @@ -32,5 +35,5 @@ simd-json = { workspace = true }
futures = { workspace = true }
futures-util = { workspace = true }
pin-project-lite = "0.2.14"
tokio-tungstenite = "0.23" # Websocket impl
derive_builder = "0.20"
# tokio-tungstenite = "0.23" # Websocket impl
derive_builder = "0.20"
2 changes: 1 addition & 1 deletion nyanpasu_service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ tracing-subscriber = { workspace = true, features = [
] }
tracing-attributes.workspace = true
service-manager = { git = "https://github.com/greenhat616/service-manager-rs.git" }
whoami = "1"
# whoami = "1"
parking_lot = "0.12"
constcat = "0.5.0"
ctrlc = { version = "3", features = ["termination"] }
Expand Down

0 comments on commit f78969a

Please sign in to comment.