Add num-bigint dep
This commit is contained in:
parent
c0de926086
commit
54c10aef4c
|
@ -151,6 +151,19 @@ version = "1.6.0"
|
|||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b"
|
||||
|
||||
[[package]]
|
||||
name = "bigdecimal"
|
||||
version = "0.4.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "51d712318a27c7150326677b321a5fa91b55f6d9034ffd67f20319e147d40cee"
|
||||
dependencies = [
|
||||
"autocfg",
|
||||
"libm",
|
||||
"num-bigint",
|
||||
"num-integer",
|
||||
"num-traits",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "bitflags"
|
||||
version = "1.3.2"
|
||||
|
@ -231,6 +244,7 @@ dependencies = [
|
|||
"jsonwebtoken",
|
||||
"lazy_static",
|
||||
"log",
|
||||
"num-bigint",
|
||||
"poem",
|
||||
"pubserve",
|
||||
"rand",
|
||||
|
@ -2144,6 +2158,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||
checksum = "a999083c1af5b5d6c071d34a708a19ba3e02106ad82ef7bbd69f5e48266b613b"
|
||||
dependencies = [
|
||||
"atoi",
|
||||
"bigdecimal",
|
||||
"byteorder",
|
||||
"bytes",
|
||||
"chrono",
|
||||
|
@ -2228,6 +2243,7 @@ checksum = "5afe4c38a9b417b6a9a5eeffe7235d0a106716495536e7727d1c7f4b1ff3eba6"
|
|||
dependencies = [
|
||||
"atoi",
|
||||
"base64 0.22.1",
|
||||
"bigdecimal",
|
||||
"bitflags 2.6.0",
|
||||
"byteorder",
|
||||
"bytes",
|
||||
|
@ -2271,6 +2287,7 @@ checksum = "b1dbb157e65f10dbe01f729339c06d239120221c9ad9fa0ba8408c4cc18ecf21"
|
|||
dependencies = [
|
||||
"atoi",
|
||||
"base64 0.22.1",
|
||||
"bigdecimal",
|
||||
"bitflags 2.6.0",
|
||||
"byteorder",
|
||||
"chrono",
|
||||
|
@ -2290,6 +2307,7 @@ dependencies = [
|
|||
"log",
|
||||
"md-5",
|
||||
"memchr",
|
||||
"num-bigint",
|
||||
"once_cell",
|
||||
"rand",
|
||||
"serde",
|
||||
|
|
|
@ -13,13 +13,14 @@ rust-version = "1.70.0"
|
|||
|
||||
[features]
|
||||
default = ["client", "rt-multi-thread"]
|
||||
backend = ["poem", "sqlx"]
|
||||
backend = ["poem", "sqlx", "num-bigint"]
|
||||
rt-multi-thread = ["tokio/rt-multi-thread"]
|
||||
rt = ["tokio/rt"]
|
||||
client = ["flate2"]
|
||||
voice = ["voice_udp", "voice_gateway"]
|
||||
voice_udp = ["dep:discortp", "dep:crypto_secretbox"]
|
||||
voice_gateway = []
|
||||
num-bigint = ["dep:num-bigint"]
|
||||
|
||||
[dependencies]
|
||||
tokio = { version = "1.38.1", features = ["macros", "sync"] }
|
||||
|
@ -54,6 +55,7 @@ sqlx = { version = "0.8.0", features = [
|
|||
"ipnetwork",
|
||||
"runtime-tokio-rustls",
|
||||
"postgres",
|
||||
"bigdecimal",
|
||||
], optional = true }
|
||||
discortp = { version = "0.5.0", optional = true, features = [
|
||||
"rtp",
|
||||
|
@ -65,6 +67,7 @@ rand = "0.8.5"
|
|||
flate2 = { version = "1.0.30", optional = true }
|
||||
webpki-roots = "0.26.3"
|
||||
pubserve = { version = "1.1.0", features = ["async", "send"] }
|
||||
num-bigint = { version = "0.4.6", optional = true }
|
||||
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
rustls = "0.21.12"
|
||||
|
|
Loading…
Reference in New Issue