# 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 = "edge-transformers" version = "0.1.2" authors = [ "NPC Engine ", "Mykyta Makarov ", ] description = "A Rust wrapper over ONNXRuntime that implements Huggingface's Optimum pipelines for inference and generates bindings for C# and C." readme = "README.md" keywords = [ "machine-learning", "ai", "ml", "nlp", ] categories = [ "algorithms", "mathematics", "science", ] license = "MIT" repository = "https://github.com/npc-engine/edge-transformers" [lib] crate-type = [ "cdylib", "rlib", ] [dependencies.dirs] version = "4.0.0" [dependencies.futures-util] version = "0.3.14" [dependencies.half] version = "2.1" [dependencies.hex] version = "0.4.3" [dependencies.indicatif] version = "0.17.2" [dependencies.interoptopus] version = "0.14.14" [dependencies.itertools] version = "0.10.5" [dependencies.more-asserts] version = "0.3.1" [dependencies.ndarray] version = "0.15" [dependencies.ort] version = "1.14.1" features = [ "half", "copy-dylibs", ] default-features = false [dependencies.paste] version = "1.0.6" [dependencies.rand] version = "0.8.4" features = ["alloc"] [dependencies.reqwest] version = "0.11.3" features = ["stream"] [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.sha2] version = "0.10.6" [dependencies.thread_local] version = "1.1.3" [dependencies.tokenizers] version = "0.13" [dependencies.tokio] version = "1.24.1" [dev-dependencies.interoptopus_backend_c] version = "0.14.14" [dev-dependencies.interoptopus_backend_cpython] version = "0.14.14" [dev-dependencies.interoptopus_backend_csharp] version = "0.14.14" [features] cuda = ["ort/cuda"] default = [ "download-binaries", "generate-csharp", "generate-c", ] directml = ["ort/directml"] download-binaries = ["ort/download-binaries"] generate-c = [] generate-csharp = [] tensorrt = ["ort/tensorrt"]