# 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.70.0" name = "another-tiktoken-rs" version = "0.1.2" authors = ["Roger Zurawicki "] include = [ "assets/**/*", "src/**/*", "README.md", ] 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" [dependencies.anyhow] version = "1.0.75" [dependencies.async-openai] version = "0.14.0" optional = true [dependencies.base64] version = "0.21.3" [dependencies.bstr] version = "0.2.17" [dependencies.fancy-regex] version = "0.11.0" [dependencies.lazy_static] version = "1.4.0" [dependencies.parking_lot] version = "0.12.1" [dependencies.pyo3] version = "0.19.2" optional = true [dependencies.rmp-serde] version = "1.1.2" [dependencies.rustc-hash] version = "1.1.0" [dependencies.serde] version = "1.0" features = ["derive"] [features] async-openai = ["dep:async-openai"] python = ["dep:pyo3"]