bpe 0.2.1

Fast byte-pair encoding implementation.
Documentation
# 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.1"
build = false
autolib = 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

[features]
rand = ["dep:rand"]
tiktoken = ["dep:base64"]

[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.14"

[dependencies.rand]
version = "0.9"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]

[dev-dependencies.tiktoken-rs]
version = "0.6"