# 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 = "learn"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A minimal reinforcement learning library written in Rust from scratch."
homepage = "https://github.com/yingkitw/learn"
documentation = "https://docs.rs/learn"
readme = "README.md"
keywords = [
    "reinforcement",
    "rl",
    "machine-learning",
]
categories = [
    "science",
    "algorithms",
]
license = "Apache-2.0"
repository = "https://github.com/yingkitw/learn"

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

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

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

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

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

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

[dependencies.rand]
version = "0.9"
