optirs-core 0.3.0

OptiRS core optimization algorithms and utilities
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 = "2021"
name = "optirs-core"
version = "0.3.0"
authors = ["COOLJAPAN OU (Team KitaSan)"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OptiRS core optimization algorithms and utilities"
readme = "README.md"
keywords = [
    "optimization",
    "sgd",
    "adam",
    "adamw",
    "rmsprop",
]
categories = [
    "science",
    "mathematics",
    "algorithms",
]
license = "Apache-2.0"
repository = "https://github.com/cool-japan/optirs"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
cross-platform-testing = ["scirs2-datasets"]
default = ["std"]
metrics-integration = ["scirs2-metrics"]
std = []

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

[[example]]
name = "advanced_optimization"
path = "examples/advanced_optimization.rs"

[[example]]
name = "new_optimizers"
path = "examples/new_optimizers.rs"

[[example]]
name = "performance_optimization"
path = "examples/performance_optimization.rs"

[[example]]
name = "production_monitoring"
path = "examples/production_monitoring.rs"

[[bench]]
name = "gpu_benchmarks"
path = "benches/gpu_benchmarks.rs"
harness = false

[[bench]]
name = "memory_efficient_benchmarks"
path = "benches/memory_efficient_benchmarks.rs"
harness = false

[[bench]]
name = "metrics_benchmarks"
path = "benches/metrics_benchmarks.rs"
harness = false

[[bench]]
name = "optimizer_benchmarks"
path = "benches/optimizer_benchmarks.rs"
harness = false

[[bench]]
name = "parallel_benchmarks"
path = "benches/parallel_benchmarks.rs"
harness = false

[[bench]]
name = "simd_benchmarks"
path = "benches/simd_benchmarks.rs"
harness = false

[dependencies.chrono]
version = "0.4.44"

[dependencies.log]
version = "0.4"

[dependencies.scirs2-core]
version = "0.3.4"

[dependencies.scirs2-datasets]
version = "0.3.4"
optional = true

[dependencies.scirs2-metrics]
version = "0.3.4"
optional = true

[dependencies.scirs2-neural]
version = "0.3.4"

[dependencies.scirs2-optimize]
version = "0.3.4"

[dependencies.scirs2-stats]
version = "0.3.4"

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "derive",
]

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2.0.18"

[dev-dependencies.approx]
version = "0.5.1"

[dev-dependencies.criterion]
version = "0.8.2"

[dev-dependencies.tempfile]
version = "3.27.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.futures]
version = "0.3.32"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.num_cpus]
version = "1.17.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.sysinfo]
version = "0.38.4"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.uuid]
version = "1.22.0"
features = ["v4"]

[lints.rust]
dead_code = "allow"
mismatched_lifetime_syntaxes = "allow"
unknown_lints = "allow"
unpredictable_function_pointer_comparisons = "allow"
unused_imports = "allow"
unused_variables = "allow"