# 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" rust-version = "1.79" name = "rl" version = "0.4.0" description = "A reinforcement learning library" readme = "README.md" keywords = [ "rl", "ml", "machine-learning", "ai", ] categories = ["science"] license = "MIT" repository = "https://github.com/benbaarber/rl" [[example]] name = "q_table_frozen_lake" required-features = [ "gym", "viz", ] [[example]] name = "q_table_snake" required-features = [ "gym", "viz", ] [[example]] name = "dqn_cartpole" required-features = [ "gym", "viz", ] [dependencies.burn] version = "0.13.2" features = [ "wgpu", "autodiff", ] [dependencies.crossterm] version = "0.27.0" optional = true [dependencies.gym-rs] version = "0.3.0" optional = true [dependencies.log] version = "0.4.21" features = ["std"] [dependencies.once_cell] version = "1.19.0" [dependencies.rand] version = "0.8.5" features = ["alloc"] [dependencies.ratatui] version = "0.26.3" features = ["unstable-widget-ref"] optional = true [dependencies.strum] version = "0.26.2" features = ["derive"] optional = true [dependencies.tui-logger] version = "0.11.1" optional = true [dependencies.unicode-width] version = "0.1.13" optional = true [features] gym = [ "dep:gym-rs", "dep:strum", ] viz = [ "dep:ratatui", "dep:crossterm", "dep:tui-logger", "dep:unicode-width", ]