# 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 = "bpe" version = "0.2.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Fast byte-pair encoding implementation." readme = "README.md" keywords = [ "tokenizer", "algorithm", "encoding", "bpe", ] categories = [ "algorithms", "data-structures", "encoding", "science", ] license = "MIT" repository = "https://github.com/github/rust-gems" [package.metadata.docs.rs] all-features = true [lib] name = "bpe" crate-type = [ "lib", "staticlib", ] path = "src/lib.rs" bench = false [dependencies.aneubeck-daachorse] version = "1.1.1" [dependencies.base64] version = "0.22" optional = true [dependencies.fnv] version = "1.0" [dependencies.itertools] version = "0.12" [dependencies.rand] version = "0.8" optional = true [dependencies.serde] version = "1" features = ["derive"] [dev-dependencies.tiktoken-rs] version = "0.6" [features] rand = ["dep:rand"] tiktoken = ["dep:base64"]