Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ edition = "2021"
license = "MIT"

[workspace.dependencies]
ufo-types = { git = "https://github.com/promptexecution/ufo-types", rev = "5f8d0186947da376cfa17ad8b59cd280f2f85338" }
ufo-types = { git = "https://github.com/promptexecution/ufo-types", rev = "1846e6f" }
rusqlite = { version = "=0.33.0", features = ["bundled", "hooks"] }
rust_xlsxwriter = "0.94.0"
serde = { version = "1", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion book/src/revision-io.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ requirements, source symbols, typed values, relations and binary attachments.
```rust
use ledgrrr_revision_io::*;
use std::collections::BTreeMap;
use ufo_types::revision::{PortableModel, RevisionContext};
use ledgrrr_revision_io::revision::{PortableModel, RevisionContext};

let dir = tempfile::tempdir()?;
let path = dir.path().join("revisions.sqlite");
Expand Down
8 changes: 7 additions & 1 deletion crates/ledgrrr-revision-io/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,18 @@ license.workspace = true
description = "Provider-neutral durable revision artifacts, intents, receipts and recovery"

[dependencies]
ufo-types = { workspace = true, features = ["revision"] }
ufo-types = { workspace = true }
rusqlite.workspace = true
serde.workspace = true
serde_json.workspace = true
thiserror.workspace = true
chrono.workspace = true
oxigraph = { version = "=0.5.11", default-features = false }
schemars = { version = "0.8", features = ["derive"] }
sha2 = "0.10"
bigdecimal = "0.4"
oxiri = "0.2.11"
oxilangtag = "0.1.6"

[dev-dependencies]
tempfile.workspace = true
Expand Down
6 changes: 4 additions & 2 deletions crates/ledgrrr-revision-io/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
#![forbid(unsafe_code)]

use serde::{Deserialize, Serialize};
pub use ufo_types::revision::{

pub mod revision;
pub use crate::revision::{
ActorId, ArtifactDigest, BranchId, ExpectedHead, IndexCheckpoint, OperationId,
OperationReceipt, PortableBundle, ProjectId, RevisionId, SyncStatus,
};
Expand Down Expand Up @@ -133,7 +135,7 @@ pub enum Error {
#[error(transparent)]
Sql(#[from] rusqlite::Error),
#[error(transparent)]
Revision(#[from] ufo_types::revision::RevisionError),
Revision(#[from] crate::revision::RevisionError),
#[error(transparent)]
Json(#[from] serde_json::Error),
}
Expand Down
Loading
Loading