Skip to content

Commit 870bbd5

Browse files
committed
Port to Rust + SQLite
1 parent f6b2043 commit 870bbd5

File tree

653 files changed

+107983
-19718
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

653 files changed

+107983
-19718
lines changed

.bumpversion.toml

Lines changed: 0 additions & 36 deletions
This file was deleted.

.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DATABASE_URL=sqlite:db/sqlite/dev.db

.github/workflows/docs.yml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: Deploy Documentation
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- 'docs/**'
9+
- '.github/workflows/docs.yml'
10+
11+
permissions:
12+
contents: read
13+
pages: write
14+
id-token: write
15+
16+
concurrency:
17+
group: "pages"
18+
cancel-in-progress: false
19+
20+
jobs:
21+
build:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- name: Checkout repository
25+
uses: actions/checkout@v4
26+
27+
- name: Setup mdBook
28+
uses: peaceiris/actions-mdbook@v2
29+
with:
30+
mdbook-version: 'latest'
31+
32+
- name: Install mdbook-mermaid
33+
run: |
34+
cargo install mdbook-mermaid
35+
mdbook-mermaid install docs/
36+
37+
- name: Build documentation
38+
run: |
39+
cd docs
40+
mdbook build
41+
42+
- name: Setup Pages
43+
uses: actions/configure-pages@v4
44+
45+
- name: Upload artifact
46+
uses: actions/upload-pages-artifact@v3
47+
with:
48+
path: 'docs/book'
49+
50+
deploy:
51+
environment:
52+
name: github-pages
53+
url: ${{ steps.deployment.outputs.page_url }}
54+
runs-on: ubuntu-latest
55+
needs: build
56+
steps:
57+
- name: Deploy to GitHub Pages
58+
id: deployment
59+
uses: actions/deploy-pages@v4

.github/workflows/gh-pages.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.

.gitignore

Lines changed: 32 additions & 140 deletions
Original file line numberDiff line numberDiff line change
@@ -1,140 +1,32 @@
1-
# Byte-compiled / optimized / DLL files
2-
__pycache__/
3-
*.py[cod]
4-
*$py.class
5-
6-
# C extensions
7-
*.so
8-
9-
# Distribution / packaging
10-
.Python
11-
build/
12-
develop-eggs/
13-
dist/
14-
downloads/
15-
eggs/
16-
.eggs/
17-
lib/
18-
lib64/
19-
parts/
20-
sdist/
21-
var/
22-
wheels/
23-
pip-wheel-metadata/
24-
share/python-wheels/
25-
*.egg-info/
26-
.installed.cfg
27-
*.egg
28-
MANIFEST
29-
30-
# PyInstaller
31-
# Usually these files are written by a python script from a template
32-
# before PyInstaller builds the exe, so as to inject date/other infos into it.
33-
*.manifest
34-
*.spec
35-
36-
# Installer logs
37-
pip-log.txt
38-
pip-delete-this-directory.txt
39-
40-
# Unit test / coverage reports
41-
htmlcov/
42-
.tox/
43-
.nox/
44-
.coverage
45-
.coverage.*
46-
.cache
47-
nosetests.xml
48-
coverage.xml
49-
*.cover
50-
*.py,cover
51-
.hypothesis/
52-
.pytest_cache/
53-
54-
# Translations
55-
*.mo
56-
*.pot
57-
58-
# Django stuff:
59-
*.log
60-
local_settings.py
61-
db.sqlite3
62-
db.sqlite3-journal
63-
64-
# Flask stuff:
65-
instance/
66-
.webassets-cache
67-
68-
# Scrapy stuff:
69-
.scrapy
70-
71-
# Sphinx documentation
72-
docs/_build/
73-
74-
# PyBuilder
75-
target/
76-
77-
# Jupyter Notebook
78-
.ipynb_checkpoints
79-
80-
# IPython
81-
profile_default/
82-
ipython_config.py
83-
84-
# pyenv
85-
.python-version
86-
87-
# pipenv
88-
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
89-
# However, in case of collaboration, if having platform-specific dependencies or dependencies
90-
# having no cross-platform support, pipenv may install dependencies that don't work, or not
91-
# install all needed dependencies.
92-
#Pipfile.lock
93-
94-
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
95-
__pypackages__/
96-
97-
# Celery stuff
98-
celerybeat-schedule
99-
celerybeat.pid
100-
101-
# SageMath parsed files
102-
*.sage.py
103-
104-
# Environments
105-
.env
106-
.venv
107-
env/
108-
venv/
109-
ENV/
110-
env.bak/
111-
venv.bak/
112-
113-
# Spyder project settings
114-
.spyderproject
115-
.spyproject
116-
117-
# Rope project settings
118-
.ropeproject
119-
120-
# mkdocs documentation
121-
/site
122-
123-
# mypy
124-
.mypy_cache/
125-
.dmypy.json
126-
dmypy.json
127-
128-
# Pyre type checker
129-
.pyre/
130-
131-
db_service/README.md
132-
db_service/.swagger-codegen/
133-
db_service/.swagger-codegen-ignore
134-
db_service/node_modules/*
135-
db_service/python_client
136-
db_service/julia_client
137-
docs/openapi.yaml
138-
julia/Torc/Manifest.toml
139-
julia/Torc/test/Manifest.toml
140-
.torc_settings.toml
1+
# Rust build artifacts
2+
/target/
3+
/torc-server/target/
4+
/torc-client/target/
5+
Cargo.lock
6+
7+
# Database files
8+
/db/*
9+
/db/sqlite/*.db
10+
/db/sqlite/*.db-shm
11+
/db/sqlite/*.db-wal
12+
13+
# Environment files
14+
.env.local
15+
16+
# Editor files
17+
*.swp
18+
*.swo
19+
*~
20+
.DS_Store
21+
22+
# IDE directories
23+
.idea/
24+
.vscode/
25+
*.iml
26+
27+
# Python (for python_client)
28+
python_client/.venv/
29+
python_client/**/__pycache__/
30+
python_client/**/*.pyc
31+
python_client/**/*.pyo
32+
python_client/**/*.egg-info/

0 commit comments

Comments
 (0)