# 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 = "pgml" version = "1.1.1" authors = ["PosgresML "] description = "The official pgml Rust SDK" homepage = "https://postgresml.org/" readme = "README.md" keywords = [ "postgres", "embeddings", ] license = "MIT" repository = "https://github.com/postgresml/postgresml" [lib] name = "pgml" crate-type = [ "lib", "cdylib", ] [dependencies.anyhow] version = "1.0.9" [dependencies.async-trait] version = "0.1.71" [dependencies.chrono] version = "0.4.9" [dependencies.clap] version = "4" features = ["derive"] [dependencies.colored] version = "2" [dependencies.ctrlc] version = "3" [dependencies.futures] version = "0.3.28" [dependencies.indicatif] version = "0.17.6" [dependencies.inquire] version = "0.6" [dependencies.is-terminal] version = "0.4" [dependencies.itertools] version = "0.10.5" [dependencies.lopdf] version = "0.31.0" features = ["nom_parser"] [dependencies.md5] version = "0.7.0" [dependencies.neon] version = "0.10" features = [ "napi-6", "promise-api", "channel-api", ] optional = true default-features = false [dependencies.once_cell] version = "1.19.0" [dependencies.parking_lot] version = "0.12.1" [dependencies.pyo3] version = "0.18.3" features = [ "extension-module", "anyhow", ] optional = true [dependencies.pyo3-asyncio] version = "0.18" features = [ "attributes", "tokio-runtime", ] optional = true [dependencies.regex] version = "1.8.4" [dependencies.reqwest] version = "0.11" features = [ "json", "native-tls-vendored", ] [dependencies.rust_bridge] version = "0.1.0" optional = true [dependencies.sea-query] version = "0.30.7" features = [ "attr", "thread-safe", "with-json", "with-uuid", "postgres-array", ] [dependencies.sea-query-binder] version = "0.5.0" features = [ "sqlx-postgres", "with-json", "with-uuid", "postgres-array", ] [dependencies.serde] version = "1.0.181" [dependencies.serde_json] version = "1.0.9" [dependencies.serde_with] version = "3.8.1" [dependencies.sqlx] version = "0.7.3" features = [ "runtime-tokio-rustls", "postgres", "json", "time", "uuid", ] [dependencies.tokio] version = "1.28.2" features = [ "macros", "rt-multi-thread", ] [dependencies.tracing] version = "0.1.37" [dependencies.tracing-subscriber] version = "0.3.17" features = ["json"] [dependencies.url] version = "2.5.0" [dependencies.uuid] version = "1.3.3" features = [ "v4", "serde", ] [dependencies.walkdir] version = "2.4.0" [features] c = ["rust_bridge"] default = [] javascript = [ "rust_bridge", "dep:neon", ] python = [ "rust_bridge", "dep:pyo3", "dep:pyo3-asyncio", ] rust_bridge = ["dep:rust_bridge"]