easy-cast 0.7.0

Type conversions which are expected to succeed
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.96.0"
name = "easy-cast"
version = "0.7.0"
authors = ["Diggory Hardy <git@dhardy.name>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Type conversions which are expected to succeed"
documentation = "https://docs.rs/easy-cast/"
readme = "README.md"
keywords = [
    "cast",
    "into",
    "from",
    "conversion",
]
license = "Apache-2.0"
repository = "https://github.com/kas-gui/easy-cast"

[package.metadata.docs.rs]
features = []

[features]
always_assert = [
    "assert_float",
    "assert_int",
    "assert_digits",
]
assert_digits = []
assert_float = []
assert_int = []
default = ["std"]
libm = ["dep:libm"]
std = []

[lib]
name = "easy_cast"
path = "src/lib.rs"

[[test]]
name = "array_conv"
path = "tests/array_conv.rs"

[[test]]
name = "core_ops_types"
path = "tests/core_ops_types.rs"

[[test]]
name = "core_range_types"
path = "tests/core_range_types.rs"

[[test]]
name = "float_conv"
path = "tests/float_conv.rs"

[[test]]
name = "float_to_int"
path = "tests/float_to_int.rs"

[[test]]
name = "int_conv"
path = "tests/int_conv.rs"

[[test]]
name = "int_to_float"
path = "tests/int_to_float.rs"

[[test]]
name = "tests"
path = "tests/tests.rs"

[[test]]
name = "tuple_conv"
path = "tests/tuple_conv.rs"

[dependencies.libm]
version = "0.2.1"
optional = true