i24 2.3.3

A Rust library for working with 24-bit integers.
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"
name = "i24"
version = "2.3.3"
build = false
exclude = [
    "examples/",
    "docs",
    "python/",
    "i24_benches/",
    "pyproject.toml",
    "uv.lock",
    "build_docs.py",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust library for working with 24-bit integers."
documentation = "https://docs.rs/i24"
readme = "README.md"
categories = [
    "data-structures",
    "mathematics",
    "encoding",
]
license = "MIT"
repository = "https://github.com/jmg049/i24"

[features]
alloc = []
ndarray = ["dep:ndarray"]
num-cast = []
pyo3 = [
    "std",
    "dep:pyo3",
    "dep:numpy",
]
serde = ["dep:serde"]
std = ["num-traits/std"]
zerocopy = ["dep:zerocopy"]

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

[dependencies.bytemuck]
version = "1"
features = ["derive"]

[dependencies.ndarray]
version = "0.17.1"
optional = true

[dependencies.num-traits]
version = "0.2"
default-features = false

[dependencies.numpy]
version = "0.28.0"
optional = true

[dependencies.pyo3]
version = "0.28.0"
features = [
    "extension-module",
    "experimental-inspect",
]
optional = true

[dependencies.serde]
version = "1"
optional = true
default-features = false

[dependencies.zerocopy]
version = "0.8"
features = ["derive"]
optional = true
default-features = false

[dev-dependencies.proptest]
version = "1.0"

[dev-dependencies.serde]
version = "1"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1"