conditional 0.1.1

Provides a conditional! macro which lets you use the syntax of the conditional operator (also known as the ternary operator) in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[dependencies.conditional_impl]
version = "0.1.1"

[dependencies.proc-macro-hack]
version = "^0.5"

[package]
authors = ["Alexander Krivács Schrøder <alexschrod@gmail.com>"]
categories = ["rust-patterns"]
description = "Provides a conditional! macro which lets you use the syntax of the conditional operator (also known as the ternary operator) in Rust"
edition = "2018"
keywords = ["conditional", "ternary", "operator"]
license = "MIT/Apache-2.0"
name = "conditional"
readme = "../README.md"
repository = "https://github.com/alexschrod/conditional"
version = "0.1.1"