[go: up one dir, main page]

Skip to content

jhpratt/rocket_conditional_attach

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rocket_conditional_attach

Use this crate to conditionally attach a fairing.

// 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())
	...

About

No description, website, or topics provided.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-Apache
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages