# 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 = "openai-mock" version = "0.1.0" authors = ["James T. Ray "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A Rust library to mock OpenAI's API for testing purposes." readme = "README.md" license = "MIT" repository = "https://github.com/socrates8300/openai-mock" [lib] name = "openai_mock" path = "src/lib.rs" [dependencies.actix-web] version = "4" optional = true [dependencies.chrono] version = "0.4.38" [dependencies.log] version = "0.4" [dependencies.rand] version = "0.8.5" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.tiktoken-rs] version = "0.6.0" features = [ "async-openai", "dhat-heap", ] optional = false [dependencies.uuid] version = "1.1" features = ["v4"] [features] default = ["actix-web"]