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