mirror of
https://github.com/narrrl/proton-sdk-rs.git
synced 2026-12-03 20:51:50 +01:00
Add upload_file_replacing_draft_sealed and upload_new_revision_sealed. They return a SealedUpload with the file's uid and the id of the revision they sealed. Drive often does not list a node made a moment ago, so reading the file back to learn the id often got nothing. Sealing a revision now also drops the file's node from the entity cache. Before, get_node kept reporting the replaced revision as active until a Drive event invalidated it.
37 lines
942 B
TOML
37 lines
942 B
TOML
[package]
|
|
name = "proton-drive-rs"
|
|
description = "High-level Proton Drive client for Rust"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
homepage.workspace = true
|
|
authors.workspace = true
|
|
keywords.workspace = true
|
|
categories.workspace = true
|
|
rust-version.workspace = true
|
|
readme = "../../README.md"
|
|
documentation = "https://docs.rs/proton-drive-rs"
|
|
|
|
[dependencies]
|
|
proton-sdk = { path = "../proton-sdk", version = "0.12.7" }
|
|
tokio.workspace = true
|
|
reqwest.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
serde_repr.workspace = true
|
|
thiserror.workspace = true
|
|
async-trait.workspace = true
|
|
futures.workspace = true
|
|
lru.workspace = true
|
|
bytes.workspace = true
|
|
chrono.workspace = true
|
|
base64.workspace = true
|
|
getrandom.workspace = true
|
|
hex.workspace = true
|
|
hmac.workspace = true
|
|
sha1.workspace = true
|
|
sha2.workspace = true
|
|
pgp.workspace = true
|
|
tracing.workspace = true
|