# 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 = "spoilers" version = "0.1.1" description = "High-level Rust bindings for CTranslate2" readme = "README.md" license = "GPL-2.0-or-later" repository = "https://github.com/Sicheng-Pan/spoilers" [[bin]] name = "spoilers" required-features = ["app"] [dependencies.anyhow] version = "1" [dependencies.cxx] version = "1" [dependencies.eframe] version = "0" features = ["persistence"] optional = true [dependencies.egui] version = "0" optional = true [dependencies.egui_commonmark] version = "0" optional = true [dependencies.ocrs] version = "0" optional = true [dependencies.once_cell] version = "1" [dependencies.rten] version = "0" optional = true [dependencies.serde] version = "1" features = ["derive"] [dependencies.strum] version = "0" features = ["derive"] [dependencies.text-splitter] version = "0" features = ["tokenizers"] [dependencies.tokenizers] version = "0" features = ["http"] [dependencies.toml] version = "0" [dependencies.xcap] version = "0" optional = true [build-dependencies.cxx-build] version = "1" [features] app = [ "eframe", "egui", "egui_commonmark", ]