Skip to content

Commit

Permalink
Specify some more Cargo metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-p committed Nov 29, 2023
1 parent 425da10 commit 40a7a95
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 6 deletions.
8 changes: 8 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
[workspace]
members = ["instant-clip-tokenizer", "instant-clip-tokenizer-py"]
resolver = "2"

[workspace.package]
rust-version = "1.65"
license = "MIT"
description = "Fast text tokenizer for the CLIP neural network"
homepage = "https://github.com/instant-labs/instant-clip-tokenizer"
repository = "https://github.com/instant-labs/instant-clip-tokenizer"
readme = "README.md"
9 changes: 6 additions & 3 deletions instant-clip-tokenizer-py/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@
name = "instant-clip-tokenizer-py"
version = "0.1.0"
edition = "2021"
rust-version = "1.65"
license = "MIT"
readme = "../README.md"
rust-version.workspace = true
license.workspace = true
description.workspace = true
homepage.workspace = true
repository.workspace = true
readme.workspace = true

[lib]
name = "instant_clip_tokenizer"
Expand Down
10 changes: 7 additions & 3 deletions instant-clip-tokenizer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@
name = "instant-clip-tokenizer"
version = "0.1.0"
edition = "2021"
rust-version = "1.65"
license = "MIT"
readme = "../README.md"
rust-version.workspace = true
license.workspace = true
description.workspace = true
homepage.workspace = true
repository.workspace = true
readme.workspace = true
documentation = "https://docs.rs/instant-clip-tokenizer"

[features]
default = ["openai-vocabulary-file"]
Expand Down

0 comments on commit 40a7a95

Please sign in to comment.