1.1--- a/lisp/lib/rdb/pkg.lisp Sat Dec 30 20:50:15 2023 -0500
1.2+++ b/lisp/lib/rdb/pkg.lisp Sat Dec 30 23:07:46 2023 -0500
1.3@@ -7,8 +7,6 @@
1.4 ;; Commentary:
1.5
1.6 ;; Code:
1.7-(rocksdb:load-rocksdb :save t)
1.8-
1.9 (defpackage :rdb
1.10 (:use :cl :std :rocksdb :sb-alien)
1.11 (:import-from :sb-ext :string-to-octets :octets-to-string)
1.12@@ -66,3 +64,6 @@
1.13 ;; macs
1.14 :with-db
1.15 :with-cf))
1.16+
1.17+(in-package :rdb)
1.18+(rocksdb:load-rocksdb t)
2.1--- a/rust/app/cli/alik/main.rs Sat Dec 30 20:50:15 2023 -0500
2.2+++ b/rust/app/cli/alik/main.rs Sat Dec 30 23:07:46 2023 -0500
2.3@@ -3,23 +3,22 @@
2.4 //// Code:
2.5 use net::axum::http::{HeaderMap, StatusCode};
2.6 use net::axum::{
2.7- body::{Body, Bytes},
2.8+ body::Body,
2.9 extract::State,
2.10 http::{HeaderName, HeaderValue},
2.11 response::{IntoResponse,Response},
2.12- // routing::get,
2.13- Router,
2.14 };
2.15 use logger::log;
2.16 use net::reqwest::Client;
2.17 use net::stream::StreamExt;
2.18 use clap::{Parser, Subcommand};
2.19-use krypt::{keyutils::keytypes, ks, ss, KryptConfig};
2.20-use logger::{debug, info, trace, warn, Logger};
2.21-use obj::Objective;
2.22+
2.23+use logger::{trace, Logger};
2.24+
2.25 use std::path::PathBuf;
2.26 use std::{convert::Infallible, time::Duration};
2.27 use util::{cli::log_level_str_from_cli, Result};
2.28+
2.29 //// Server
2.30 async fn proxy_via_reqwest(State(client): State<Client>) -> Response {
2.31 let reqwest_response = match client.get("http://127.0.0.1:3000/stream").send().await {
2.32@@ -63,9 +62,6 @@
2.33 /// Set the default config file
2.34 #[arg(short, long, env = "ALIK_CONFIG_FILE")]
2.35 cfg: Option<PathBuf>,
2.36- /// Set a user for this command
2.37- #[arg(short, long, env = "USER")]
2.38- user: Option<String>,
2.39 /// Set log level
2.40 #[arg(short, long, action = clap::ArgAction::Count)]
2.41 level: u8,
2.42@@ -107,7 +103,7 @@
2.43 if let Some(cmd) = args.cmd {
2.44 match cmd {
2.45 Cmd::Start {} => Ok(()),
2.46- Cmd::Show { kind } => Ok(()),
2.47+ Cmd::Show { kind: _ } => Ok(()),
2.48 }
2.49 }else {
2.50 Ok(())
3.1--- a/rust/app/cli/cc-init/main.rs Sat Dec 30 20:50:15 2023 -0500
3.2+++ b/rust/app/cli/cc-init/main.rs Sat Dec 30 23:07:46 2023 -0500
3.3@@ -12,6 +12,8 @@
3.4 ")"
3.5 );
3.6
3.7+pub const PACKY_ROOT: &str = "https://packy.compiler.company/";
3.8+
3.9 #[derive(Debug, Parser)]
3.10 #[command(name="cc-init",author, version=env!("CORE_VERSION"), about=ABOUT)]
3.11 struct Cli {
3.12@@ -43,6 +45,6 @@
3.13 println!("Welcome to The Compiler Company.");
3.14 // dl("http://google.com", "dl")?;
3.15 info!("detecting system...");
3.16-
3.17+
3.18 Ok(())
3.19 }
4.1--- a/rust/lib/net/Cargo.toml Sat Dec 30 20:50:15 2023 -0500
4.2+++ b/rust/lib/net/Cargo.toml Sat Dec 30 23:07:46 2023 -0500
4.3@@ -38,7 +38,7 @@
4.4 hyper = { version = "1.1", optional = true }
4.5 hyper-rustls = {version = "0.24", optional = true}
4.6 urlencoding = { version = "2.1", optional = true}
4.7-reqwest = {version = "0.11", features = ["json", "socks", "rustls-tls"], optional = true}
4.8+reqwest = {version = "0.11", features = ["json", "socks", "rustls-tls", "stream"], optional = true}
4.9 axum = {version = "0.7.3", optional = true, features = ["tracing", "macros"] }
4.10 headers = {version = "0.4", optional = true}
4.11 mime = {version = "0.3.17", optional = true}