Skip to content

Commit

Permalink
verion 0.3.0
Browse files Browse the repository at this point in the history
1. [feature] EnumxFrom and IntoEnumx, uniform enum exchange methods.
2. [refactoring] Rename `Exchange` trait as `EnumX`.
3. [refactoring] Remove syntax support for `throws`.
4. [feature] Generialized logging support.
5. [doc] Doc test cases added.
  • Loading branch information
oooutlk committed Jan 17, 2019
1 parent d119d01 commit 614730e
Show file tree
Hide file tree
Showing 34 changed files with 2,104 additions and 2,451 deletions.
6 changes: 5 additions & 1 deletion README.md
@@ -1,6 +1,10 @@
# Purpose

This is a proof of concept project aiming at implementing anonymous enum and "checked exception" like error handling in Rust via proc-macro.
This is a proof of concept project aiming at

- Structural enum inplemented enum exchange.

- Applying enum exchange with the special interest in error-handling.

Four crates categorized into the fowllowing sub projects:

Expand Down
16 changes: 10 additions & 6 deletions cex/Cargo.toml
@@ -1,19 +1,23 @@
[package]
name = "cex"
version = "0.3.0-alpha"
version = "0.3.0"
authors = ["oooutlk <oooutlk@outlook.com>"]
license = "MIT"
keywords = [ "exception", "error", "throw", "throws", "ad-hoc" ]
keywords = [ "exception", "error", "throws", "log", "backtrace" ]
readme = "README.md"
repository = "https://github.com/oooutlk/enumx"
documentation = "https://docs.rs/cex"
categories = [ "rust-patterns" ]
edition = "2018"
description = "Checked exception in Rust."
description = "Combinators of EnumX, for error-handling"

[dependencies]
enumx = "^0.3.0-alpha"
enumx = "0.3"
failure = { version = "0.1", optional = true }

[dev-dependencies]
enumx_derive = "^0.3.0-alpha"
cex_derive = "^0.3.0-alpha"
enumx_derive = "0.3"
cex_derive = "0.3"

[features]
dyn_err = ["failure"]

0 comments on commit 614730e

Please sign in to comment.