Update Cargo.toml via mobile
This commit is contained in:
52
Cargo.toml
52
Cargo.toml
@@ -1,36 +1,52 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "unchecked-io"
|
name = "unchecked-io"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ['billthemaker']
|
authors = ["Your Name/Alias"] # Replace with your name or alias
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0" # Good practice for open-source
|
||||||
edition = "2024"
|
edition = "2021"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|
||||||
name = "unchecked_io"
|
name = "unchecked_io"
|
||||||
|
|
||||||
crate-type = ["cdylib", "rlib"]
|
crate-type = ["cdylib", "rlib"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
# 1. Python Bindings for FFI
|
# 1. Python Bindings for FFI
|
||||||
pyo3 = { version = "0.27.1", features = ["extension-module"] }
|
pyo3 = { version = "0.20", features = ["extension-module"] }
|
||||||
|
|
||||||
# 2. Configuration Parsing
|
# 2. Configuration Parsing (YAML)
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
serde_yaml = "0.9"
|
serde_yaml = "0.9"
|
||||||
|
|
||||||
# 3. Apache Arrow
|
# 3. Apache Arrow and Data Handling
|
||||||
arrow = "57.0.0"
|
# FIX: Add the "compute" feature to get concat_batches
|
||||||
|
arrow = { version = "50.0", features = ["compute"] }
|
||||||
|
|
||||||
# 4. Asynchronous Runtime
|
# 4. Asynchronous Runtime (Essential for I/O and Postgres)
|
||||||
tokio = { version = "1.48.0", features = ["full"] }
|
tokio = { version = "1.37", features = ["full"] }
|
||||||
|
|
||||||
# 5. DB Connection (Postgres)
|
# 5. Database Connection (Postgres)
|
||||||
tokio-postgres = "0.7.15"
|
tokio-postgres = "0.7"
|
||||||
anyhow = "1.0.100"
|
|
||||||
futures-util = "0.3.31"
|
# 6. Error Handling Crate (The FIX)
|
||||||
bytes = "1.11.0"
|
anyhow = "1.0"
|
||||||
byteorder = "1.5.0"
|
|
||||||
|
# 7. Futures Utilities (The FIX for StreamExt)
|
||||||
|
futures-util = "0.3"
|
||||||
|
|
||||||
|
# 8. Byte Buffer Management
|
||||||
|
bytes = "1.6"
|
||||||
|
|
||||||
|
# 9. Binary Data Reading (NEW)
|
||||||
|
byteorder = "1.5"
|
||||||
|
|
||||||
|
# 10. Timestamp Handling (NEW)
|
||||||
chrono = "0.4"
|
chrono = "0.4"
|
||||||
|
|
||||||
|
# 11. UUID Handling (NEW)
|
||||||
uuid = { version = "1.8", features = ["serde", "v4"] }
|
uuid = { version = "1.8", features = ["serde", "v4"] }
|
||||||
pyo3-arrow = "0.15.0"
|
|
||||||
|
# 12. Arrow <-> Python Bridge (NEW)
|
||||||
|
pyo3-arrow = "0.13"
|
||||||
|
|
||||||
|
# 13. System CPU Count (NEW)
|
||||||
|
num_cpus = "1.16"
|
||||||
Reference in New Issue
Block a user