|
|
@ -1,6 +1,6 @@
|
|
|
|
[package]
|
|
|
|
[package]
|
|
|
|
name = "bromine"
|
|
|
|
name = "bromine"
|
|
|
|
version = "0.20.0"
|
|
|
|
version = "0.20.1"
|
|
|
|
authors = ["trivernis <trivernis@protonmail.com>"]
|
|
|
|
authors = ["trivernis <trivernis@protonmail.com>"]
|
|
|
|
edition = "2018"
|
|
|
|
edition = "2018"
|
|
|
|
readme = "README.md"
|
|
|
|
readme = "README.md"
|
|
|
@ -28,15 +28,15 @@ async-trait = "0.1.52"
|
|
|
|
num_enum = "0.5.7"
|
|
|
|
num_enum = "0.5.7"
|
|
|
|
futures-core = "0.3.21"
|
|
|
|
futures-core = "0.3.21"
|
|
|
|
trait-bound-typemap = "0.3.3"
|
|
|
|
trait-bound-typemap = "0.3.3"
|
|
|
|
|
|
|
|
bytes = "1.1.0"
|
|
|
|
rmp-serde = { version = "1.0.0", optional = true }
|
|
|
|
rmp-serde = { version = "1.0.0", optional = true }
|
|
|
|
bincode = { version = "1.3.3", optional = true }
|
|
|
|
bincode = { version = "1.3.3", optional = true }
|
|
|
|
serde_json = { version = "1.0.79", optional = true }
|
|
|
|
serde_json = { version = "1.0.79", optional = true }
|
|
|
|
bytes = "1.1.0"
|
|
|
|
chacha20poly1305 = {version = "0.9.0", optional = true}
|
|
|
|
chacha20poly1305 = "0.9.0"
|
|
|
|
x25519-dalek = {version = "1.2.0", optional = true}
|
|
|
|
x25519-dalek = "1.2.0"
|
|
|
|
rand = {version = "0.8.5", optional = true}
|
|
|
|
rand = "0.8.5"
|
|
|
|
rand_core = {version = "0.6.3", optional = true}
|
|
|
|
rand_core = "0.6.3"
|
|
|
|
sha2 = {version = "0.10.2", optional = true}
|
|
|
|
sha2 = "0.10.2"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[dependencies.serde]
|
|
|
|
[dependencies.serde]
|
|
|
|
optional = true
|
|
|
|
optional = true
|
|
|
@ -73,6 +73,7 @@ features = ["macros", "rt-multi-thread"]
|
|
|
|
|
|
|
|
|
|
|
|
[features]
|
|
|
|
[features]
|
|
|
|
default = []
|
|
|
|
default = []
|
|
|
|
|
|
|
|
encryption_layer = ["chacha20poly1305", "sha2", "rand", "x25519-dalek", "rand_core"]
|
|
|
|
serialize = ["serde"]
|
|
|
|
serialize = ["serde"]
|
|
|
|
serialize_rmp = ["serialize", "rmp-serde"]
|
|
|
|
serialize_rmp = ["serialize", "rmp-serde"]
|
|
|
|
serialize_bincode = ["serialize", "bincode"]
|
|
|
|
serialize_bincode = ["serialize", "bincode"]
|
|
|
|