Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from llogiq/overflower-0.9
Overflower 0.9
- Loading branch information
Showing
11 changed files
with
662 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,5 @@ | ||
[package] | ||
name = "overflower" | ||
version = "0.4.6" | ||
authors = ["Andre Bogus <bogusandre@gmail.com>"] | ||
license = "Apache-2.0" | ||
repository = "https://github.com/llogiq/overflower" | ||
description = "A compiler plugin to easily select overflow behavior for all integer operations of an item" | ||
readme = "README.md" | ||
keywords = ["arithmetic", "overflow", "plugin"] | ||
categories = ["development-tools"] | ||
|
||
[badges] | ||
travis-ci = { repository = "llogiq/overflower" } | ||
|
||
[lib] | ||
proc_macro = true | ||
|
||
[dependencies] | ||
overflower_support = { version = "0.1.5", path = "support" } | ||
syn = { version = "1.0.1", features = ["extra-traits", "full", "fold", "parsing", "proc-macro"] } | ||
quote = "0.6.9" | ||
[workspace] | ||
members = [ | ||
"overflower", | ||
"overflower-plugin", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[package] | ||
authors = ["Andre Bogus <bogusandre@gmail.com>"] | ||
categories = ["development-tools"] | ||
description = "A compiler plugin to easily select overflow behavior for all integer operations of an item" | ||
edition = "2018" | ||
license = "Apache-2.0" | ||
name = "overflower-plugin" | ||
readme = "README.md" | ||
repository = "https://github.com/llogiq/overflower" | ||
keywords = ["arithmetic", "overflow", "plugin"] | ||
version = "0.9.0" | ||
|
||
[badges] | ||
travis-ci = { repository = "llogiq/overflower" } | ||
|
||
[lib] | ||
proc_macro = true | ||
|
||
[dependencies] | ||
syn = { version = "1.0.5", features = ["extra-traits", "full", "fold", "parsing", "proc-macro"] } | ||
quote = "1.0.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[package] | ||
authors = ["Andre Bogus <bogusandre@gmail.com>"] | ||
categories = ["development-tools"] | ||
description = "A bunch of specialized traits + impls to allow automated overflow handling without type inference." | ||
edition = "2018" | ||
keywords = ["arithmetic", "overflow", "nightly"] | ||
license = "Apache-2.0" | ||
name = "overflower" | ||
repository = "https://github.com/llogiq/overflower" | ||
version = "0.9.0" | ||
|
||
[features] | ||
# by default, we include the `#[overflow(..)]` attribute macro | ||
default = ["proc_macro"] | ||
# specialization is only available on nightly | ||
specialization = [] | ||
# `.abs()` on `Wrapping<i*>` is also only available on nightly, but might be | ||
# stabilized sooner than specialization. | ||
wrapping_int_impl = [] | ||
# You can exclude this if you only want to implement the traits for your types. | ||
proc_macro = ["overflower-plugin"] | ||
|
||
[dependencies] | ||
overflower-plugin = { path = "../overflower-plugin", optional = true } | ||
|
||
[dev-dependencies] | ||
quickcheck = "0.9" |
Oops, something went wrong.