-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
41 lines (37 loc) · 1.12 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[package]
authors = ["u007d <[email protected]>"]
categories = []
description = "Rust's `std` offers the [`Wrapping`](std::num::Wrapping) type for \"intentionally wrapping\" arithmetic, but curiously does not provide analagous implementations for intentionally saturating, checked, overflowing or panicking arithmetic. This crate addresses these missing wrappers as well as re-exports `std`'s [`Wrapping`](std::num::Wrapping) type for completeness and consistency."
edition = "2021"
keywords = []
license = "MIT OR Apache-2.0"
name = "arith_wrappers"
readme = "README.md"
repository = "https://github.com/u007d/arith_wrappers"
version = "0.2.0"
[dependencies]
thiserror = "1.0.30"
arith_traits = { version = "0.2.0", git = "https://github.com/u007d/arith_traits" }
[profile.dev]
codegen-units = 1
debug = true
debug-assertions = true
lto = false
opt-level = 0
panic = "unwind"
rpath = false
[profile.release]
codegen-units = 1
debug = false
debug-assertions = false
lto = true
opt-level = 3
panic = "unwind"
rpath = false
[profile.test]
codegen-units = 1
debug = true
debug-assertions = true
lto = false
opt-level = 0
rpath = false