MCPcopy Index your code
hub / github.com/AltSysrq/supercow

github.com/AltSysrq/supercow @0.1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.1.0 ↗ · + Follow
52 symbols 72 edges 2 files 10 documented · 19% updated 9y ago★ 381 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Supercow

Supercow is a versatile and low-overhead generalised reference, allowing to transparently work with owned or borrowed values, as well as shared-ownership types like Arc.

More information can be found in the documentation.

Status

Experimental. This crate is fairly well internally tested, but has not yet seen much serious use.

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

SafeBorrow (Interface)
Extension of `Borrow` used to allow `Supercow::to_mut()` to work safely. ## Unsafety Behaviour is undefined if the `bo [6 …
src/ext.rs
ReferenceExt (Interface)
(no doc) [2 implementers]
src/lib.rs
PointerFirstRef (Interface)
Marker trait identifying a pointer type which begins with an absolute address and contains no other address-dependent in [6 …
src/ext.rs
PfrExt (Interface)
(no doc) [2 implementers]
src/lib.rs
ConstDeref (Interface)
Marker trait indicating a `Deref`-like which always returns the same reference. This is not intended for general use ou [3 …
src/ext.rs
SharedFrom (Interface)
Like `std::convert::From`, but without the blanket implementations that cause problems for `supercow_features!`. ## Uns [2 …
src/ext.rs
OwnedStorage (Interface)
Describes how an `OWNED` or `SHARED` value is stored in a `Supercow`. All notes for `*_b` functions are the same as the [2 …
src/ext.rs

Core symbols most depended-on inside this repo

address
called by 5
src/lib.rs
with_address
called by 3
src/lib.rs
is_2_aligned
called by 1
src/lib.rs
align2
called by 1
src/lib.rs
const_deref
called by 0
src/ext.rs
borrow_replacement
called by 0
src/ext.rs
shared_from
called by 0
src/ext.rs
default
called by 0
src/ext.rs

Shape

Method 32
Interface 11
Class 4
Function 3
Enum 2

Languages

Rust100%

Modules by API surface

src/ext.rs30 symbols
src/lib.rs22 symbols

For agents

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

⬇ download graph artifact