rustio rustio.net
59

tiktoken-rs

v0.9.1 Growing

Library for encoding and decoding with the tiktoken library in Rust

MIT Edition 2021 MSRV 1.61.0
#ai#openai#gpt#bpe

Quick Verdict

  • !Pre-1.0: API may have breaking changes
  • โœ“Massive adoption (3.8K crates depend on it)
  • โœ“Permissive license (MIT)

Security

Checking security advisories...
Downloads
5.3M
Dependents
3.8K
Releases
32
Size
3.8MB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

873.8K downloads in the last 30 days (29.1K/day), up 37% from the previous period.

๐Ÿ”—
Widely adopted

3.8K crates depend on tiktoken-rs. Strong ecosystem adoption means battle-tested code and long-term stability.

โš ๏ธ
Single maintainer risk

tiktoken-rs has only 1 owner despite 3.8K dependents. This is a bus-factor concern โ€” consider the implications for long-term support.

๐Ÿ”ฌ
Pre-1.0 for over a year

Despite being 3+ years old, tiktoken-rs hasn't reached 1.0 yet. Expect potential API changes between versions.

๐Ÿ“
Large crate size

3.8MB is relatively large. May impact download and compile times.

๐ŸŒŸ
Used by top crates

Notable dependents include spider, text-splitter, llm-tokenizer, langchain-rust, bpe. When high-quality crates choose tiktoken-rs, it's a strong quality signal.

Health Breakdown

Maintenance 12/25

Recency, release consistency, active ratio

Quality 12/25

Yanked ratio, deps, size, maturity, features

Community 12/20

Reverse deps, ownership, ecosystem

Popularity 8/15

Downloads, momentum, growth trend

Documentation 15/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
26K/day avg+5%
050K100K12/291/162/32/213/113/28

Top Dependents

Version Adoption

v0.7.0
39%
v0.5.9
28%
v0.6.0
19%
v0.9.1
10%
v0.5.8
4%

Release Timeline

32 releasessince 2023
J
F
M
A
M
J
J
A
S
O
N
D
2023
27
2024
2
2025
3
2026
Less
More

Feature Flags

dhat-heapasync-openai

README

Loading README...

Maintainers

Dependencies
9
direct dependencies
Dependents
3.8K
crates depend on tiktoken-rs

Similar Crates