small-db 0.4.0

A small database writing in rust, inspired from mit 6.830
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import json
import subprocess

commond = "cargo test --package small-db --test btree_insert_test --all-features --no-run --message-format=json"
result = subprocess.run(commond.split(), stdout=subprocess.PIPE)
s = result.stdout.decode('utf-8')
lines = s.splitlines()
for line in lines:
    obj = json.loads(line)
    if "executable" in obj:
        v = obj["executable"]
        if v:
            print(v)
            break