Cargo Features
Confetti-rs has no features set by default.
[dependencies]
confetti-rs = { version = "0.1.1", features = ["derive"] }
- derive = confetti-derive
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- confetti-derive derive?
-
Enables confetti-derive
Для локальной разработки используем путь, а при публикации на crates.io
этот путь будет игнорироваться и будет использоваться только версия