# 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" rust-version = "1.63.0" name = "tensorflow" version = "0.21.0" authors = ["Adam Crume "] description = "Rust language bindings for TensorFlow." documentation = "https://tensorflow.github.io/rust/tensorflow" readme = "README.md" keywords = [ "TensorFlow", "bindings", ] license = "Apache-2.0" repository = "https://github.com/tensorflow/rust" [package.metadata.docs.rs] features = [ "private-docs-rs", "tensorflow_unstable", "ndarray", "eager", "experimental", ] [lib] doctest = false [[example]] name = "addition" [[example]] name = "expressions" required-features = ["tensorflow_unstable"] [[example]] name = "regression" [[example]] name = "regression_savedmodel" [[example]] name = "regression_checkpoint" [[example]] name = "xor" [[example]] name = "mobilenetv3" required-features = ["eager"] [dependencies.byteorder] version = "1.4.3" [dependencies.crc] version = "3.0.0" [dependencies.half] version = "2.1.0" [dependencies.libc] version = "0.2.132" [dependencies.ndarray] version = "0.15.6" optional = true [dependencies.num-complex] version = "0.4.2" default-features = false [dependencies.protobuf] version = "=2.27.1" [dependencies.rustversion] version = "1.0.9" [dependencies.tensorflow-internal-macros] version = "=0.0.3" [dependencies.tensorflow-sys] version = "0.24.0" optional = true [dependencies.tensorflow-sys-runtime] version = "0.2.0" optional = true [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.serial_test] version = "0.9.0" [dev-dependencies.tempfile] version = "3.7.0" [features] default = ["tensorflow-sys"] eager = ["tensorflow-sys/eager"] examples_system_alloc = ["tensorflow-sys/examples_system_alloc"] experimental = ["tensorflow-sys/experimental"] private-docs-rs = ["tensorflow-sys/private-docs-rs"] tensorflow_gpu = ["tensorflow-sys/tensorflow_gpu"] tensorflow_runtime_linking = ["tensorflow-sys-runtime"] tensorflow_unstable = []