rsfi-core 0.1.0

Core modules for the rsfi framework
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.86.0"
name = "rsfi-core"
version = "0.1.0"
authors = ["FL03 <joe@pzzld.org> (https://github.com/FL03)"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core modules for the rsfi framework"
homepage = "https://github.com/FL03/rsfi/wiki"
readme = "README.md"
keywords = [
    "containers",
    "hkt",
    "space",
    "mathematics",
    "science",
]
categories = []
license = "Apache-2.0"
repository = "https://github.com/FL03/rsfi.git"

[package.metadata.docs.rs]
all-features = false
features = ["default"]
rustc-args = [
    "--cfg",
    "docsrs",
]
version = "v{{version}}"

[package.metadata.release]
no-dev-version = true
tag-name = "{{version}}"

[features]
alloc = [
    "rsfi-traits/alloc",
    "hashbrown?/alloc",
    "rand?/alloc",
    "rand_distr?/alloc",
    "serde?/alloc",
    "serde_json?/alloc",
    "wasm-bindgen?/gg-alloc",
]
complex = ["dep:num-complex"]
default = ["std"]
full = [
    "default",
    "complex",
    "ndarray",
    "hashbrown",
    "json",
    "rand",
    "serde",
]
hashbrown = [
    "dep:hashbrown",
    "rsfi-traits/hashbrown",
]
json = [
    "alloc",
    "serde",
    "serde_json",
]
macros = []
ndarray = ["rsfi-traits/ndarray"]
nightly = [
    "hashbrown?/nightly",
    "rand?/nightly",
    "rsfi-traits/nightly",
]
rand = [
    "rng",
    "dep:rand",
    "dep:rand_distr",
    "rsfi-traits/rand",
    "num-complex?/rand",
]
rayon = [
    "rsfi-traits/rayon",
    "hashbrown?/rayon",
]
rng = [
    "dep:getrandom",
    "rand?/os_rng",
    "rand?/small_rng",
]
serde = [
    "dep:serde",
    "dep:serde_derive",
    "serde?/derive",
    "hashbrown?/serde",
    "num-complex?/serde",
    "rand?/serde",
    "rand_distr?/serde",
    "rsfi-traits/serde",
    "wasm-bindgen?/serde",
]
serde_json = [
    "dep:serde_json",
    "wasm-bindgen?/serde_json",
]
std = [
    "alloc",
    "getrandom?/std",
    "rsfi-traits/std",
    "hashbrown?/default",
    "num-complex?/std",
    "num-traits/std",
    "rand?/std",
    "rand_distr?/std",
    "serde?/std",
    "serde_json?/std",
    "thiserror/std",
    "wasm-bindgen?/std",
]
wasi = ["rsfi-traits/wasi"]
wasm = [
    "wasm_bindgen",
    "rsfi-traits/wasm",
    "getrandom?/wasm_js",
]
wasm_bindgen = [
    "dep:wasm-bindgen",
    "rsfi-traits/wasm_bindgen",
]

[lib]
name = "rsfi_core"
path = "src/lib.rs"
bench = false

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

[dependencies.getrandom]
version = "0.3"
optional = true
default-features = false

[dependencies.hashbrown]
version = "0.16"
optional = true
default-features = false

[dependencies.num-complex]
version = "0.4"
optional = true
default-features = false

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

[dependencies.rand]
version = "0.9"
optional = true
default-features = false

[dependencies.rand_distr]
version = "0.5"
optional = true
default-features = false

[dependencies.rsfi-traits]
version = "0.1.0"
default-features = false

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

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

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

[dependencies.thiserror]
version = "2"
default-features = false

[dependencies.wasm-bindgen]
version = "0.2"
optional = true
default-features = false