MCPcopy Index your code
hub / github.com/Clikengo/foundationdb-rs

github.com/Clikengo/foundationdb-rs @0.5.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.5.0 ↗ · + Follow
396 symbols 1,185 edges 44 files 101 documented · 26% updated 4y ago0.5.0 · 2020-09-17★ 15714 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

GitHub Workflow Status Codecov Rustc 1.40+ Dependabot Status

FoundationDB Rust Client

The repo consists of multiple crates

Library Status Description
foundationdb Crates.io foundationdb High level FoundationDB client API
foundationdb-sys Crates.io foundationdb-sys C API bindings for FoundationDB
foundationdb-gen n/a Code generator for common options and types of FoundationDB

The current version requires rustc 1.40+ to work (async/await feature). The previous version (0.3) is still maintained and is available within the 0.3 branch.

You can access the master branch documentation here.

License

Licensed under either of

  • Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
  • MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Extension points exported contracts — how you extend this code

TuplePack (Interface)
A type that can be packed [17 implementers]
foundationdb/src/tuple/pack.rs
TupleUnpack (Interface)
A type that can be unpacked [13 implementers]
foundationdb/src/tuple/pack.rs
TransactError (Interface)
A trait that must be implemented to use `Database::transact` this application error types. [4 implementers]
foundationdb/src/database.rs
DatabaseTransact (Interface)
(no doc) [2 implementers]
foundationdb/src/database.rs

Core symbols most depended-on inside this repo

push
called by 56
foundationdb-bindingtester/src/main.rs
as_ptr
called by 56
foundationdb/src/future.rs
clone
called by 53
foundationdb-bindingtester/src/main.rs
len
called by 41
foundationdb/src/future.rs
create_trx
called by 38
foundationdb/src/database.rs
set_option
called by 33
foundationdb/src/api.rs
as_bytes
called by 31
foundationdb/src/tuple/element.rs
pop_bytes
called by 30
foundationdb-bindingtester/src/main.rs

Shape

Method 211
Function 104
Class 68
Enum 9
Interface 4

Languages

Rust94%
C++6%

Modules by API surface

foundationdb-bindingtester/src/main.rs45 symbols
foundationdb/src/transaction.rs40 symbols
foundationdb/src/future.rs29 symbols
foundationdb/src/tuple/mod.rs24 symbols
foundationdb/src/tuple/pack.rs22 symbols
foundationdb/src/database.rs20 symbols
foundationdb/src/api.rs20 symbols
foundationdb/src/tuple/element.rs19 symbols
foundationdb/examples/class-scheduling.rs18 symbols
foundationdb-gen/src/lib.rs17 symbols
foundationdb/src/tuple/subspace.rs15 symbols
foundationdb/tests/get.rs14 symbols

For agents

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

⬇ download graph artifact