[package]
edition = "2024"
name = "connexa"
version = "0.4.1"
authors = ["Darius Clark"]
build = false
exclude = [".gitignore"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High level abtraction of rust-libp2p"
readme = "README.md"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/dariusc93/connexa"
[features]
autonat = ["libp2p/autonat"]
dcutr = ["libp2p/dcutr"]
default = ["full"]
dns = ["libp2p/dns"]
ecdsa = ["libp2p/ecdsa"]
ed25519 = ["libp2p/ed25519"]
floodsub = ["libp2p/floodsub"]
full = [
"stream",
"floodsub",
"identify",
"dcutr",
"gossipsub",
"autonat",
"relay",
"kad",
"keypair_base64_encoding",
"ping",
"request-response",
"request-response-misc",
"rendezvous",
"upnp",
"mdns",
"rsa",
"dns",
"ed25519",
"secp256k1",
"ecdsa",
"tls",
"noise",
"tcp",
"quic",
"pnet",
"websocket",
"yamux",
]
gossipsub = ["libp2p/gossipsub"]
identify = ["libp2p/identify"]
kad = ["libp2p/kad"]
keypair_base64_encoding = ["dep:base64"]
mdns = ["libp2p/mdns"]
noise = ["libp2p/noise"]
ping = ["libp2p/ping"]
pnet = ["libp2p/pnet"]
quic = ["libp2p/quic"]
relay = ["libp2p/relay"]
rendezvous = ["libp2p/rendezvous"]
request-response = ["libp2p/request-response"]
request-response-misc = [
"libp2p/json",
"libp2p/cbor",
]
rsa = ["libp2p/rsa"]
secp256k1 = ["libp2p/secp256k1"]
stream = ["dep:libp2p-stream"]
tcp = ["libp2p/tcp"]
testing = []
tls = ["libp2p/tls"]
upnp = ["libp2p/upnp"]
webrtc = [
"dep:libp2p-webrtc",
"dep:libp2p-webrtc-websys",
]
websocket = [
"libp2p/websocket",
"rcgen",
"libp2p/websocket-websys",
]
webtransport = ["libp2p/webtransport-websys"]
yamux = ["libp2p/yamux"]
[lib]
name = "connexa"
path = "src/lib.rs"
[[test]]
name = "common"
path = "tests/common.rs"
[[test]]
name = "dht"
path = "tests/dht.rs"
[[test]]
name = "into_keypair"
path = "tests/into_keypair.rs"
[[test]]
name = "relay"
path = "tests/relay.rs"
[[test]]
name = "request_response"
path = "tests/request_response.rs"
[[test]]
name = "swarm"
path = "tests/swarm.rs"
[dependencies.async-rt]
version = "0.1.8"
[dependencies.async-trait]
version = "0.1.89"
[dependencies.base64]
version = "0.22.1"
optional = true
[dependencies.bytes]
version = "1.10.1"
[dependencies.cid]
version = "0.11.1"
optional = true
[dependencies.either]
version = "1.15.0"
[dependencies.futures]
version = "0.3.31"
[dependencies.futures-timeout]
version = "0.1.3"
[dependencies.indexmap]
version = "2.10.0"
[dependencies.libp2p-allow-block-list]
version = "0.6.0"
[dependencies.libp2p-connection-limits]
version = "0.6.0"
[dependencies.libp2p-stream]
version = "0.4.0-alpha"
optional = true
[dependencies.pem]
version = "3.0.5"
[dependencies.pollable-map]
version = "0.1.7"
[dependencies.rand]
version = "0.8.5"
[dependencies.serde]
version = "1.0.219"
features = ["derive"]
[dependencies.tracing]
version = "0.1.41"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.futures-timer]
version = "3.0.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.hickory-resolver]
version = "0.25.0-alpha.5"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.libp2p]
version = "0.56.0"
features = [
"macros",
"tokio",
"serde",
]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.libp2p-webrtc]
version = "=0.9.0-alpha.1"
features = [
"pem",
"tokio",
]
optional = true
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rcgen]
version = "0.14.3"
features = [
"pem",
"x509-parser",
]
optional = true
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rlimit]
version = "0.10.2"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1.47.1"
features = ["full"]
default-features = false
[target.'cfg(target_arch = "wasm32")'.dependencies.futures-timer]
version = "3.0.0"
features = ["wasm-bindgen"]
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.2.15"
features = ["js"]
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom_03]
version = "0.3.3"
features = ["wasm_js"]
package = "getrandom"
[target.'cfg(target_arch = "wasm32")'.dependencies.libp2p]
version = "0.56.0"
features = [
"macros",
"serde",
"wasm-bindgen",
]
[target.'cfg(target_arch = "wasm32")'.dependencies.libp2p-webrtc-websys]
version = "0.4.0"
optional = true
[target.'cfg(target_arch = "wasm32")'.dependencies.send_wrapper]
version = "0.6.0"
[target.'cfg(target_arch = "wasm32")'.dependencies.serde-wasm-bindgen]
version = "0.6.5"
[target.'cfg(target_arch = "wasm32")'.dependencies.tokio]
version = "1.47.1"
features = [
"sync",
"macros",
]
default-features = false
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4.50"