Skip to content

Commit

Permalink
Reduce MSRV for tiktoken-rs
Browse files Browse the repository at this point in the history
  - Simplify Cargo.toml and workspace shared configs
  - Update dependencies for MSRV
  • Loading branch information
zurawiki committed Sep 18, 2023
1 parent bbc19df commit 0f0ca23
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 25 deletions.
14 changes: 0 additions & 14 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,3 @@ resolver = "1"
members = [
"tiktoken-rs",
]

[workspace.package]
edition = "2021"
authors = ["Roger Zurawicki <roger@zura.wiki>"]
description = "Library for encoding and decoding with the tiktoken library in Rust"
rust-version = "1.57.0"
keywords = ["openai", "ai", "gpt", "bpe"]
readme = "./README.md"
homepage = "https://github.com/zurawiki/tiktoken-rs"
repository = "https://github.com/zurawiki/tiktoken-rs"
documentation = "https://docs.rs/crate/tiktoken-rs/"
license = "MIT"
[profile.release]
incremental = true
25 changes: 14 additions & 11 deletions tiktoken-rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,25 @@
name = "tiktoken-rs"
version = "0.5.3"
description = "Library for encoding and decoding with the tiktoken library in Rust"
rust-version = "1.72.0"
include = ["assets/**/*", "src/**/*", "README.md"]
edition.workspace = true
keywords.workspace = true
authors.workspace = true
homepage.workspace = true
repository.workspace = true
documentation.workspace = true
license.workspace = true
edition = "2021"
authors = ["Roger Zurawicki <roger@zura.wiki>"]
rust-version = "1.61.0"
keywords = ["openai", "ai", "gpt", "bpe"]
homepage = "https://github.com/zurawiki/tiktoken-rs"
repository = "https://github.com/zurawiki/tiktoken-rs"
documentation = "https://docs.rs/crate/tiktoken-rs/"
license = "MIT"
readme = "../README.md"

[profile.release]
incremental = true

[dependencies]
anyhow = "1.0.75"
async-openai = { version = "0.14.0", optional = true }
base64 = "0.21.3"
bstr = "0.2.17"
async-openai = { version = "0.14.2", optional = true }
base64 = "0.21.4"
bstr = "1.6.2"
fancy-regex = "0.11.0"
lazy_static = "1.4.0"
parking_lot = "0.12.1"
Expand Down

0 comments on commit 0f0ca23

Please sign in to comment.