Jakub Kotur | 80f5cd0 | 2020-12-21 17:28:14 +0100 | [diff] [blame] | 1 | [package] |
| 2 | authors = ["Jorge Aparicio <jorge@japaric.io>"] |
| 3 | build = "build.rs" |
| 4 | description = "Ergonomic, checked cast functions for primitive types" |
| 5 | documentation = "https://docs.rs/cast" |
| 6 | keywords = ["checked", "cast", "primitive", "integer", "float"] |
| 7 | license = "MIT OR Apache-2.0" |
| 8 | name = "cast" |
| 9 | repository = "https://github.com/japaric/cast.rs" |
| 10 | version = "0.2.3" |
| 11 | |
| 12 | [features] |
| 13 | # Assume we should use `std` unless asked to do otherwise. |
| 14 | default = ["std"] |
| 15 | # Enable this to get a std::error::Error impl for convenient use with other |
| 16 | # libraries. |
| 17 | std = [] |
| 18 | # Enable this for i128/u128 support |
| 19 | x128 = [] |
| 20 | |
| 21 | [build-dependencies] |
| 22 | rustc_version = "0.2.3" |
| 23 | |
| 24 | [dev-dependencies] |
| 25 | quickcheck = "0.9.0" |