rocket_conditional_attach 0.1.0

Conditionally attach a fairing
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# rocket_conditional_attach

Use this crate to conditionally attach a fairing.

```rust
// Include the relevant trait via the prelude.
use rocket_conditional_attach::prelude::*;

// Alternatively, you can also include the trait directly.
// use rocket_conditional_attach::ConditionalAttach;

rocket::ignite()
	...
	.attach_if(cfg!(feature = "telemetry"), Telemetry::default())
	...
```