Expand description
§linkmarks-core
Domain model, traits, URL canonicalization, and local dedupe for LinkMarks. This crate has no I/O beyond pure parsing helpers — all filesystem, network, and database concerns live in the bridges and the CLI.
See:
model—Bookmark,SourceRef,Collection,Tagtraits—BookmarkSource,BookmarkSinkcanonical— URL canonicalization rulesdedupe— local deterministic dedupe by canonical URLerrors— error typesparser— shared parsing helperspaths— XDG-aware filesystem pathsmigrator— forward-only SQLite migratorstore— SQLite-backed bookmark storeconfig— TOML config loader
Re-exports§
pub use canonical::canonicalize;pub use canonical::CanonicalizeError;pub use canonical_config::CanonicalConfig;pub use config as config_loader;pub use dedupe::dedupe;pub use dedupe::ConflictRecord;pub use dedupe::DedupeReport;pub use errors::CoreError;pub use migrator::Migration;pub use migrator::MAX_SUPPORTED_VERSION;pub use model::Bookmark;pub use model::BookmarkId;pub use model::Collection;pub use model::CollectionId;pub use model::SourceKind;pub use model::SourceRef;pub use model::Tag;pub use store::Store;pub use traits::BookmarkSink;pub use traits::BookmarkSource;pub use traits::Page;pub use traits::WriteReport;
Modules§
- canonical
- URL canonicalization for LinkMarks.
- canonical_
config - Per-domain canonicalization rules.
- config
- TOML config loader for LinkMarks.
- dedupe
- Local deterministic dedupe by canonical URL.
- errors
- Error types for
linkmarks-core. - migrator
- Forward-only SQLite migrator for the LinkMarks store.
- model
- Domain model for LinkMarks.
- parser
- Shared parsing helpers used by bridges.
- paths
- XDG-aware filesystem paths for LinkMarks.
- storage
- SQLite store initialization with WAL and contention hardening.
- store
- SQLite-backed bookmark store.
- traits
- Source/sink traits.
Constants§
- VERSION
- Library version (re-exported from Cargo.toml).