# 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" rust-version = "1.61.0" name = "tiktoken-rs" version = "0.6.0" authors = ["Roger Zurawicki "] build = false include = [ "assets/**/*", "src/**/*", "README.md", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Library for encoding and decoding with the tiktoken library in Rust" homepage = "https://github.com/zurawiki/tiktoken-rs" documentation = "https://docs.rs/crate/tiktoken-rs/" readme = "README.md" keywords = [ "openai", "ai", "gpt", "bpe", ] license = "MIT" repository = "https://github.com/zurawiki/tiktoken-rs" resolver = "1" [profile.release] debug = 1 [lib] name = "tiktoken_rs" path = "src/lib.rs" [dependencies.anyhow] version = "1.0.76" [dependencies.async-openai] version = "0.14.2" optional = true [dependencies.base64] version = "0.21.5" [dependencies.bstr] version = "1.6.2" [dependencies.dhat] version = "0.3.2" optional = true [dependencies.fancy-regex] version = "0.13.0" [dependencies.lazy_static] version = "1.4.0" [dependencies.parking_lot] version = "0.12.1" [dependencies.regex] version = "1.10.3" [dependencies.rustc-hash] version = "1.1.0" [features] async-openai = ["dep:async-openai"] dhat-heap = ["dep:dhat"]