optirs-core 0.3.2

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.2"
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"]
crypto = ["dep:rsa"]
default = ["std"]
metrics-integration = ["scirs2-metrics"]
std = []

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[test]]
name = "metrics_integration_tests"
path = "tests/metrics_integration_tests.rs"
required-features = ["metrics-integration"]

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

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

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

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

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

[[test]]
name = "streaming_convergence_test"
path = "tests/streaming_convergence_test.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.45"

[dependencies.log]
version = "0.4"

[dependencies.oxicode]
version = "0.2.6"
features = [
    "std",
    "serde",
    "checksum",
]
default-features = false

[dependencies.rsa]
version = "0.9"
optional = true

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

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

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

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

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

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

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.11"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.toml]
version = "1.1.4"

[dependencies.x25519-dalek]
version = "3.0.0"
features = ["static_secrets"]

[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.34"

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

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

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

[lints.rust]