Debian Codegraph @

Cargo.toml.orig

raw
1 [package]
2 name = "easy-cast"
3 version = "0.4.4"
4 authors = ["Diggory Hardy <[email protected]>"]
5 edition = "2018"
6 license = "Apache-2.0"
7 description = "Type conversions which are expected to succeed"
8 readme = "README.md"
9 documentation = "https://docs.rs/easy-cast/"
10 keywords = ["cast", "into", "from", "conversion"]
11 repository = "https://github.com/kas-gui/easy-cast"
12
13 [features]
14 default = ["std"]
15
16 # Without std, float conversions are disabled (unless libm is used)
17 std = []
18
19 # Note: assertions are always used in debug builds; these only affect release builds:
20
21 # Always use all assertions
22 always_assert = ["assert_float", "assert_int"]
23
24 # Always assert when converting from floating-point types
25 assert_float = []
26
27 # Always assert when converting from integer types
28 assert_int = []
29
30 [dependencies.libm]
31 # libm may be used instead of std to provide float conversions
32 version = "0.2.1"
33 optional = true