# 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 = "2018" name = "border" version = "0.0.7" description = "Reinforcement learning library" readme = "README.md" keywords = [ "reinforcement", "learning", ] categories = ["science"] license = "GPL-2.0-or-later" repository = "https://github.com/laboroai/border" [package.metadata.docs.rs] features = ["doc-only"] [[example]] name = "dqn_cartpole" path = "examples/gym/dqn_cartpole.rs" test = false required-features = ["candle-core"] [[example]] name = "dqn_cartpole_tch" path = "examples/gym/dqn_cartpole_tch.rs" test = true required-features = ["tch"] [[example]] name = "iqn_cartpole_tch" path = "examples/gym/iqn_cartpole_tch.rs" test = true required-features = ["tch"] [[example]] name = "sac_pendulum_tch" path = "examples/gym/sac_pendulum_tch.rs" test = true required-features = ["tch"] [[example]] name = "sac_pendulum" path = "examples/gym/sac_pendulum.rs" test = true required-features = ["candle-core"] [[example]] name = "sac_lunarlander_cont" path = "examples/gym/sac_lunarlander_cont.rs" test = false required-features = ["candle-core"] [[example]] name = "sac_lunarlander_cont_tch" path = "examples/gym/sac_lunarlander_cont_tch.rs" test = false required-features = ["tch"] [[example]] name = "dqn_atari" path = "examples/atari/dqn_atari.rs" test = false required-features = ["candle-core"] [[example]] name = "dqn_atari_tch" path = "examples/atari/dqn_atari_tch.rs" test = false required-features = ["tch"] [[example]] name = "dqn_atari_async_tch" path = "examples/atari/dqn_atari_async_tch.rs" test = false required-features = [ "tch", "border-async-trainer", ] [[example]] name = "sac_fetch_reach" path = "examples/gym-robotics/sac_fetch_reach.rs" test = false required-features = ["tch"] [[example]] name = "sac_mujoco" path = "examples/mujoco/sac_mujoco.rs" test = false required-features = ["candle-core"] [[example]] name = "sac_mujoco_tch" path = "examples/mujoco/sac_mujoco_tch.rs" test = false required-features = ["tch"] [[example]] name = "convert_sac_policy_to_edge" path = "examples/gym/convert_sac_policy_to_edge.rs" test = false required-features = [ "border-tch-agent", "tch", ] [[example]] name = "sac_mujoco_async_tch" path = "examples/mujoco/sac_mujoco_async_tch.rs" test = false required-features = [ "tch", "border-async-trainer", ] [[example]] name = "pendulum_edge" path = "examples/gym/pendulum_edge.rs" test = false [dependencies.anyhow] version = "1.0.38" [dependencies.aquamarine] version = "0.1" [dependencies.border-async-trainer] version = "0.0.7" optional = true [dependencies.border-core] version = "0.0.7" [dependencies.candle-core] version = "=0.4.1" optional = true [dependencies.dirs] version = "3.0.2" [dependencies.log] version = "0.4" [dependencies.reqwest] version = "0.11.26" features = [ "json", "blocking", ] [dependencies.tch] version = "0.16.0" optional = true [dependencies.zip] version = "0.5.12" [dev-dependencies.bincode] version = "1.3.3" [dev-dependencies.border-atari-env] version = "0.0.7" [dev-dependencies.border-candle-agent] version = "0.0.7" [dev-dependencies.border-core] version = "0.0.7" [dev-dependencies.border-derive] version = "0.0.7" [dev-dependencies.border-mlflow-tracking] version = "0.0.7" [dev-dependencies.border-policy-no-backend] version = "0.0.7" [dev-dependencies.border-py-gym-env] version = "0.0.7" [dev-dependencies.border-tch-agent] version = "0.0.7" [dev-dependencies.border-tensorboard] version = "0.0.7" [dev-dependencies.chrono] version = "0.4" [dev-dependencies.clap] version = "4.5.8" features = ["derive"] [dev-dependencies.crossbeam-channel] version = "0.5.1" [dev-dependencies.csv] version = "1.1.5" [dev-dependencies.env_logger] version = "0.8.2" [dev-dependencies.fastrand] version = "1.4.0" [dev-dependencies.ndarray] version = "0.15.1" features = ["serde"] [dev-dependencies.num-traits] version = "0.2.14" [dev-dependencies.numpy] version = "0.14.1" [dev-dependencies.pyo3] version = "=0.14.5" default-features = false [dev-dependencies.serde] version = "1.0.194" features = ["derive"] [dev-dependencies.serde_yaml] version = "0.8.7" [dev-dependencies.tempdir] version = "0.3.7" [dev-dependencies.tensorboard-rs] version = "0.2.4" [dev-dependencies.thiserror] version = "1.0" [features] border-tch-agent = [] cuda = ["candle-core/cuda"] cudnn = ["candle-core/cudnn"] doc-only = ["tch/doc-only"]