Skip to content

Commit

Permalink
fix linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
LaihoE committed Apr 9, 2024
1 parent ae65a91 commit b53e444
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 2 additions & 4 deletions src/parser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,18 @@ proc-macro2 = "1.0.69"
rand = "0.8.5"
opus = { version = "0.3.0", optional = true}
audiopus_sys = { version = "0.2.2", optional = true}

bytes = "1.5.0"

[dependencies.csgoproto]
path = "../csgoproto"
[target.'cfg(not(target_env = "msvc"))'.dependencies]


[profile.dev]
overflow-checks = false

[profile.release]
debug = true

[features]
default = ["voice"]
voice = ["opus"]
# default = ["voice"]
voice = ["opus", "audiopus_sys"]
1 change: 0 additions & 1 deletion src/python/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ path = "../csgoproto"
[profile.dev]
overflow-checks = false


[features]
default = ["parser/voice", "voice"]
voice = []

0 comments on commit b53e444

Please sign in to comment.