mirror of
https://github.com/openai/harmony.git
synced 2025-09-04 18:25:47 -04:00
Initial commit
Co-authored-by: scott-oai <142930063+scott-oai@users.noreply.github.com> Co-authored-by: Zhuohan Li <zhuohan@openai.com>
This commit is contained in:
commit
253cdca537
70 changed files with 15013 additions and 0 deletions
52
Cargo.toml
Normal file
52
Cargo.toml
Normal file
|
@ -0,0 +1,52 @@
|
|||
[package]
|
||||
name = "openai-harmony"
|
||||
version = "0.0.1"
|
||||
edition = "2021"
|
||||
license = "Apache-2.0"
|
||||
repository = "https://github.com/openai/harmony"
|
||||
|
||||
[lib]
|
||||
name = "openai_harmony"
|
||||
crate-type = ["rlib", "cdylib"]
|
||||
|
||||
[features]
|
||||
default = []
|
||||
python-binding = ["pyo3"]
|
||||
wasm-binding = ["wasm-bindgen", "serde-wasm-bindgen", "wasm-bindgen-futures"]
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0.98"
|
||||
base64 = "0.22.1"
|
||||
image = "0.25.6"
|
||||
serde = { version = "1.0.219", features = ["derive"] }
|
||||
serde_json = { version = "1.0.140", features = ["preserve_order"] }
|
||||
serde_with = "3.12.0"
|
||||
thiserror = "2.0.12"
|
||||
fancy-regex = "0.13.0"
|
||||
regex = "1.10.3"
|
||||
rustc-hash = "1.1.0"
|
||||
bstr = "1.5.0"
|
||||
sha1 = "0.10.6"
|
||||
sha2 = "0.10.9"
|
||||
# Use the pure-Rust `rustls` TLS backend so we don't depend on an OpenSSL
|
||||
# installation on the CI runners. We disable the default features (which
|
||||
# include `platform-native-tls`) and explicitly enable only the capabilities
|
||||
# we need.
|
||||
reqwest = { version = "0.12.5", default-features = false, features = [
|
||||
"blocking",
|
||||
"json",
|
||||
"multipart",
|
||||
"stream",
|
||||
"rustls-tls",
|
||||
] }
|
||||
futures = "0.3"
|
||||
clap = { version = "4", features = ["derive"] }
|
||||
pyo3 = { version = "0.25.0", optional = true, features = ["extension-module"] }
|
||||
wasm-bindgen = { version = "0.2.100", optional = true, features = [
|
||||
"serde-serialize",
|
||||
] }
|
||||
serde-wasm-bindgen = { version = "0.6.5", optional = true }
|
||||
wasm-bindgen-futures = { version = "0.4.42", optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
pretty_assertions = "1.4.1"
|
Loading…
Add table
Add a link
Reference in a new issue