File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,10 @@ categories = ["game-development", "network-programming"]
20
20
license = " MIT OR Apache-2.0"
21
21
include = [" /src" , " /tests" , " LICENSE*" ]
22
22
23
+ [package .metadata .docs .rs ]
24
+ rustdoc-args = [" -Zunstable-options" , " --cfg" , " docsrs" ]
25
+ all-features = true
26
+
23
27
[dependencies ]
24
28
bevy_replicon = { version = " 0.27" , default-features = false }
25
29
bevy_renet = { version = " 0.0.12" , default-features = false }
@@ -49,3 +53,11 @@ renet_transport = ["bevy_renet/transport"]
49
53
[[test ]]
50
54
name = " transport"
51
55
required-features = [" server" , " client" , " renet_transport" ]
56
+
57
+ [[example ]]
58
+ name = " simple_box"
59
+ required-features = [" server" , " client" , " renet_transport" ]
60
+
61
+ [[example ]]
62
+ name = " tic_tac_toe"
63
+ required-features = [" server" , " client" , " renet_transport" ]
Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ let connection_config = ConnectionConfig {
63
63
For a full example of how to initialize a server or client see the example in the
64
64
repository.
65
65
*/
66
+ #![ cfg_attr( docsrs, feature( doc_auto_cfg) ) ]
66
67
67
68
#[ cfg( feature = "client" ) ]
68
69
pub mod client;
You can’t perform that action at this time.
0 commit comments