MCPcopy Index your code
hub / github.com/al8n/skipdb

github.com/al8n/skipdb @0.1.5

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.1.5 ↗ · + Follow
765 symbols 2,389 edges 51 files 150 documented · 20%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Txn

Generic transaction manager implementations for developing MVCC and ACID databases.

github LoC Build codecov

docs.rs crates.io crates.io license

English | 简体中文

Installation

[dependencies]
crates = "0.1"

Example

use crates::example;

fn main() {

}

Tests

  • test:

    sh cargo test --all-features

  • miri:

    sh cargo miri test --all-features

Support Platforms

targets status
aarch64-linux-android
aarch64-unknown-linux-gnu
aarch64-unknown-linux-musl
i686-pc-windows-gnu
i686-linux-android
i686-unknown-linux-gnu
mips64-unknown-linux-gnuabi64
powerpc64-unknown-linux-gnu
riscv64gc-unknown-linux-gnu
wasm32-unknown-unknown
wasm32-unknown-emscripten
x86_64-unknown-linux-gnu
x86_64-pc-windows-gnu
x86_64-linux-android

TODO (help wanted)

  • [x] Done
  • [ ] WIP

License

txn is under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE, LICENSE-MIT for details.

Copyright (c) 2024 Al Liu.

Extension points exported contracts — how you extend this code

Cm (Interface)
The conflict manager that can be used to manage the conflicts in a transaction. The conflict normally needs to have: 1 [4 …
txn-core/src/sync.rs
AsSkipCore (Interface)
(no doc) [4 implementers]
skipdb-core/src/lib.rs
CmComparable (Interface)
An optimized version of the [`Cm`] trait that if your conflict manager is depend on the order. [2 implementers]
txn-core/src/sync.rs
Database (Interface)
(no doc) [1 implementers]
skipdb-core/src/lib.rs
Pwm (Interface)
A pending writes manager that can be used to store pending writes in a transaction. By default, there are two implement [2 …
txn-core/src/sync.rs
AsyncCm (Interface)
The conflict manager that can be used to manage the conflicts in a transaction. The conflict normally needs to have: 1 [1 …
txn-core/src/future.rs
AsyncCmEquivalent (Interface)
An optimized version of the [`AsyncCm`] trait that if your conflict manager is depend on hash. [1 implementers]
txn-core/src/future.rs

Core symbols most depended-on inside this repo

write
called by 88
skipdb/src/comparable.rs
write
called by 76
async-skipdb/src/comparable.rs
insert
called by 72
skipdb/src/equivalent/write.rs
key
called by 57
skipdb-core/src/types.rs
insert
called by 54
skipdb/src/comparable/write.rs
insert
called by 51
async-skipdb/src/equivalent/write.rs
insert
called by 47
async-skipdb/src/comparable/write.rs
clone
called by 30
skipdb/src/comparable.rs

Shape

Method 455
Function 210
Class 69
Interface 21
Enum 10

Languages

Rust100%

Modules by API surface

async-skipdb/src/equivalent/tests.rs69 symbols
async-skipdb/src/comparable/tests.rs69 symbols
txn-core/src/future.rs52 symbols
async-txn/src/write.rs43 symbols
txn/src/write.rs42 symbols
wmark/src/watermark/std_.rs26 symbols
wmark/src/watermark/future.rs26 symbols
async-txn/src/write/blocking.rs22 symbols
txn-core/src/sync/btree_pwm.rs21 symbols
skipdb/src/equivalent/tests.rs21 symbols
wmark/src/closer/future.rs19 symbols
txn-core/src/sync/hash_pwm.rs19 symbols

For agents

$ claude mcp add skipdb \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact