Cargo Features

[dependencies]
bevy_simplenet = { version = "0.14.0", default-features = false, features = ["bevy", "client", "server", "auth", "tls-rustls", "tls-openssl"] }
default = bevy, client, server

These default features are set whenever bevy_simplenet is added without default-features = false somewhere in the dependency tree.

bevy default

Enable bevy integration.

Enables bevy_ecs

client default

Enable clients.

server default = auth

Enable servers.

Enables tokio, axum ^0.6 and axum-server ^0.5, axum and server of ezsockets

auth server

Enable constructing and validating AuthTokens. Typically not needed on clients.

Enables ed25519-dalek and rand

tls-rustls

Enable server TLS with tls-rustls.

Enables tls-rustls of axum-server ^0.5

tls-openssl

Enable server TLS with tls-openssl.

Enables tls-openssl of axum-server ^0.5