Cargo Features
[dependencies]
bevy_simplenet = { version = "0.15.2", 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
somewhere in the dependency tree.default-features = false - bevy default
-
Enable bevy integration.
Enables bevy_ecs
- client default
-
Enable clients.
- server default = auth
-
Enable servers.
Enables tokio, axum and server of ezsockets and axum and axum-server
axum:
Locked to ezsockets axum version.
- auth server
-
Enable constructing and validating AuthTokens. Typically not needed on clients.
Enables ed25519-dalek and rand ^0.8
- tls-rustls
-
Enable server TLS with tls-rustls.
Enables tls-rustls of axum-server
- tls-openssl
-
Enable server TLS with tls-openssl.
Enables tls-openssl of axum-server