jj workspaces over the network
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(core): add tandem-core crate structure

+47
+18
crates/tandem-core/Cargo.toml
··· 1 + [package] 2 + name = "tandem-core" 3 + version.workspace = true 4 + edition.workspace = true 5 + authors.workspace = true 6 + license.workspace = true 7 + repository.workspace = true 8 + 9 + [dependencies] 10 + serde.workspace = true 11 + serde_json.workspace = true 12 + uuid.workspace = true 13 + chrono.workspace = true 14 + yrs.workspace = true 15 + hex.workspace = true 16 + rand.workspace = true 17 + base64.workspace = true 18 + sha1 = "0.10.6"
+29
crates/tandem-core/src/lib.rs
··· 1 + //! Tandem Core Library 2 + //! 3 + //! Shared data model and synchronization primitives for the Tandem project. 4 + 5 + pub mod content; 6 + pub mod model; 7 + pub mod object_store; 8 + pub mod sync; 9 + pub mod types; 10 + 11 + // Re-export model types 12 + pub use model::Repository; 13 + 14 + // Re-export object store types 15 + pub use object_store::{ 16 + hash_blob, FileMode, MemoryObjectStore, ObjectRef, ObjectStore, Tree, TreeEntry, 17 + }; 18 + 19 + // Re-export sync types 20 + pub use sync::*; 21 + 22 + // Re-export core types 23 + pub use types::{ 24 + BlobHash, Bookmark, BookmarkRules, Change, ChangeId, ChangeRecord, Identity, PresenceInfo, 25 + TreeHash, 26 + }; 27 + 28 + // Re-export content types 29 + pub use content::{ContentRequest, ContentResponse};