aboutsummaryrefslogtreecommitdiff
path: root/azalea-chat/Cargo.toml
diff options
context:
space:
mode:
authorNemo157 <github@nemo157.com>2023-01-20 22:31:02 +0100
committerGitHub <noreply@github.com>2023-01-20 15:31:02 -0600
commit1059afa6fcf8b2776fd25dac07ed2e76ab48bed3 (patch)
tree8e5976e6d0a3baf4fdb87010f9ab5f0c375ecca6 /azalea-chat/Cargo.toml
parentc6b566497220ce5801d21ee2149d6a4b273aa2d1 (diff)
downloadazalea-drasl-1059afa6fcf8b2776fd25dac07ed2e76ab48bed3.tar.xz
Allow using azalea-chat without azalea-buf to avoid unstable features (#58)
Diffstat (limited to 'azalea-chat/Cargo.toml')
-rwxr-xr-xazalea-chat/Cargo.toml5
1 files changed, 4 insertions, 1 deletions
diff --git a/azalea-chat/Cargo.toml b/azalea-chat/Cargo.toml
index 6e5ae47d..fc1df00f 100755
--- a/azalea-chat/Cargo.toml
+++ b/azalea-chat/Cargo.toml
@@ -8,10 +8,13 @@ version = "0.5.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+[features]
+default = ["azalea-buf"]
+
[dependencies]
azalea-buf = { path = "../azalea-buf", features = [
"serde_json",
-], version = "^0.5.0" }
+], version = "^0.5.0", optional = true }
azalea-language = { path = "../azalea-language", version = "^0.5.0" }
log = "0.4.17"
once_cell = "1.16.0"