Compare commits
168 changed files with 187 additions and 414 deletions
39
.github/workflows/nuitkapublish.yml
vendored
39
.github/workflows/nuitkapublish.yml
vendored
|
|
@ -1,39 +0,0 @@
|
|||
name: Compile and Upload with Nuitka
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*.*.*' # Trigger this action on new version tags (e.g., v1.0.0)
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v3
|
||||
with:
|
||||
python-version: '3.12' # Specify the Python version you need
|
||||
|
||||
- name: Install Nuitka
|
||||
run: pip install nuitka
|
||||
|
||||
- name: Compile Python code with Nuitka
|
||||
run: nuitka --include-package=websockets --onefile runner/lib/main.py
|
||||
|
||||
- name: Archive compiled file
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: compiled-python
|
||||
path: main.bin
|
||||
|
||||
- name: Upload Release Asset
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
uses: actions/upload-release-asset@v1
|
||||
with:
|
||||
upload_url: ${{ github.event.release.upload_url }}
|
||||
asset_path: main.bin
|
||||
asset_name: main.bin
|
||||
asset_content_type: application/octet-stream
|
||||
7
.gitignore
vendored
7
.gitignore
vendored
|
|
@ -4,10 +4,7 @@ __pycache__
|
|||
*.tar.gz
|
||||
coderunner-tools/target
|
||||
.venv
|
||||
|
||||
runner/lib/config.py
|
||||
coderunner-web/bin
|
||||
coderunner-web/obj
|
||||
coderunner_tools/coderunner-build/target
|
||||
runner/lib/main.build
|
||||
runner/lib/main.dist
|
||||
runner/lib/main.onefile-build
|
||||
coderunner_tools/coderunner-build/target
|
||||
|
|
@ -1,81 +0,0 @@
|
|||
import asyncio
|
||||
import os
|
||||
from config import config
|
||||
try:
|
||||
import websockets
|
||||
except ImportError:
|
||||
print("Websockets not installed. Running 'pip install websockets' to install it")
|
||||
os.system("pip install websockets")
|
||||
import websockets
|
||||
import pexpect
|
||||
import os
|
||||
import subprocess
|
||||
import re
|
||||
|
||||
from debug import de_bug
|
||||
import PMSsystem
|
||||
|
||||
|
||||
|
||||
|
||||
conf = config()
|
||||
|
||||
if not os.path.exists(conf.DIRECTORY):
|
||||
os.makedirs(conf.DIRECTORY)
|
||||
|
||||
os.chdir(conf.DIRECTORY)
|
||||
|
||||
|
||||
|
||||
|
||||
async def analyze_code(code):
|
||||
# Write code to a temporary file
|
||||
with tempfile.NamedTemporaryFile(delete=False, suffix=".py") as tmp:
|
||||
tmp_path = tmp.name
|
||||
tmp.write(code.encode('utf-8'))
|
||||
tmp.flush()
|
||||
|
||||
# Run pyright as a subprocess
|
||||
result = subprocess.run(['pyright', tmp_path, '--outputjson'], capture_output=True, text=True)
|
||||
|
||||
# Delete the temporary file
|
||||
os.unlink(tmp_path)
|
||||
|
||||
# Parse pyright's JSON output
|
||||
if result.stdout:
|
||||
output = json.loads(result.stdout)
|
||||
diagnostics = output.get('generalDiagnostics', [])
|
||||
return json.dumps(diagnostics)
|
||||
else:
|
||||
return json.dumps({'Success': 'No output from pyright'})
|
||||
|
||||
async def PythonLSP(websocket, path):
|
||||
async for message in websocket:
|
||||
code = message
|
||||
diagnostics = await analyze_code(code)
|
||||
await websocket.send(diagnostics)
|
||||
|
||||
|
||||
|
||||
async def handler(websocket, path):
|
||||
print(websocket, path)
|
||||
match path:
|
||||
|
||||
case "/PMS":
|
||||
await PMSsystem.PMS(websocket, path)
|
||||
case "/code":
|
||||
await PMSsystem. Write_code_Buffer (websocket, path)
|
||||
|
||||
case _: await websocket.send("Invalid path")
|
||||
|
||||
|
||||
|
||||
|
||||
ws_server = websockets.serve(handler, conf.WS_HOST, conf.WS_PORT)
|
||||
print("CodeRunner Server version 2.0")
|
||||
print("TEST SERVER: Things may break")
|
||||
print("Server started at port", conf.WS_PORT)
|
||||
print("Relay started at address https://localhost:5000/")
|
||||
print("Press Ctrl+C to stop the server")
|
||||
asyncio.get_event_loop().run_until_complete(ws_server)
|
||||
asyncio.get_event_loop().run_forever()
|
||||
|
|
@ -1,102 +0,0 @@
|
|||
import asyncio
|
||||
import os
|
||||
from config import config
|
||||
try:
|
||||
import websockets
|
||||
except ImportError:
|
||||
print("Websockets not installed. Running 'pip install websockets' to install it")
|
||||
os.system("pip install websockets")
|
||||
import websockets
|
||||
import pexpect
|
||||
import subprocess
|
||||
import re
|
||||
import sys
|
||||
|
||||
from debug import de_bug
|
||||
import PMSsystem
|
||||
|
||||
|
||||
|
||||
|
||||
conf = config()
|
||||
|
||||
password = conf.passwd
|
||||
|
||||
if not os.path.exists(conf.DIRECTORY):
|
||||
os.makedirs(conf.DIRECTORY)
|
||||
|
||||
os.chdir(conf.DIRECTORY)
|
||||
|
||||
if len(sys.argv) > 1:
|
||||
skip_next = False
|
||||
for idx, i in enumerate(sys.argv[1:]):
|
||||
if skip_next == True:
|
||||
skip_next = False
|
||||
continue
|
||||
match i:
|
||||
case "-p":
|
||||
password = sys.argv[idx+2]
|
||||
skip_next = True
|
||||
case "--password":
|
||||
password = sys.argv[idx+2]
|
||||
skip_next = True
|
||||
case _:
|
||||
print("Unknown argument", i)
|
||||
|
||||
async def analyze_code(code):
|
||||
# Write code to a temporary file
|
||||
with tempfile.NamedTemporaryFile(delete=False, suffix=".py") as tmp:
|
||||
tmp_path = tmp.name
|
||||
tmp.write(code.encode('utf-8'))
|
||||
tmp.flush()
|
||||
|
||||
# Run pyright as a subprocess
|
||||
result = subprocess.run(['pyright', tmp_path, '--outputjson'], capture_output=True, text=True)
|
||||
|
||||
# Delete the temporary file
|
||||
os.unlink(tmp_path)
|
||||
|
||||
# Parse pyright's JSON output
|
||||
if result.stdout:
|
||||
output = json.loads(result.stdout)
|
||||
diagnostics = output.get('generalDiagnostics', [])
|
||||
return json.dumps(diagnostics)
|
||||
else:
|
||||
return json.dumps({'Success': 'No output from pyright'})
|
||||
|
||||
async def PythonLSP(websocket, path):
|
||||
async for message in websocket:
|
||||
code = message
|
||||
diagnostics = await analyze_code(code)
|
||||
await websocket.send(diagnostics)
|
||||
|
||||
|
||||
|
||||
async def handler(websocket, path):
|
||||
print(websocket, path)
|
||||
match path:
|
||||
|
||||
case "/PMS":
|
||||
await PMSsystem.PMS(websocket, path)
|
||||
case "/code":
|
||||
await PMSsystem. Write_code_Buffer (websocket, path)
|
||||
|
||||
case _: await websocket.send("Invalid path")
|
||||
|
||||
|
||||
|
||||
|
||||
ws_server = websockets.serve(handler, conf.WS_HOST, conf.WS_PORT)
|
||||
print("CodeRunner Server version 2.0")
|
||||
print("TEST SERVER: Things may break")
|
||||
print("Server started at port", conf.WS_PORT)
|
||||
print("Relay started at address ws://localhost:5000/")
|
||||
if password != "":
|
||||
print("Using password authentication\nPassword:", repr(password))
|
||||
print("Press Ctrl+C to stop the server")
|
||||
if password != "":
|
||||
import threading # I am definitly **Not** putting this here because I am too lazy to go to the top of the file. - Carson Coder
|
||||
print(f"\nAuth Proxy Starting at ws://{conf.passwd_proxy_host}:{conf.passwd_proxy_port}/")
|
||||
threading.Thread(target=auth_proxy.main, args=(f"ws://localhost:{conf.WS_PORT}",password)).start()
|
||||
asyncio.get_event_loop().run_until_complete(ws_server)
|
||||
asyncio.get_event_loop().run_forever()
|
||||
|
|
@ -1 +0,0 @@
|
|||
{"rustc_fingerprint":3778049267179198772,"outputs":{"15729799797837862367":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.so\nlib___.so\nlib___.a\nlib___.so\n/home/charlie/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu\noff\npacked\nunpacked\n___\ndebug_assertions\noverflow_checks\npanic=\"unwind\"\nproc_macro\nrelocation_model=\"pic\"\ntarget_abi=\"\"\ntarget_arch=\"x86_64\"\ntarget_endian=\"little\"\ntarget_env=\"gnu\"\ntarget_family=\"unix\"\ntarget_feature=\"fxsr\"\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_has_atomic\ntarget_has_atomic=\"16\"\ntarget_has_atomic=\"32\"\ntarget_has_atomic=\"64\"\ntarget_has_atomic=\"8\"\ntarget_has_atomic=\"ptr\"\ntarget_has_atomic_equal_alignment=\"16\"\ntarget_has_atomic_equal_alignment=\"32\"\ntarget_has_atomic_equal_alignment=\"64\"\ntarget_has_atomic_equal_alignment=\"8\"\ntarget_has_atomic_equal_alignment=\"ptr\"\ntarget_has_atomic_load_store\ntarget_has_atomic_load_store=\"16\"\ntarget_has_atomic_load_store=\"32\"\ntarget_has_atomic_load_store=\"64\"\ntarget_has_atomic_load_store=\"8\"\ntarget_has_atomic_load_store=\"ptr\"\ntarget_os=\"linux\"\ntarget_pointer_width=\"64\"\ntarget_thread_local\ntarget_vendor=\"unknown\"\nub_checks\nunix\n","stderr":""},"4614504638168534921":{"success":true,"status":"","code":0,"stdout":"rustc 1.82.0-nightly (f8060d282 2024-07-30)\nbinary: rustc\ncommit-hash: f8060d282d42770fadd73905e3eefb85660d3278\ncommit-date: 2024-07-30\nhost: x86_64-unknown-linux-gnu\nrelease: 1.82.0-nightly\nLLVM version: 18.1.7\n","stderr":""},"14371922958718593042":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.so\nlib___.so\nlib___.a\nlib___.so\n/home/charlie/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu\noff\npacked\nunpacked\n___\ndebug_assertions\noverflow_checks\npanic=\"unwind\"\nproc_macro\nrelocation_model=\"pic\"\ntarget_abi=\"\"\ntarget_arch=\"x86_64\"\ntarget_endian=\"little\"\ntarget_env=\"gnu\"\ntarget_family=\"unix\"\ntarget_feature=\"fxsr\"\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_has_atomic\ntarget_has_atomic=\"16\"\ntarget_has_atomic=\"32\"\ntarget_has_atomic=\"64\"\ntarget_has_atomic=\"8\"\ntarget_has_atomic=\"ptr\"\ntarget_has_atomic_equal_alignment=\"16\"\ntarget_has_atomic_equal_alignment=\"32\"\ntarget_has_atomic_equal_alignment=\"64\"\ntarget_has_atomic_equal_alignment=\"8\"\ntarget_has_atomic_equal_alignment=\"ptr\"\ntarget_has_atomic_load_store\ntarget_has_atomic_load_store=\"16\"\ntarget_has_atomic_load_store=\"32\"\ntarget_has_atomic_load_store=\"64\"\ntarget_has_atomic_load_store=\"8\"\ntarget_has_atomic_load_store=\"ptr\"\ntarget_os=\"linux\"\ntarget_pointer_width=\"64\"\ntarget_thread_local\ntarget_vendor=\"unknown\"\nub_checks\nunix\n","stderr":""}},"successes":{}}
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
Signature: 8a477f597d28d172789f06886806bc55
|
||||
# This file is a cache directory tag created by cargo.
|
||||
# For information about cache directory tags see https://bford.info/cachedir/
|
||||
|
|
@ -1 +0,0 @@
|
|||
{"rustc":6197497626034139795,"features":"[]","declared_features":"[]","target":14259470444380516758,"profile":3626660381633431854,"path":10602529704205407992,"deps":[[4721221612284672109,"serde",false,6294338071244303823],[9747984726601772574,"serde_json",false,16920102839519245200]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/Code-Tools-245e91562dc50003/dep-bin-Code-Tools"}}],"rustflags":[],"metadata":7797948686568424061,"config":2202906307356721367,"compile_kind":0}
|
||||
Binary file not shown.
|
|
@ -1 +0,0 @@
|
|||
This file has an mtime of when this was started.
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
{"$message_type":"diagnostic","message":"`main` function not found in crate `Code_Tools`","code":{"code":"E0601","explanation":"No `main` function was found in a binary crate.\n\nTo fix this error, add a `main` function:\n\n```\nfn main() {\n // Your program will start here.\n println!(\"Hello world!\");\n}\n```\n\nIf you don't know the basics of Rust, you can look at the\n[Rust Book][rust-book] to get started.\n\n[rust-book]: https://doc.rust-lang.org/book/\n"},"level":"error","spans":[{"file_name":"src/main.rs","byte_start":0,"byte_end":0,"line_start":0,"line_end":0,"column_start":1,"column_end":1,"is_primary":true,"text":[],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider adding a `main` function to `src/main.rs`","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"\u001b[0m\u001b[1m\u001b[38;5;9merror[E0601]\u001b[0m\u001b[0m\u001b[1m: `main` function not found in crate `Code_Tools`\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m= \u001b[0m\u001b[0m\u001b[1mnote\u001b[0m\u001b[0m: consider adding a `main` function to `src/main.rs`\u001b[0m\n\n"}
|
||||
{"$message_type":"diagnostic","message":"aborting due to 1 previous error","code":null,"level":"error","spans":[],"children":[],"rendered":"\u001b[0m\u001b[1m\u001b[38;5;9merror\u001b[0m\u001b[0m\u001b[1m: aborting due to 1 previous error\u001b[0m\n\n"}
|
||||
{"$message_type":"diagnostic","message":"For more information about this error, try `rustc --explain E0601`.","code":null,"level":"failure-note","spans":[],"children":[],"rendered":"\u001b[0m\u001b[1mFor more information about this error, try `rustc --explain E0601`.\u001b[0m\n"}
|
||||
Binary file not shown.
|
|
@ -1 +0,0 @@
|
|||
This file has an mtime of when this was started.
|
||||
|
|
@ -1 +0,0 @@
|
|||
48e066d1a2268e0d
|
||||
|
|
@ -1 +0,0 @@
|
|||
{"rustc":6197497626034139795,"features":"[]","declared_features":"[]","target":14259470444380516758,"profile":6088034271181479411,"path":10602529704205407992,"deps":[[4721221612284672109,"serde",false,6294338071244303823],[9747984726601772574,"serde_json",false,16920102839519245200]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/Code-Tools-f5ca5b75348b16e8/dep-test-bin-Code-Tools"}}],"rustflags":[],"metadata":7797948686568424061,"config":2202906307356721367,"compile_kind":0}
|
||||
Binary file not shown.
|
|
@ -1 +0,0 @@
|
|||
This file has an mtime of when this was started.
|
||||
|
|
@ -1 +0,0 @@
|
|||
d02e72e663d18931
|
||||
|
|
@ -1 +0,0 @@
|
|||
{"rustc":6197497626034139795,"features":"[]","declared_features":"[\"no-panic\"]","target":4403177153059382235,"profile":1740343547499479105,"path":7875436052782114920,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/itoa-a683cbfaf97156bd/dep-lib-itoa"}}],"rustflags":[],"metadata":851671291587502216,"config":2202906307356721367,"compile_kind":0}
|
||||
Binary file not shown.
|
|
@ -1 +0,0 @@
|
|||
This file has an mtime of when this was started.
|
||||
|
|
@ -1 +0,0 @@
|
|||
d8701647ffa49386
|
||||
|
|
@ -1 +0,0 @@
|
|||
{"rustc":6197497626034139795,"features":"[\"alloc\", \"std\"]","declared_features":"[\"alloc\", \"compiler_builtins\", \"core\", \"default\", \"libc\", \"logging\", \"rustc-dep-of-std\", \"std\", \"use_std\"]","target":11224823532731451965,"profile":1740343547499479105,"path":13944855809050189704,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/memchr-defd6ccfd6da75a5/dep-lib-memchr"}}],"rustflags":[],"metadata":7513296495906230968,"config":2202906307356721367,"compile_kind":0}
|
||||
Binary file not shown.
|
|
@ -1 +0,0 @@
|
|||
This file has an mtime of when this was started.
|
||||
|
|
@ -1 +0,0 @@
|
|||
d335bc609a44300b
|
||||
|
|
@ -1 +0,0 @@
|
|||
{"rustc":6197497626034139795,"features":"[]","declared_features":"[\"no-panic\", \"small\"]","target":8332498352293740753,"profile":1740343547499479105,"path":17204358786915888837,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/ryu-e9965db3940a4197/dep-lib-ryu"}}],"rustflags":[],"metadata":10387617312689919117,"config":2202906307356721367,"compile_kind":0}
|
||||
Binary file not shown.
|
|
@ -1 +0,0 @@
|
|||
This file has an mtime of when this was started.
|
||||
|
|
@ -1 +0,0 @@
|
|||
cfedbb8020fb5957
|
||||
|
|
@ -1 +0,0 @@
|
|||
{"rustc":6197497626034139795,"features":"[\"default\", \"std\"]","declared_features":"[\"alloc\", \"default\", \"derive\", \"rc\", \"serde_derive\", \"std\", \"unstable\"]","target":7162769108158706428,"profile":1740343547499479105,"path":16199593418368989816,"deps":[[4721221612284672109,"build_script_build",false,6394286858134053377]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/serde-89f3825e7c5fe696/dep-lib-serde"}}],"rustflags":[],"metadata":3767376778934503013,"config":2202906307356721367,"compile_kind":0}
|
||||
|
|
@ -1 +0,0 @@
|
|||
016207e30412bd58
|
||||
|
|
@ -1 +0,0 @@
|
|||
{"rustc":6197497626034139795,"features":"","declared_features":"","target":0,"profile":0,"path":0,"deps":[[4721221612284672109,"build_script_build",false,10437530610134747166]],"local":[{"RerunIfChanged":{"output":"debug/build/serde-94d6ecbed3111cd1/output","paths":["build.rs"]}}],"rustflags":[],"metadata":0,"config":0,"compile_kind":0}
|
||||
|
|
@ -1 +0,0 @@
|
|||
1e08591dca8ed990
|
||||
|
|
@ -1 +0,0 @@
|
|||
{"rustc":6197497626034139795,"features":"[\"default\", \"std\"]","declared_features":"[\"alloc\", \"default\", \"derive\", \"rc\", \"serde_derive\", \"std\", \"unstable\"]","target":13708040221295731214,"profile":8861558584828204938,"path":7191126719687212872,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/serde-e24dd0b4b868c829/dep-build-script-build-script-build"}}],"rustflags":[],"metadata":3767376778934503013,"config":2202906307356721367,"compile_kind":0}
|
||||
Binary file not shown.
|
|
@ -1 +0,0 @@
|
|||
This file has an mtime of when this was started.
|
||||
|
|
@ -1 +0,0 @@
|
|||
e30366a2fd20fd7f
|
||||
|
|
@ -1 +0,0 @@
|
|||
{"rustc":6197497626034139795,"features":"[\"default\", \"std\"]","declared_features":"[\"alloc\", \"arbitrary_precision\", \"default\", \"float_roundtrip\", \"indexmap\", \"preserve_order\", \"raw_value\", \"std\", \"unbounded_depth\"]","target":9652763411108993936,"profile":8861558584828204938,"path":15830034678430306578,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/serde_json-454d7a70b289cbf1/dep-build-script-build-script-build"}}],"rustflags":[],"metadata":16261601059619201932,"config":2202906307356721367,"compile_kind":0}
|
||||
Binary file not shown.
|
|
@ -1 +0,0 @@
|
|||
This file has an mtime of when this was started.
|
||||
|
|
@ -1 +0,0 @@
|
|||
ea85f118ea96b01d
|
||||
|
|
@ -1 +0,0 @@
|
|||
{"rustc":6197497626034139795,"features":"","declared_features":"","target":0,"profile":0,"path":0,"deps":[[9747984726601772574,"build_script_build",false,9222563885648053219]],"local":[{"RerunIfChanged":{"output":"debug/build/serde_json-5f7ce5e3bb3b1210/output","paths":["build.rs"]}}],"rustflags":[],"metadata":0,"config":0,"compile_kind":0}
|
||||
Binary file not shown.
|
|
@ -1 +0,0 @@
|
|||
This file has an mtime of when this was started.
|
||||
|
|
@ -1 +0,0 @@
|
|||
90739fd0e247d0ea
|
||||
|
|
@ -1 +0,0 @@
|
|||
{"rustc":6197497626034139795,"features":"[\"default\", \"std\"]","declared_features":"[\"alloc\", \"arbitrary_precision\", \"default\", \"float_roundtrip\", \"indexmap\", \"preserve_order\", \"raw_value\", \"std\", \"unbounded_depth\"]","target":8359091782433235722,"profile":1740343547499479105,"path":15936064012595408081,"deps":[[554324495028472449,"memchr",false,9697275838975078616],[711435865661041740,"ryu",false,806219763137918419],[4721221612284672109,"serde",false,6294338071244303823],[9747984726601772574,"build_script_build",false,2139375755185980906],[11284357528473424989,"itoa",false,3569614406666038992]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/serde_json-a904f66888b6a554/dep-lib-serde_json"}}],"rustflags":[],"metadata":16261601059619201932,"config":2202906307356721367,"compile_kind":0}
|
||||
|
|
@ -1 +0,0 @@
|
|||
This file has an mtime of when this was started.
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
cargo:rerun-if-changed=build.rs
|
||||
cargo:rustc-check-cfg=cfg(no_core_cstr)
|
||||
cargo:rustc-check-cfg=cfg(no_core_num_saturating)
|
||||
cargo:rustc-check-cfg=cfg(no_core_try_from)
|
||||
cargo:rustc-check-cfg=cfg(no_diagnostic_namespace)
|
||||
cargo:rustc-check-cfg=cfg(no_float_copysign)
|
||||
cargo:rustc-check-cfg=cfg(no_num_nonzero_signed)
|
||||
cargo:rustc-check-cfg=cfg(no_relaxed_trait_bounds)
|
||||
cargo:rustc-check-cfg=cfg(no_serde_derive)
|
||||
cargo:rustc-check-cfg=cfg(no_std_atomic)
|
||||
cargo:rustc-check-cfg=cfg(no_std_atomic64)
|
||||
cargo:rustc-check-cfg=cfg(no_systemtime_checked_add)
|
||||
cargo:rustc-check-cfg=cfg(no_target_has_atomic)
|
||||
|
|
@ -1 +0,0 @@
|
|||
/home/charlie/git/CodeRunner-projects/Code-Tools/target/debug/build/serde-94d6ecbed3111cd1/out
|
||||
Binary file not shown.
Binary file not shown.
|
|
@ -1,5 +0,0 @@
|
|||
/home/charlie/git/CodeRunner-projects/Code-Tools/target/debug/build/serde-e24dd0b4b868c829/build_script_build-e24dd0b4b868c829: /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/build.rs
|
||||
|
||||
/home/charlie/git/CodeRunner-projects/Code-Tools/target/debug/build/serde-e24dd0b4b868c829/build_script_build-e24dd0b4b868c829.d: /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/build.rs
|
||||
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/build.rs:
|
||||
Binary file not shown.
Binary file not shown.
|
|
@ -1,5 +0,0 @@
|
|||
/home/charlie/git/CodeRunner-projects/Code-Tools/target/debug/build/serde_json-454d7a70b289cbf1/build_script_build-454d7a70b289cbf1: /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/build.rs
|
||||
|
||||
/home/charlie/git/CodeRunner-projects/Code-Tools/target/debug/build/serde_json-454d7a70b289cbf1/build_script_build-454d7a70b289cbf1.d: /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/build.rs
|
||||
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/build.rs:
|
||||
|
|
@ -1 +0,0 @@
|
|||
This file has an mtime of when this was started.
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
cargo:rerun-if-changed=build.rs
|
||||
cargo:rustc-check-cfg=cfg(fast_arithmetic, values("32", "64"))
|
||||
cargo:rustc-cfg=fast_arithmetic="64"
|
||||
|
|
@ -1 +0,0 @@
|
|||
/home/charlie/git/CodeRunner-projects/Code-Tools/target/debug/build/serde_json-5f7ce5e3bb3b1210/out
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
/home/charlie/git/CodeRunner-projects/Code-Tools/target/debug/deps/libCode_Tools-245e91562dc50003.rmeta: src/main.rs
|
||||
|
||||
/home/charlie/git/CodeRunner-projects/Code-Tools/target/debug/deps/Code_Tools-245e91562dc50003.d: src/main.rs
|
||||
|
||||
src/main.rs:
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
/home/charlie/git/CodeRunner-projects/Code-Tools/target/debug/deps/libCode_Tools-f5ca5b75348b16e8.rmeta: src/main.rs
|
||||
|
||||
/home/charlie/git/CodeRunner-projects/Code-Tools/target/debug/deps/Code_Tools-f5ca5b75348b16e8.d: src/main.rs
|
||||
|
||||
src/main.rs:
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
/home/charlie/git/CodeRunner-projects/Code-Tools/target/debug/deps/libitoa-a683cbfaf97156bd.rmeta: /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/itoa-1.0.11/src/lib.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/itoa-1.0.11/src/udiv128.rs
|
||||
|
||||
/home/charlie/git/CodeRunner-projects/Code-Tools/target/debug/deps/itoa-a683cbfaf97156bd.d: /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/itoa-1.0.11/src/lib.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/itoa-1.0.11/src/udiv128.rs
|
||||
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/itoa-1.0.11/src/lib.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/itoa-1.0.11/src/udiv128.rs:
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,31 +0,0 @@
|
|||
/home/charlie/git/CodeRunner-projects/Code-Tools/target/debug/deps/libmemchr-defd6ccfd6da75a5.rmeta: /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/lib.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/macros.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/mod.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/all/mod.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/all/memchr.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/all/packedpair/mod.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/all/packedpair/default_rank.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/all/rabinkarp.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/all/shiftor.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/all/twoway.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/generic/mod.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/generic/memchr.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/generic/packedpair.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/x86_64/mod.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/x86_64/avx2/mod.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/x86_64/avx2/memchr.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/x86_64/avx2/packedpair.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/x86_64/sse2/mod.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/x86_64/sse2/memchr.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/x86_64/sse2/packedpair.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/x86_64/memchr.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/cow.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/ext.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/memchr.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/memmem/mod.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/memmem/searcher.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/vector.rs
|
||||
|
||||
/home/charlie/git/CodeRunner-projects/Code-Tools/target/debug/deps/memchr-defd6ccfd6da75a5.d: /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/lib.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/macros.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/mod.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/all/mod.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/all/memchr.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/all/packedpair/mod.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/all/packedpair/default_rank.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/all/rabinkarp.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/all/shiftor.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/all/twoway.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/generic/mod.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/generic/memchr.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/generic/packedpair.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/x86_64/mod.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/x86_64/avx2/mod.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/x86_64/avx2/memchr.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/x86_64/avx2/packedpair.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/x86_64/sse2/mod.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/x86_64/sse2/memchr.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/x86_64/sse2/packedpair.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/x86_64/memchr.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/cow.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/ext.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/memchr.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/memmem/mod.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/memmem/searcher.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/vector.rs
|
||||
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/lib.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/macros.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/mod.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/all/mod.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/all/memchr.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/all/packedpair/mod.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/all/packedpair/default_rank.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/all/rabinkarp.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/all/shiftor.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/all/twoway.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/generic/mod.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/generic/memchr.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/generic/packedpair.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/x86_64/mod.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/x86_64/avx2/mod.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/x86_64/avx2/memchr.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/x86_64/avx2/packedpair.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/x86_64/sse2/mod.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/x86_64/sse2/memchr.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/x86_64/sse2/packedpair.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/arch/x86_64/memchr.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/cow.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/ext.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/memchr.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/memmem/mod.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/memmem/searcher.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memchr-2.7.4/src/vector.rs:
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
/home/charlie/git/CodeRunner-projects/Code-Tools/target/debug/deps/libryu-e9965db3940a4197.rmeta: /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ryu-1.0.18/src/lib.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ryu-1.0.18/src/buffer/mod.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ryu-1.0.18/src/common.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ryu-1.0.18/src/d2s.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ryu-1.0.18/src/d2s_full_table.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ryu-1.0.18/src/d2s_intrinsics.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ryu-1.0.18/src/digit_table.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ryu-1.0.18/src/f2s.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ryu-1.0.18/src/f2s_intrinsics.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ryu-1.0.18/src/pretty/mod.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ryu-1.0.18/src/pretty/exponent.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ryu-1.0.18/src/pretty/mantissa.rs
|
||||
|
||||
/home/charlie/git/CodeRunner-projects/Code-Tools/target/debug/deps/ryu-e9965db3940a4197.d: /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ryu-1.0.18/src/lib.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ryu-1.0.18/src/buffer/mod.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ryu-1.0.18/src/common.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ryu-1.0.18/src/d2s.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ryu-1.0.18/src/d2s_full_table.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ryu-1.0.18/src/d2s_intrinsics.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ryu-1.0.18/src/digit_table.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ryu-1.0.18/src/f2s.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ryu-1.0.18/src/f2s_intrinsics.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ryu-1.0.18/src/pretty/mod.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ryu-1.0.18/src/pretty/exponent.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ryu-1.0.18/src/pretty/mantissa.rs
|
||||
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ryu-1.0.18/src/lib.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ryu-1.0.18/src/buffer/mod.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ryu-1.0.18/src/common.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ryu-1.0.18/src/d2s.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ryu-1.0.18/src/d2s_full_table.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ryu-1.0.18/src/d2s_intrinsics.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ryu-1.0.18/src/digit_table.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ryu-1.0.18/src/f2s.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ryu-1.0.18/src/f2s_intrinsics.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ryu-1.0.18/src/pretty/mod.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ryu-1.0.18/src/pretty/exponent.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ryu-1.0.18/src/pretty/mantissa.rs:
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
/home/charlie/git/CodeRunner-projects/Code-Tools/target/debug/deps/libserde-89f3825e7c5fe696.rmeta: /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/lib.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/macros.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/integer128.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/de/mod.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/de/value.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/de/format.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/de/ignored_any.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/de/impls.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/de/size_hint.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/ser/mod.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/ser/fmt.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/ser/impls.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/ser/impossible.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/private/mod.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/private/de.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/private/ser.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/private/doc.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/de/seed.rs
|
||||
|
||||
/home/charlie/git/CodeRunner-projects/Code-Tools/target/debug/deps/serde-89f3825e7c5fe696.d: /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/lib.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/macros.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/integer128.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/de/mod.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/de/value.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/de/format.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/de/ignored_any.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/de/impls.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/de/size_hint.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/ser/mod.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/ser/fmt.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/ser/impls.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/ser/impossible.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/private/mod.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/private/de.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/private/ser.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/private/doc.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/de/seed.rs
|
||||
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/lib.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/macros.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/integer128.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/de/mod.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/de/value.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/de/format.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/de/ignored_any.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/de/impls.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/de/size_hint.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/ser/mod.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/ser/fmt.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/ser/impls.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/ser/impossible.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/private/mod.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/private/de.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/private/ser.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/private/doc.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.209/src/de/seed.rs:
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
/home/charlie/git/CodeRunner-projects/Code-Tools/target/debug/deps/libserde_json-a904f66888b6a554.rmeta: /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/lib.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/macros.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/de.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/error.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/map.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/ser.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/value/mod.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/value/de.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/value/from.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/value/index.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/value/partial_eq.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/value/ser.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/io/mod.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/iter.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/number.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/read.rs
|
||||
|
||||
/home/charlie/git/CodeRunner-projects/Code-Tools/target/debug/deps/serde_json-a904f66888b6a554.d: /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/lib.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/macros.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/de.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/error.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/map.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/ser.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/value/mod.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/value/de.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/value/from.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/value/index.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/value/partial_eq.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/value/ser.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/io/mod.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/iter.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/number.rs /home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/read.rs
|
||||
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/lib.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/macros.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/de.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/error.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/map.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/ser.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/value/mod.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/value/de.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/value/from.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/value/index.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/value/partial_eq.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/value/ser.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/io/mod.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/iter.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/number.rs:
|
||||
/home/charlie/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.127/src/read.rs:
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
10
dockerfile
10
dockerfile
|
|
@ -7,20 +7,14 @@ FROM ubuntu:latest
|
|||
# Install python
|
||||
RUN apt update -y
|
||||
|
||||
RUN apt update -y && apt-get install -y python3-pip python3-dev python3-pexpect python3 htop iproute2 lua5.3 nodejs mono-devel gnuplot lua5.3 luarocks cmake make gcc g++ libssl-dev libffi-dev python3-dev python3-pip python3-setuptools python3-venv python3-wheel python3-cffi
|
||||
RUN apt update -y && apt-get install -y python3-pip python3-dev python3-pexpect python3 htop iproute2 lua5.3 nodejs mono-devel gnuplot
|
||||
COPY . /app
|
||||
# Set the working directory in the container
|
||||
WORKDIR /app
|
||||
|
||||
# Install any needed packages specified in requirements.txt
|
||||
RUN pip install websockets --break-system-packages
|
||||
RUN pip install requests --break-system-packages
|
||||
RUN pip install --no-cache-dir -r requirements.txt --break-system-packages
|
||||
RUN apt-get install -y cmake
|
||||
RUN apt-get install -y make gcc g++ libssl-dev libffi-dev python3-dev python3-pip python3-setuptools python3-venv python3-wheel python3-cffi
|
||||
|
||||
# Make port 5000 available to the world outside this container
|
||||
EXPOSE 5000
|
||||
|
||||
# run the server
|
||||
CMD ["python3", "runner/lib/main.py"]
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Runner is a simple, yet powerful tool that allows you to run code in a variety o
|
|||
|
||||
clone the repo and cd into the runner directory.
|
||||
|
||||
run `lib/main.py` on a linux system or wsl. sorry windows.
|
||||
run /lib/server.py on a linux system. sorry windows.
|
||||
spawn out Code from Charlie's public folder inside of a world in resonite and hit the purple button to connect to the server.
|
||||
once you hear tada.wav, you are connected and can start running code.
|
||||
|
||||
|
|
@ -17,6 +17,8 @@ the output will appear in the output window on the left monitor.
|
|||
|
||||
this assumes that the UI theme issue hasn't been completed yet or you are using the default client included with the server.
|
||||
|
||||
password authentication with `-p {password}` or `--password {password}`
|
||||
|
||||
## Features
|
||||
|
||||
- Run code in a variety of languages, including Python, C, C++, and more
|
||||
|
|
@ -25,6 +27,8 @@ this assumes that the UI theme issue hasn't been completed yet or you are using
|
|||
- Run code in a safe, isolated environment using Docker
|
||||
- Easy to use, with a simple and intuitive interface
|
||||
|
||||
- Password authentication.
|
||||
|
||||
best part about this, is that it is all open source and free to use!
|
||||
|
||||
if your docker container gets destroyed, you can rebuild it by running the following command in the runner directory:
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,4 +1,4 @@
|
|||
from debug import de_bug
|
||||
from sockets.debug.debug import de_bug
|
||||
import asyncio
|
||||
import os
|
||||
import sys
|
||||
|
|
|
|||
33
runner/lib/consolehost.py
Normal file
33
runner/lib/consolehost.py
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
import websockets
|
||||
import asyncio
|
||||
import os
|
||||
import pexpect
|
||||
|
||||
|
||||
async def term():
|
||||
term = pexpect.spawn("python3 lib/server.py")
|
||||
# get the contents of the terminal and send it to the websocket
|
||||
return term
|
||||
|
||||
|
||||
# start the server and connect to the relay server from the one we just started
|
||||
|
||||
async def relay():
|
||||
terminal = await term()
|
||||
print(terminal.before)
|
||||
async with websockets.connect("ws://localhost:5000/relay") as relay:
|
||||
while True:
|
||||
try:
|
||||
index = terminal.expect(['.', '\n', pexpect.EOF, pexpect.TIMEOUT], timeout=1)
|
||||
if index == 0 or index == 1:
|
||||
await websocket.send(terminal.before)
|
||||
elif index == 2:
|
||||
#await websocket.send(child.before)
|
||||
break
|
||||
except pexpect.exceptions.TIMEOUT as e:
|
||||
print( f"Execution timed out {e}", "ERROR")
|
||||
break
|
||||
|
||||
if __name__ == "__main__":
|
||||
asyncio.get_event_loop().run_until_complete(relay())
|
||||
asyncio.get_event_loop().run_forever()
|
||||
|
|
@ -12,10 +12,14 @@ import subprocess
|
|||
import re
|
||||
import sys
|
||||
|
||||
from debug import de_bug
|
||||
import PMSsystem
|
||||
from sockets.debug.debug import de_bug
|
||||
import PMSSystem.PMSsystem as PMSsystem
|
||||
|
||||
from debug import debug
|
||||
|
||||
from sockets.cpp import CPP
|
||||
from sockets.py import server
|
||||
|
||||
from sockets.debug import debug
|
||||
|
||||
import auth_proxy
|
||||
|
||||
|
|
@ -44,6 +48,7 @@ if len(sys.argv) > 1:
|
|||
case _:
|
||||
print("Unknown argument", i)
|
||||
|
||||
|
||||
async def analyze_code(code):
|
||||
# Write code to a temporary file
|
||||
with tempfile.NamedTemporaryFile(delete=False, suffix=".py") as tmp:
|
||||
|
|
@ -76,12 +81,31 @@ async def PythonLSP(websocket, path):
|
|||
async def handler(websocket, path):
|
||||
print(websocket, path)
|
||||
match path:
|
||||
|
||||
case "/PYLSP":
|
||||
await PythonLSP(websocket, path)
|
||||
case "/cpp":
|
||||
await CPP(websocket, path)
|
||||
case "/py":
|
||||
await server(websocket, path)
|
||||
case "/help":
|
||||
await websocket.send(conf.help)
|
||||
case "/PMS":
|
||||
await PMSsystem.PMS(websocket, path)
|
||||
case "/code":
|
||||
await PMSsystem. Write_code_Buffer (websocket, path)
|
||||
|
||||
case "/debug":
|
||||
de_bug(websocket, "Connected to debug server", "INFO")
|
||||
await debug(websocket, path)
|
||||
case "/":
|
||||
# relay all code to everyone connected
|
||||
print("relay server connected")
|
||||
while True:
|
||||
code = await websocket.recv()
|
||||
# send the received code to all connected clients
|
||||
for client in websockets:
|
||||
await client.send(code)
|
||||
|
||||
case "/request": await websocket.send(conf.endpoints)
|
||||
case _: await websocket.send("Invalid path")
|
||||
|
||||
|
||||
|
|
|
|||
1
runner/lib/tests/main.py
Normal file
1
runner/lib/tests/main.py
Normal file
|
|
@ -0,0 +1 @@
|
|||
#tests for the coderunner server
|
||||
10
runner/lib/tests/test.py
Normal file
10
runner/lib/tests/test.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import json
|
||||
|
||||
# some JSON:
|
||||
x = '{ "name":"John", "age":30, "city":"New York"}'
|
||||
|
||||
# parse x:
|
||||
y = json.loads(x)
|
||||
|
||||
# the result is a Python dictionary:
|
||||
print(y["age"])
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue