repo stringlengths 6 65 | file_url stringlengths 81 311 | file_path stringlengths 6 227 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:31:58 2026-01-04 20:25:31 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
paulstansifer/unseemly | https://github.com/paulstansifer/unseemly/blob/dd1f55be7b09b741a25af954c7a902eeac00a0c2/src/core_type_forms.rs | src/core_type_forms.rs | // The type theory for Unseemly
// is largely swiped from the "Types and Programming Languages" by Pierce.
// I've agressively copied the formally-elegant but non-ergonomic theory
// whenever I think that the ergonomic way of doing things is just syntax sugar over it.
// After all, syntax sugar is the point of Unseem... | rust | MIT | dd1f55be7b09b741a25af954c7a902eeac00a0c2 | 2026-01-04T20:20:52.848824Z | false |
paulstansifer/unseemly | https://github.com/paulstansifer/unseemly/blob/dd1f55be7b09b741a25af954c7a902eeac00a0c2/src/grammar.rs | src/grammar.rs | #![macro_use]
use crate::{
ast::Ast,
beta::{Beta, ExportBeta},
form::Form,
name::*,
runtime::{eval::Value, reify},
util::assoc::Assoc,
};
use std::{boxed::Box, clone::Clone, rc::Rc};
custom_derive! {
/// `FormPat` defines a pattern in a grammar. Think EBNF, but more extended.
/// Most... | rust | MIT | dd1f55be7b09b741a25af954c7a902eeac00a0c2 | 2026-01-04T20:20:52.848824Z | false |
paulstansifer/unseemly | https://github.com/paulstansifer/unseemly/blob/dd1f55be7b09b741a25af954c7a902eeac00a0c2/src/core_forms.rs | src/core_forms.rs | // This virtual machine kills cyber-fascists.
use crate::{
ast::*,
ast_walk::{LazyWalkReses, WalkRule::*},
core_type_forms::*,
form::Form,
grammar::{
FormPat::{self, *},
SynEnv,
},
name::*,
runtime::eval::*,
ty::*,
util::assoc::Assoc,
};
use std::rc::Rc; // type ... | rust | MIT | dd1f55be7b09b741a25af954c7a902eeac00a0c2 | 2026-01-04T20:20:52.848824Z | true |
paulstansifer/unseemly | https://github.com/paulstansifer/unseemly/blob/dd1f55be7b09b741a25af954c7a902eeac00a0c2/src/alpha.rs | src/alpha.rs | // Alpha-equivalence utilities.
// Based on https://repository.library.northeastern.edu/files/neu:cj82mb52h
// `freshen` gets a value ready for destructuring.
// `freshen_rec` gets a value and its pattern ready for destructuring.
use crate::{
ast::{Ast, AstContents::*},
name::*,
util::{assoc::Assoc, mbe::... | rust | MIT | dd1f55be7b09b741a25af954c7a902eeac00a0c2 | 2026-01-04T20:20:52.848824Z | false |
paulstansifer/unseemly | https://github.com/paulstansifer/unseemly/blob/dd1f55be7b09b741a25af954c7a902eeac00a0c2/src/earley.rs | src/earley.rs | #![allow(non_upper_case_globals)]
// An Earley parser!
// Partly based on advice from http://loup-vaillant.fr/tutorials/earley-parsing/.
// Partly based on https://arxiv.org/abs/1102.2003
// (though I'll save you the trouble of reading that one:
// it can be summed up as "Just add the current grammar to the Earley... | rust | MIT | dd1f55be7b09b741a25af954c7a902eeac00a0c2 | 2026-01-04T20:20:52.848824Z | true |
paulstansifer/unseemly | https://github.com/paulstansifer/unseemly/blob/dd1f55be7b09b741a25af954c7a902eeac00a0c2/src/form.rs | src/form.rs | #![macro_use]
use crate::{
ast_walk::WalkRule, grammar::FormPat, name::*, util::assoc::Assoc, walk_mode::WalkMode,
};
use std::{
fmt::{Debug, Error, Formatter},
rc::Rc,
};
pub type NMap<T> = Assoc<Name, T>;
/// "BiDirectionalWalkRule": a walk rule, abstracted over whether the walk is positive or negative... | rust | MIT | dd1f55be7b09b741a25af954c7a902eeac00a0c2 | 2026-01-04T20:20:52.848824Z | false |
paulstansifer/unseemly | https://github.com/paulstansifer/unseemly/blob/dd1f55be7b09b741a25af954c7a902eeac00a0c2/src/cli.rs | src/cli.rs | #![allow(non_snake_case)]
use std::{fs::File, io::Read, path::Path};
use libunseemly::{
ast,
ast::Ast,
core_forms, expand, grammar,
name::{n, Name},
runtime::{core_values, eval, eval::Value},
ty, ty_compare,
util::assoc::Assoc,
};
use std::{borrow::Cow, cell::RefCell, io::BufRead};
thread... | rust | MIT | dd1f55be7b09b741a25af954c7a902eeac00a0c2 | 2026-01-04T20:20:52.848824Z | false |
paulstansifer/unseemly | https://github.com/paulstansifer/unseemly/blob/dd1f55be7b09b741a25af954c7a902eeac00a0c2/src/subtype.rs | src/subtype.rs | use crate::{
ast::{
Ast,
AstContents::{Atom, Node, Shape, VariableReference},
},
ast_walk::{walk, LazyWalkReses, WalkRule},
form::Form,
name::{n, Name},
ty::TypeError,
util::assoc::Assoc,
walk_mode::{NegativeWalkMode, WalkMode},
};
custom_derive! {
#[derive(Copy, Clo... | rust | MIT | dd1f55be7b09b741a25af954c7a902eeac00a0c2 | 2026-01-04T20:20:52.848824Z | false |
paulstansifer/unseemly | https://github.com/paulstansifer/unseemly/blob/dd1f55be7b09b741a25af954c7a902eeac00a0c2/src/beta.rs | src/beta.rs | #![macro_use]
use crate::{
alpha::Ren,
ast::{Ast, Atom, ExtendEnv, Node, QuoteLess, QuoteMore},
ast_walk::LazyWalkReses,
name::*,
util::{assoc::Assoc, mbe::EnvMBE},
walk_mode::WalkElt,
};
use std::fmt;
custom_derive! {
/**
`Beta`s are always tied to a particular `Form`,
and they h... | rust | MIT | dd1f55be7b09b741a25af954c7a902eeac00a0c2 | 2026-01-04T20:20:52.848824Z | false |
paulstansifer/unseemly | https://github.com/paulstansifer/unseemly/blob/dd1f55be7b09b741a25af954c7a902eeac00a0c2/src/core_extra_forms.rs | src/core_extra_forms.rs | use crate::{
ast::{Ast, AstContents::*},
ast_walk::{LazyWalkReses, WalkRule::*},
core_type_forms::get__primitive_type,
grammar::FormPat,
name::*,
runtime::eval::Value,
util::mbe::EnvMBE,
};
use std::rc::Rc;
pub fn extend__capture_language(
pc: crate::earley::ParseContext,
_starter_i... | rust | MIT | dd1f55be7b09b741a25af954c7a902eeac00a0c2 | 2026-01-04T20:20:52.848824Z | false |
paulstansifer/unseemly | https://github.com/paulstansifer/unseemly/blob/dd1f55be7b09b741a25af954c7a902eeac00a0c2/src/highlighter_generation.rs | src/highlighter_generation.rs | use crate::{earley::parse, grammar::SynEnv};
pub fn ace_rules(se: &SynEnv) -> String {
let mut categories = vec![];
let mut keyword_operators = vec![];
for (_, nt_grammar) in se.iter_pairs() {
// Separate "keyword.operator" out; there are so many of them.
// TODO: The principled thing to do... | rust | MIT | dd1f55be7b09b741a25af954c7a902eeac00a0c2 | 2026-01-04T20:20:52.848824Z | false |
paulstansifer/unseemly | https://github.com/paulstansifer/unseemly/blob/dd1f55be7b09b741a25af954c7a902eeac00a0c2/src/unparse.rs | src/unparse.rs | use crate::{
ast::{Ast, AstContents, AstContents::*},
grammar::{
FormPat::{self, *},
SynEnv,
},
name::*,
util::mbe::EnvMBE,
};
fn node_names_mentioned(pat: &FormPat) -> Vec<Name> {
match *pat {
Named(n, ref body) => {
let mut res = node_names_mentioned(&*body... | rust | MIT | dd1f55be7b09b741a25af954c7a902eeac00a0c2 | 2026-01-04T20:20:52.848824Z | false |
paulstansifer/unseemly | https://github.com/paulstansifer/unseemly/blob/dd1f55be7b09b741a25af954c7a902eeac00a0c2/src/name.rs | src/name.rs | #![macro_use]
use std::{
cell::RefCell,
collections::{HashMap, HashSet},
fmt,
string::String,
};
/// An interned, freshenable identifier.
/// Generally, one creates names with `n()` (short for `Name::global()`);
/// two names created this way with the same spelling will be treated as the same name.
/... | rust | MIT | dd1f55be7b09b741a25af954c7a902eeac00a0c2 | 2026-01-04T20:20:52.848824Z | false |
paulstansifer/unseemly | https://github.com/paulstansifer/unseemly/blob/dd1f55be7b09b741a25af954c7a902eeac00a0c2/src/read.rs | src/read.rs | // TODO: This file should be absorbed into `grammar.rs`.
custom_derive! {
#[derive(Debug,PartialEq,Eq,Clone,Copy,Reifiable)]
pub enum DelimChar { Paren, SquareBracket, CurlyBracket }
}
impl DelimChar {
pub fn open(self) -> char {
match self {
Paren => '(',
SquareBracket => ... | rust | MIT | dd1f55be7b09b741a25af954c7a902eeac00a0c2 | 2026-01-04T20:20:52.848824Z | false |
paulstansifer/unseemly | https://github.com/paulstansifer/unseemly/blob/dd1f55be7b09b741a25af954c7a902eeac00a0c2/src/ty.rs | src/ty.rs | // Type synthesis is a recursive traversal of an abstract syntax tree.
// It is compositional,
// except for binding, which is indicated by ExtendTypeEnv nodes.
// These nodes may depend on
// the result of type-synthesizing sibling AST nodes
// or the actual value of AST nodes corresponding to types
// (i.e., typ... | rust | MIT | dd1f55be7b09b741a25af954c7a902eeac00a0c2 | 2026-01-04T20:20:52.848824Z | false |
paulstansifer/unseemly | https://github.com/paulstansifer/unseemly/blob/dd1f55be7b09b741a25af954c7a902eeac00a0c2/src/core_qq_forms.rs | src/core_qq_forms.rs | use crate::{
ast,
ast::{Ast, AstContents::*},
ast_walk::WalkRule::*,
core_type_forms::{less_quoted_ty, more_quoted_ty, nt_is_positive, nt_to_type},
form::{Both, Form, Negative, Positive},
grammar::FormPat,
name::*,
runtime::eval::{Destructure, Eval, QQuote, QQuoteDestr},
util::assoc:... | rust | MIT | dd1f55be7b09b741a25af954c7a902eeac00a0c2 | 2026-01-04T20:20:52.848824Z | true |
paulstansifer/unseemly | https://github.com/paulstansifer/unseemly/blob/dd1f55be7b09b741a25af954c7a902eeac00a0c2/src/main.rs | src/main.rs | // Unseemly is a "core" typed language with (typed!) macros.
// You shouldn't write code in Unseemly.
// Instead, you should implement your programming language as Unseemly macros.
#![allow(dead_code, unused_macros, non_snake_case, non_upper_case_globals, deprecated)]
// dead_code and unused_macros are hopefully tempo... | rust | MIT | dd1f55be7b09b741a25af954c7a902eeac00a0c2 | 2026-01-04T20:20:52.848824Z | false |
paulstansifer/unseemly | https://github.com/paulstansifer/unseemly/blob/dd1f55be7b09b741a25af954c7a902eeac00a0c2/src/end_to_end__tests.rs | src/end_to_end__tests.rs | use crate::{
ast::Ast,
core_forms, eval_unseemly_program_top, expand, grammar,
name::{n, Name},
runtime::{core_values, eval, eval::Value},
ty, type_unseemly_program_top,
util::assoc::Assoc,
};
use std::cell::RefCell;
// HACK: the non-test code in here is copied from `cli.rs`.
thread_local! {
... | rust | MIT | dd1f55be7b09b741a25af954c7a902eeac00a0c2 | 2026-01-04T20:20:52.848824Z | false |
paulstansifer/unseemly | https://github.com/paulstansifer/unseemly/blob/dd1f55be7b09b741a25af954c7a902eeac00a0c2/src/core_macro_forms.rs | src/core_macro_forms.rs | use crate::{
ast,
ast::Ast,
ast_walk::{
LazyWalkReses,
WalkRule::{Body, LiteralLike, NotWalked},
},
beta::{Beta, Beta::*, ExportBeta},
core_forms::{strip_ee, strip_ql},
core_type_forms::{less_quoted_ty, more_quoted_ty},
form::{EitherPN::*, Form},
grammar::{
Fo... | rust | MIT | dd1f55be7b09b741a25af954c7a902eeac00a0c2 | 2026-01-04T20:20:52.848824Z | true |
paulstansifer/unseemly | https://github.com/paulstansifer/unseemly/blob/dd1f55be7b09b741a25af954c7a902eeac00a0c2/src/ast_walk.rs | src/ast_walk.rs | // A lot of language implementation consists of walking an `Ast` while maintaining an environment.
//
// Our `Ast`s have baked-in information about
// what should happen environment-wise,
// so `walk` processes `ExtendEnv` and `VariableReference` on its own.
// When it reaches a `Node`, the `Form` of that node speci... | rust | MIT | dd1f55be7b09b741a25af954c7a902eeac00a0c2 | 2026-01-04T20:20:52.848824Z | true |
paulstansifer/unseemly | https://github.com/paulstansifer/unseemly/blob/dd1f55be7b09b741a25af954c7a902eeac00a0c2/src/util/assoc.rs | src/util/assoc.rs | use crate::runtime::reify::Reifiable;
use std::{clone::Clone, fmt, hash::Hash, rc::Rc};
extern crate im_rc;
use self::im_rc::HashMap;
thread_local! {
static next_id: std::cell::RefCell<u32> = std::cell::RefCell::new(0);
}
fn get_next_id() -> u32 {
next_id.with(|id| {
let res = *id.borrow();
... | rust | MIT | dd1f55be7b09b741a25af954c7a902eeac00a0c2 | 2026-01-04T20:20:52.848824Z | false |
paulstansifer/unseemly | https://github.com/paulstansifer/unseemly/blob/dd1f55be7b09b741a25af954c7a902eeac00a0c2/src/util/mbe.rs | src/util/mbe.rs | #![macro_use]
// March By Example: a user-friendly way to handle named subterms under Kleene stars,
// expressed through a special kind of environment.
// This is intended to organize the subterms of an `Ast` node.
// Using this as the evaluation environment of a program is probably interesting,
// but not necessari... | rust | MIT | dd1f55be7b09b741a25af954c7a902eeac00a0c2 | 2026-01-04T20:20:52.848824Z | true |
paulstansifer/unseemly | https://github.com/paulstansifer/unseemly/blob/dd1f55be7b09b741a25af954c7a902eeac00a0c2/src/util/asterism.rs | src/util/asterism.rs | use std::{fmt, iter::Iterator};
// An `Asterism` is a tree with an arbirary arity at each node,
// but all leaves are at the same depth.
// This structure arises from parsing under Kleene stars; each star correspons to a level of nodes.
// [ ] <- 2 children
// [ ... | rust | MIT | dd1f55be7b09b741a25af954c7a902eeac00a0c2 | 2026-01-04T20:20:52.848824Z | false |
paulstansifer/unseemly | https://github.com/paulstansifer/unseemly/blob/dd1f55be7b09b741a25af954c7a902eeac00a0c2/src/util/err.rs | src/util/err.rs | use codespan_reporting::{
diagnostic::{Diagnostic, Label},
term::termcolor::{Ansi, ColorChoice, StandardStream, WriteColor},
};
use std::fmt::{Debug, Display, Formatter, Result};
custom_derive! {
#[derive(Reifiable, Clone, PartialEq)]
pub struct Spanned<T> {
// The actual contents are ignored; ... | rust | MIT | dd1f55be7b09b741a25af954c7a902eeac00a0c2 | 2026-01-04T20:20:52.848824Z | false |
paulstansifer/unseemly | https://github.com/paulstansifer/unseemly/blob/dd1f55be7b09b741a25af954c7a902eeac00a0c2/src/util/mod.rs | src/util/mod.rs | pub mod assoc;
pub mod asterism;
pub mod err;
pub mod mbe;
pub mod sky;
pub mod vrep;
| rust | MIT | dd1f55be7b09b741a25af954c7a902eeac00a0c2 | 2026-01-04T20:20:52.848824Z | false |
paulstansifer/unseemly | https://github.com/paulstansifer/unseemly/blob/dd1f55be7b09b741a25af954c7a902eeac00a0c2/src/util/sky.rs | src/util/sky.rs | use crate::{
name::Name,
util::{
assoc::Assoc,
asterism::{AsterMarchable, Asterism, AsterismSlice},
},
};
use std::iter::Iterator;
type Sky<T> = Assoc<Name, Asterism<T>>;
/// `SkySlice` isn't a slice itself,
/// so we can't pull the same trick we pulled with `AsterismSlice`.
/// (Maybe ren... | rust | MIT | dd1f55be7b09b741a25af954c7a902eeac00a0c2 | 2026-01-04T20:20:52.848824Z | false |
paulstansifer/unseemly | https://github.com/paulstansifer/unseemly/blob/dd1f55be7b09b741a25af954c7a902eeac00a0c2/src/util/vrep.rs | src/util/vrep.rs | use crate::{
name::{n, Name},
runtime::reify::Reifiable,
};
use std::iter::FromIterator;
custom_derive! {
#[derive(Clone, PartialEq, Eq, Debug, Reifiable)]
pub enum VRepElt<T> {
Single(T),
Rep(T, Vec<Name>),
}
}
impl<T> VRepElt<T> {
pub fn map<'a, U, F>(&'a self, f: &mut F) -> ... | rust | MIT | dd1f55be7b09b741a25af954c7a902eeac00a0c2 | 2026-01-04T20:20:52.848824Z | false |
paulstansifer/unseemly | https://github.com/paulstansifer/unseemly/blob/dd1f55be7b09b741a25af954c7a902eeac00a0c2/src/macros/flimsy_syntax.rs | src/macros/flimsy_syntax.rs | #![macro_use]
// For testing purposes, we want to generate valid `Ast`s,
// but `ast!` is clunky and makes it *super* easy to leave off `Quote*` and `ExtendEnv`
// and actually running the parser is a big dependency (and requires huge string literals).
// so we introduce a `u!` macro that looks up forms but infers ... | rust | MIT | dd1f55be7b09b741a25af954c7a902eeac00a0c2 | 2026-01-04T20:20:52.848824Z | false |
paulstansifer/unseemly | https://github.com/paulstansifer/unseemly/blob/dd1f55be7b09b741a25af954c7a902eeac00a0c2/src/macros/reification_macros.rs | src/macros/reification_macros.rs | #![macro_use]
// This isn't as bad as it looks.
// I mean, it's pretty bad, don't get me wrong...
//
// The purpose is to generate `Reifiable` `impl`s
// for any `enum` or `struct`.
//
// Basically, `reify` pattern-matches to destructure the actual Rust value,
// and then constructs a `Value` of the corresponding sh... | rust | MIT | dd1f55be7b09b741a25af954c7a902eeac00a0c2 | 2026-01-04T20:20:52.848824Z | false |
paulstansifer/unseemly | https://github.com/paulstansifer/unseemly/blob/dd1f55be7b09b741a25af954c7a902eeac00a0c2/src/macros/macros.rs | src/macros/macros.rs | #![macro_use]
// TODO: use a real logging framework
macro_rules! log {
($($e:expr),*) => {
// print!( $($e),* );
};
}
macro_rules! icp {
() => {
panic!("ICP: can't happen")
};
( $($arg:expr),* ) => {
panic!("ICP: {}", format!( $($arg),* ) )
};
}
// Assoc
macro_rules! ... | rust | MIT | dd1f55be7b09b741a25af954c7a902eeac00a0c2 | 2026-01-04T20:20:52.848824Z | false |
paulstansifer/unseemly | https://github.com/paulstansifer/unseemly/blob/dd1f55be7b09b741a25af954c7a902eeac00a0c2/src/macros/mod.rs | src/macros/mod.rs | #![macro_use]
pub mod flimsy_syntax;
pub mod macros;
pub mod reification_macros;
| rust | MIT | dd1f55be7b09b741a25af954c7a902eeac00a0c2 | 2026-01-04T20:20:52.848824Z | false |
paulstansifer/unseemly | https://github.com/paulstansifer/unseemly/blob/dd1f55be7b09b741a25af954c7a902eeac00a0c2/src/runtime/reify.rs | src/runtime/reify.rs | // Designed for `use reify::*`
pub use crate::{ast::Ast, name::*, runtime::eval::Value};
use crate::runtime::eval;
use num::bigint::BigInt;
use std::rc::Rc;
/// This is for parts of this compiler that need to be represented as object-level values.
/// Almost all of it, turns out!
///
/// Since this language is exten... | rust | MIT | dd1f55be7b09b741a25af954c7a902eeac00a0c2 | 2026-01-04T20:20:52.848824Z | false |
paulstansifer/unseemly | https://github.com/paulstansifer/unseemly/blob/dd1f55be7b09b741a25af954c7a902eeac00a0c2/src/runtime/core_values.rs | src/runtime/core_values.rs | use crate::{
ast::Ast,
core_type_forms::get__primitive_type,
name::*,
runtime::eval::{
apply__function_value, eval,
Value::{self, *},
BIF,
},
util::assoc::Assoc,
};
use std::rc::Rc;
use num::{BigInt, ToPrimitive};
#[derive(Debug, Clone, PartialEq)]
pub struct TypedValue... | rust | MIT | dd1f55be7b09b741a25af954c7a902eeac00a0c2 | 2026-01-04T20:20:52.848824Z | false |
paulstansifer/unseemly | https://github.com/paulstansifer/unseemly/blob/dd1f55be7b09b741a25af954c7a902eeac00a0c2/src/runtime/mod.rs | src/runtime/mod.rs | pub mod core_values;
pub mod eval;
pub mod reify;
| rust | MIT | dd1f55be7b09b741a25af954c7a902eeac00a0c2 | 2026-01-04T20:20:52.848824Z | false |
paulstansifer/unseemly | https://github.com/paulstansifer/unseemly/blob/dd1f55be7b09b741a25af954c7a902eeac00a0c2/src/runtime/eval.rs | src/runtime/eval.rs | #![macro_use]
use crate::{
ast::Ast,
ast_walk::{walk, LazyWalkReses, WalkRule},
form::Form,
name::*,
util::assoc::Assoc,
walk_mode::{NegativeWalkMode, WalkMode},
};
use num::bigint::BigInt;
use std::{self, rc::Rc};
/// Values in Unseemly.
#[derive(Debug, Clone, PartialEq)]
pub enum Value {
... | rust | MIT | dd1f55be7b09b741a25af954c7a902eeac00a0c2 | 2026-01-04T20:20:52.848824Z | false |
nikolaizombie1/waytrogen | https://github.com/nikolaizombie1/waytrogen/blob/b2cb8bedd81034cc410e5dd8b75cc51ce22b028f/src/swaybg.rs | src/swaybg.rs | use crate::{common::RGB, wallpaper_changers::WallpaperChangers};
use gettextrs::gettext;
use gtk::{
gdk::RGBA,
gio::Settings,
glib::{self, clone},
prelude::*,
Align, Box, ColorDialog, ColorDialogButton, DropDown, TextBuffer,
};
use log::debug;
use std::{path::Path, process::Command};
pub fn change_... | rust | Unlicense | b2cb8bedd81034cc410e5dd8b75cc51ce22b028f | 2026-01-04T20:19:54.748529Z | false |
nikolaizombie1/waytrogen | https://github.com/nikolaizombie1/waytrogen/blob/b2cb8bedd81034cc410e5dd8b75cc51ce22b028f/src/lib.rs | src/lib.rs | pub mod cli;
pub mod common;
pub mod database;
pub mod dotfile;
pub mod fs;
pub mod hyprpaper;
pub mod main_window;
pub mod mpvpaper;
pub mod swaybg;
pub mod swww;
pub mod ui_common;
pub mod wallpaper_changers;
| rust | Unlicense | b2cb8bedd81034cc410e5dd8b75cc51ce22b028f | 2026-01-04T20:19:54.748529Z | false |
nikolaizombie1/waytrogen | https://github.com/nikolaizombie1/waytrogen/blob/b2cb8bedd81034cc410e5dd8b75cc51ce22b028f/src/fs.rs | src/fs.rs | use crate::{common::sort_by_sort_dropdown_string, wallpaper_changers::WallpaperChangers};
use std::path::PathBuf;
#[must_use]
pub fn get_image_files(
path: &str,
sort_dropdown: &str,
invert_sort_switch_state: bool,
) -> Vec<PathBuf> {
let mut files = walkdir::WalkDir::new(path).follow_links(true).follow... | rust | Unlicense | b2cb8bedd81034cc410e5dd8b75cc51ce22b028f | 2026-01-04T20:19:54.748529Z | false |
nikolaizombie1/waytrogen | https://github.com/nikolaizombie1/waytrogen/blob/b2cb8bedd81034cc410e5dd8b75cc51ce22b028f/src/wallpaper_changers.rs | src/wallpaper_changers.rs | use crate::{
common::RGB, hyprpaper::change_hyprpaper_wallpaper, mpvpaper::change_mpvpaper_wallpaper,
swaybg::change_swaybg_wallpaper, swww::change_swww_wallpaper,
};
use lazy_static::lazy_static;
use regex::Regex;
use serde::{Deserialize, Serialize};
use std::{fmt::Display, path::PathBuf, process::Command, str... | rust | Unlicense | b2cb8bedd81034cc410e5dd8b75cc51ce22b028f | 2026-01-04T20:19:54.748529Z | false |
nikolaizombie1/waytrogen | https://github.com/nikolaizombie1/waytrogen/blob/b2cb8bedd81034cc410e5dd8b75cc51ce22b028f/src/cli.rs | src/cli.rs | use crate::{
common::{
parse_executable_script, sort_by_sort_dropdown_string, Wallpaper, APP_ID, APP_VERSION,
CACHE_FILE_NAME, CONFIG_APP_NAME, GETTEXT_DOMAIN,
},
main_window::build_ui,
ui_common::{gschema_string_to_string, string_to_gschema_string, SORT_DROPDOWN_STRINGS},
wallpaper_... | rust | Unlicense | b2cb8bedd81034cc410e5dd8b75cc51ce22b028f | 2026-01-04T20:19:54.748529Z | false |
nikolaizombie1/waytrogen | https://github.com/nikolaizombie1/waytrogen/blob/b2cb8bedd81034cc410e5dd8b75cc51ce22b028f/src/dotfile.rs | src/dotfile.rs | use crate::common::{
get_config_file_path, parse_executable_script, Wallpaper, APP_ID,
};
use anyhow::anyhow;
use gettextrs::gettext;
use log::{error, trace, warn};
use serde::{Deserialize, Serialize};
use std::{
fs::{remove_file, OpenOptions},
io::{Read, Write},
};
use gtk::{gio::Settings, prelude::*};
#... | rust | Unlicense | b2cb8bedd81034cc410e5dd8b75cc51ce22b028f | 2026-01-04T20:19:54.748529Z | false |
nikolaizombie1/waytrogen | https://github.com/nikolaizombie1/waytrogen/blob/b2cb8bedd81034cc410e5dd8b75cc51ce22b028f/src/ui_common.rs | src/ui_common.rs | use crate::{
common::{CacheImageFile, GtkPictureFile, RGB},
database::DatabaseConnection,
fs::get_image_files,
mpvpaper::generate_mpvpaper_changer_bar,
swaybg::generate_swaybg_changer_bar,
swww::generate_swww_changer_bar,
wallpaper_changers::{
MpvPaperPauseModes, MpvPaperSlideshowSet... | rust | Unlicense | b2cb8bedd81034cc410e5dd8b75cc51ce22b028f | 2026-01-04T20:19:54.748529Z | false |
nikolaizombie1/waytrogen | https://github.com/nikolaizombie1/waytrogen/blob/b2cb8bedd81034cc410e5dd8b75cc51ce22b028f/src/database.rs | src/database.rs | use crate::common::{CacheImageFile, CACHE_FILE_NAME, CONFIG_APP_NAME};
use anyhow::anyhow;
use gettextrs::gettext;
use log::{debug, trace, warn};
use rusqlite::{Connection, Result};
use std::path::Path;
pub struct DatabaseConnection {
connetion: Connection,
}
impl DatabaseConnection {
fn new() -> anyhow::Resu... | rust | Unlicense | b2cb8bedd81034cc410e5dd8b75cc51ce22b028f | 2026-01-04T20:19:54.748529Z | false |
nikolaizombie1/waytrogen | https://github.com/nikolaizombie1/waytrogen/blob/b2cb8bedd81034cc410e5dd8b75cc51ce22b028f/src/main.rs | src/main.rs | use clap::Parser;
use gtk::glib;
use log::error;
use std::{thread::sleep, time::Duration};
use waytrogen::{
cli::{
cycle_next_wallpaper, delete_image_cache, launch_application, print_app_version,
print_wallpaper_state, restore_wallpapers, set_random_wallpapers, Cli,
},
dotfile::{self, get_co... | rust | Unlicense | b2cb8bedd81034cc410e5dd8b75cc51ce22b028f | 2026-01-04T20:19:54.748529Z | false |
nikolaizombie1/waytrogen | https://github.com/nikolaizombie1/waytrogen/blob/b2cb8bedd81034cc410e5dd8b75cc51ce22b028f/src/common.rs | src/common.rs | use gtk::{glib::SignalHandlerId, Picture};
use image::ImageReader;
use lazy_static::lazy_static;
use log::trace;
use regex::Regex;
use serde::{Deserialize, Serialize};
use std::{
cell::RefCell,
fmt::Display,
io::Cursor,
os::unix::fs::PermissionsExt,
path::{Path, PathBuf},
process::Command,
s... | rust | Unlicense | b2cb8bedd81034cc410e5dd8b75cc51ce22b028f | 2026-01-04T20:19:54.748529Z | false |
nikolaizombie1/waytrogen | https://github.com/nikolaizombie1/waytrogen/blob/b2cb8bedd81034cc410e5dd8b75cc51ce22b028f/src/main_window.rs | src/main_window.rs | use crate::{
cli::Cli,
common::{
CacheImageFile, GtkPictureFile, Wallpaper, APP_ID, THUMBNAIL_HEIGHT, THUMBNAIL_WIDTH,
},
ui_common::{
change_image_button_handlers, compare_image_list_items_by_sort_selection_comparitor,
generate_changer_bar, generate_image_files, get_available_mo... | rust | Unlicense | b2cb8bedd81034cc410e5dd8b75cc51ce22b028f | 2026-01-04T20:19:54.748529Z | true |
nikolaizombie1/waytrogen | https://github.com/nikolaizombie1/waytrogen/blob/b2cb8bedd81034cc410e5dd8b75cc51ce22b028f/src/hyprpaper.rs | src/hyprpaper.rs | use gettextrs::gettext;
use log::{debug, error, warn};
use std::{path::Path, process::Command, thread, time::Duration};
use which::which;
pub fn change_hyprpaper_wallpaper(image: &Path, monitor: &str) {
debug!("Starting hyprpaper");
if !Command::new("pgrep")
.arg("hyprpaper")
.spawn()
.... | rust | Unlicense | b2cb8bedd81034cc410e5dd8b75cc51ce22b028f | 2026-01-04T20:19:54.748529Z | false |
nikolaizombie1/waytrogen | https://github.com/nikolaizombie1/waytrogen/blob/b2cb8bedd81034cc410e5dd8b75cc51ce22b028f/src/mpvpaper.rs | src/mpvpaper.rs | use crate::wallpaper_changers::{
MpvPaperPauseModes, MpvPaperSlideshowSettings, WallpaperChanger, WallpaperChangers,
};
use gettextrs::gettext;
use gtk::{
gio::Settings, glib::clone, prelude::*, Adjustment, Align, Box, DropDown, Entry, SpinButton,
StringObject, Switch, TextBuffer,
};
use std::{
path::{P... | rust | Unlicense | b2cb8bedd81034cc410e5dd8b75cc51ce22b028f | 2026-01-04T20:19:54.748529Z | false |
nikolaizombie1/waytrogen | https://github.com/nikolaizombie1/waytrogen/blob/b2cb8bedd81034cc410e5dd8b75cc51ce22b028f/src/swww.rs | src/swww.rs | use crate::{
common::RGB,
wallpaper_changers::{
SWWWScallingFilter, SWWWTransitionBezier, SWWWTransitionPosition, U32Enum,
WallpaperChangers,
},
};
use gettextrs::gettext;
use gtk::{
gdk::RGBA,
gio::Settings,
glib::{self, clone},
prelude::*,
Adjustment, Align, Box, Button... | rust | Unlicense | b2cb8bedd81034cc410e5dd8b75cc51ce22b028f | 2026-01-04T20:19:54.748529Z | false |
twosigma/fastfreeze | https://github.com/twosigma/fastfreeze/blob/af184605584c753ff13d37ffb9d349e2b9e381ad/src/consts.rs | src/consts.rs | // Copyright 2020 Two Sigma Investments, LP.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | rust | Apache-2.0 | af184605584c753ff13d37ffb9d349e2b9e381ad | 2026-01-04T20:21:09.129173Z | false |
twosigma/fastfreeze | https://github.com/twosigma/fastfreeze/blob/af184605584c753ff13d37ffb9d349e2b9e381ad/src/logger.rs | src/logger.rs | // Copyright 2020 Two Sigma Investments, LP.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | rust | Apache-2.0 | af184605584c753ff13d37ffb9d349e2b9e381ad | 2026-01-04T20:21:09.129173Z | false |
twosigma/fastfreeze | https://github.com/twosigma/fastfreeze/blob/af184605584c753ff13d37ffb9d349e2b9e381ad/src/filesystem.rs | src/filesystem.rs |
// Copyright 2020 Two Sigma Investments, LP.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... | rust | Apache-2.0 | af184605584c753ff13d37ffb9d349e2b9e381ad | 2026-01-04T20:21:09.129173Z | false |
twosigma/fastfreeze | https://github.com/twosigma/fastfreeze/blob/af184605584c753ff13d37ffb9d349e2b9e381ad/src/container.rs | src/container.rs | // Copyright 2020 Two Sigma Investments, LP.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | rust | Apache-2.0 | af184605584c753ff13d37ffb9d349e2b9e381ad | 2026-01-04T20:21:09.129173Z | false |
twosigma/fastfreeze | https://github.com/twosigma/fastfreeze/blob/af184605584c753ff13d37ffb9d349e2b9e381ad/src/signal.rs | src/signal.rs | // Copyright 2020 Two Sigma Investments, LP.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | rust | Apache-2.0 | af184605584c753ff13d37ffb9d349e2b9e381ad | 2026-01-04T20:21:09.129173Z | false |
twosigma/fastfreeze | https://github.com/twosigma/fastfreeze/blob/af184605584c753ff13d37ffb9d349e2b9e381ad/src/criu.rs | src/criu.rs | // Copyright 2020 Two Sigma Investments, LP.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | rust | Apache-2.0 | af184605584c753ff13d37ffb9d349e2b9e381ad | 2026-01-04T20:21:09.129173Z | false |
twosigma/fastfreeze | https://github.com/twosigma/fastfreeze/blob/af184605584c753ff13d37ffb9d349e2b9e381ad/src/lock.rs | src/lock.rs | // Copyright 2020 Two Sigma Investments, LP.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | rust | Apache-2.0 | af184605584c753ff13d37ffb9d349e2b9e381ad | 2026-01-04T20:21:09.129173Z | false |
twosigma/fastfreeze | https://github.com/twosigma/fastfreeze/blob/af184605584c753ff13d37ffb9d349e2b9e381ad/src/image_streamer.rs | src/image_streamer.rs | // Copyright 2020 Two Sigma Investments, LP.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | rust | Apache-2.0 | af184605584c753ff13d37ffb9d349e2b9e381ad | 2026-01-04T20:21:09.129173Z | false |
twosigma/fastfreeze | https://github.com/twosigma/fastfreeze/blob/af184605584c753ff13d37ffb9d349e2b9e381ad/src/util.rs | src/util.rs | // Copyright 2020 Two Sigma Investments, LP.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | rust | Apache-2.0 | af184605584c753ff13d37ffb9d349e2b9e381ad | 2026-01-04T20:21:09.129173Z | false |
twosigma/fastfreeze | https://github.com/twosigma/fastfreeze/blob/af184605584c753ff13d37ffb9d349e2b9e381ad/src/main.rs | src/main.rs | // Copyright 2020 Two Sigma Investments, LP.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | rust | Apache-2.0 | af184605584c753ff13d37ffb9d349e2b9e381ad | 2026-01-04T20:21:09.129173Z | false |
twosigma/fastfreeze | https://github.com/twosigma/fastfreeze/blob/af184605584c753ff13d37ffb9d349e2b9e381ad/src/metrics.rs | src/metrics.rs | // Copyright 2020 Two Sigma Investments, LP.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | rust | Apache-2.0 | af184605584c753ff13d37ffb9d349e2b9e381ad | 2026-01-04T20:21:09.129173Z | false |
twosigma/fastfreeze | https://github.com/twosigma/fastfreeze/blob/af184605584c753ff13d37ffb9d349e2b9e381ad/src/process/stderr_logger.rs | src/process/stderr_logger.rs | // Copyright 2020 Two Sigma Investments, LP.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | rust | Apache-2.0 | af184605584c753ff13d37ffb9d349e2b9e381ad | 2026-01-04T20:21:09.129173Z | false |
twosigma/fastfreeze | https://github.com/twosigma/fastfreeze/blob/af184605584c753ff13d37ffb9d349e2b9e381ad/src/process/command.rs | src/process/command.rs | // Copyright 2020 Two Sigma Investments, LP.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | rust | Apache-2.0 | af184605584c753ff13d37ffb9d349e2b9e381ad | 2026-01-04T20:21:09.129173Z | false |
twosigma/fastfreeze | https://github.com/twosigma/fastfreeze/blob/af184605584c753ff13d37ffb9d349e2b9e381ad/src/process/process.rs | src/process/process.rs | // Copyright 2020 Two Sigma Investments, LP.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | rust | Apache-2.0 | af184605584c753ff13d37ffb9d349e2b9e381ad | 2026-01-04T20:21:09.129173Z | false |
twosigma/fastfreeze | https://github.com/twosigma/fastfreeze/blob/af184605584c753ff13d37ffb9d349e2b9e381ad/src/process/spawn_with_pid.rs | src/process/spawn_with_pid.rs | // Copyright 2020 Two Sigma Investments, LP.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | rust | Apache-2.0 | af184605584c753ff13d37ffb9d349e2b9e381ad | 2026-01-04T20:21:09.129173Z | false |
twosigma/fastfreeze | https://github.com/twosigma/fastfreeze/blob/af184605584c753ff13d37ffb9d349e2b9e381ad/src/process/process_group.rs | src/process/process_group.rs | // Copyright 2020 Two Sigma Investments, LP.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | rust | Apache-2.0 | af184605584c753ff13d37ffb9d349e2b9e381ad | 2026-01-04T20:21:09.129173Z | false |
twosigma/fastfreeze | https://github.com/twosigma/fastfreeze/blob/af184605584c753ff13d37ffb9d349e2b9e381ad/src/process/error.rs | src/process/error.rs | // Copyright 2020 Two Sigma Investments, LP.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | rust | Apache-2.0 | af184605584c753ff13d37ffb9d349e2b9e381ad | 2026-01-04T20:21:09.129173Z | false |
twosigma/fastfreeze | https://github.com/twosigma/fastfreeze/blob/af184605584c753ff13d37ffb9d349e2b9e381ad/src/process/mod.rs | src/process/mod.rs | // Copyright 2020 Two Sigma Investments, LP.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | rust | Apache-2.0 | af184605584c753ff13d37ffb9d349e2b9e381ad | 2026-01-04T20:21:09.129173Z | false |
twosigma/fastfreeze | https://github.com/twosigma/fastfreeze/blob/af184605584c753ff13d37ffb9d349e2b9e381ad/src/process/monitor.rs | src/process/monitor.rs | // Copyright 2020 Two Sigma Investments, LP.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | rust | Apache-2.0 | af184605584c753ff13d37ffb9d349e2b9e381ad | 2026-01-04T20:21:09.129173Z | false |
twosigma/fastfreeze | https://github.com/twosigma/fastfreeze/blob/af184605584c753ff13d37ffb9d349e2b9e381ad/src/image/manifest.rs | src/image/manifest.rs | // Copyright 2020 Two Sigma Investments, LP.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | rust | Apache-2.0 | af184605584c753ff13d37ffb9d349e2b9e381ad | 2026-01-04T20:21:09.129173Z | false |
twosigma/fastfreeze | https://github.com/twosigma/fastfreeze/blob/af184605584c753ff13d37ffb9d349e2b9e381ad/src/image/shard.rs | src/image/shard.rs | // Copyright 2020 Two Sigma Investments, LP.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | rust | Apache-2.0 | af184605584c753ff13d37ffb9d349e2b9e381ad | 2026-01-04T20:21:09.129173Z | false |
twosigma/fastfreeze | https://github.com/twosigma/fastfreeze/blob/af184605584c753ff13d37ffb9d349e2b9e381ad/src/image/encryption.rs | src/image/encryption.rs | // Copyright 2020 Two Sigma Investments, LP.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | rust | Apache-2.0 | af184605584c753ff13d37ffb9d349e2b9e381ad | 2026-01-04T20:21:09.129173Z | false |
twosigma/fastfreeze | https://github.com/twosigma/fastfreeze/blob/af184605584c753ff13d37ffb9d349e2b9e381ad/src/image/mod.rs | src/image/mod.rs | // Copyright 2020 Two Sigma Investments, LP.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | rust | Apache-2.0 | af184605584c753ff13d37ffb9d349e2b9e381ad | 2026-01-04T20:21:09.129173Z | false |
twosigma/fastfreeze | https://github.com/twosigma/fastfreeze/blob/af184605584c753ff13d37ffb9d349e2b9e381ad/src/image/compression.rs | src/image/compression.rs | // Copyright 2020 Two Sigma Investments, LP.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | rust | Apache-2.0 | af184605584c753ff13d37ffb9d349e2b9e381ad | 2026-01-04T20:21:09.129173Z | false |
twosigma/fastfreeze | https://github.com/twosigma/fastfreeze/blob/af184605584c753ff13d37ffb9d349e2b9e381ad/src/virt/time.rs | src/virt/time.rs | // Copyright 2020 Two Sigma Investments, LP.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | rust | Apache-2.0 | af184605584c753ff13d37ffb9d349e2b9e381ad | 2026-01-04T20:21:09.129173Z | false |
twosigma/fastfreeze | https://github.com/twosigma/fastfreeze/blob/af184605584c753ff13d37ffb9d349e2b9e381ad/src/virt/mod.rs | src/virt/mod.rs | // Copyright 2020 Two Sigma Investments, LP.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | rust | Apache-2.0 | af184605584c753ff13d37ffb9d349e2b9e381ad | 2026-01-04T20:21:09.129173Z | false |
twosigma/fastfreeze | https://github.com/twosigma/fastfreeze/blob/af184605584c753ff13d37ffb9d349e2b9e381ad/src/store/gs.rs | src/store/gs.rs | // Copyright 2020 Two Sigma Investments, LP.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | rust | Apache-2.0 | af184605584c753ff13d37ffb9d349e2b9e381ad | 2026-01-04T20:21:09.129173Z | false |
twosigma/fastfreeze | https://github.com/twosigma/fastfreeze/blob/af184605584c753ff13d37ffb9d349e2b9e381ad/src/store/local.rs | src/store/local.rs | // Copyright 2020 Two Sigma Investments, LP.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | rust | Apache-2.0 | af184605584c753ff13d37ffb9d349e2b9e381ad | 2026-01-04T20:21:09.129173Z | false |
twosigma/fastfreeze | https://github.com/twosigma/fastfreeze/blob/af184605584c753ff13d37ffb9d349e2b9e381ad/src/store/s3.rs | src/store/s3.rs | // Copyright 2020 Two Sigma Investments, LP.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | rust | Apache-2.0 | af184605584c753ff13d37ffb9d349e2b9e381ad | 2026-01-04T20:21:09.129173Z | false |
twosigma/fastfreeze | https://github.com/twosigma/fastfreeze/blob/af184605584c753ff13d37ffb9d349e2b9e381ad/src/store/mod.rs | src/store/mod.rs | // Copyright 2020 Two Sigma Investments, LP.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | rust | Apache-2.0 | af184605584c753ff13d37ffb9d349e2b9e381ad | 2026-01-04T20:21:09.129173Z | false |
twosigma/fastfreeze | https://github.com/twosigma/fastfreeze/blob/af184605584c753ff13d37ffb9d349e2b9e381ad/src/cli/install.rs | src/cli/install.rs | // Copyright 2020 Two Sigma Investments, LP.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | rust | Apache-2.0 | af184605584c753ff13d37ffb9d349e2b9e381ad | 2026-01-04T20:21:09.129173Z | false |
twosigma/fastfreeze | https://github.com/twosigma/fastfreeze/blob/af184605584c753ff13d37ffb9d349e2b9e381ad/src/cli/wait.rs | src/cli/wait.rs | // Copyright 2020 Two Sigma Investments, LP.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | rust | Apache-2.0 | af184605584c753ff13d37ffb9d349e2b9e381ad | 2026-01-04T20:21:09.129173Z | false |
twosigma/fastfreeze | https://github.com/twosigma/fastfreeze/blob/af184605584c753ff13d37ffb9d349e2b9e381ad/src/cli/mod.rs | src/cli/mod.rs | // Copyright 2020 Two Sigma Investments, LP.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | rust | Apache-2.0 | af184605584c753ff13d37ffb9d349e2b9e381ad | 2026-01-04T20:21:09.129173Z | false |
twosigma/fastfreeze | https://github.com/twosigma/fastfreeze/blob/af184605584c753ff13d37ffb9d349e2b9e381ad/src/cli/run.rs | src/cli/run.rs | // Copyright 2020 Two Sigma Investments, LP.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | rust | Apache-2.0 | af184605584c753ff13d37ffb9d349e2b9e381ad | 2026-01-04T20:21:09.129173Z | false |
twosigma/fastfreeze | https://github.com/twosigma/fastfreeze/blob/af184605584c753ff13d37ffb9d349e2b9e381ad/src/cli/checkpoint.rs | src/cli/checkpoint.rs | // Copyright 2020 Two Sigma Investments, LP.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | rust | Apache-2.0 | af184605584c753ff13d37ffb9d349e2b9e381ad | 2026-01-04T20:21:09.129173Z | false |
twosigma/fastfreeze | https://github.com/twosigma/fastfreeze/blob/af184605584c753ff13d37ffb9d349e2b9e381ad/src/cli/extract.rs | src/cli/extract.rs | // Copyright 2020 Two Sigma Investments, LP.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | rust | Apache-2.0 | af184605584c753ff13d37ffb9d349e2b9e381ad | 2026-01-04T20:21:09.129173Z | false |
twosigma/fastfreeze | https://github.com/twosigma/fastfreeze/blob/af184605584c753ff13d37ffb9d349e2b9e381ad/src/cli/main.rs | src/cli/main.rs | // Copyright 2020 Two Sigma Investments, LP.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | rust | Apache-2.0 | af184605584c753ff13d37ffb9d349e2b9e381ad | 2026-01-04T20:21:09.129173Z | false |
cr7pt0pl4gu3/Pestilence | https://github.com/cr7pt0pl4gu3/Pestilence/blob/67d23f30da113b687822405ec7729ab865f107ca/src/main.rs | src/main.rs | use std::env;
use aes::{Aes128};
use cfb_mode::Cfb;
use cfb_mode::cipher::{NewCipher, AsyncStreamCipher};
use windows::{Win32::System::Memory::*, Win32::System::SystemServices::*};
use ntapi::{ntmmapi::*, ntpsapi::*, ntobapi::*, winapi::ctypes::*};
use obfstr::obfstr;
type Aes128Cfb = Cfb<Aes128>;
pub struct Injector... | rust | MIT | 67d23f30da113b687822405ec7729ab865f107ca | 2026-01-04T20:21:17.128549Z | false |
fitzgen/oxischeme | https://github.com/fitzgen/oxischeme/blob/fdcf1e9d688aaa02a2ee9c647774f74c7ea08005/src/environment.rs | src/environment.rs | // Copyright 2014 Nick Fitzgerald
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | rust | Apache-2.0 | fdcf1e9d688aaa02a2ee9c647774f74c7ea08005 | 2026-01-04T20:20:58.006505Z | false |
fitzgen/oxischeme | https://github.com/fitzgen/oxischeme/blob/fdcf1e9d688aaa02a2ee9c647774f74c7ea08005/src/value.rs | src/value.rs | // Copyright 2014 Nick Fitzgerald
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | rust | Apache-2.0 | fdcf1e9d688aaa02a2ee9c647774f74c7ea08005 | 2026-01-04T20:20:58.006505Z | false |
fitzgen/oxischeme | https://github.com/fitzgen/oxischeme/blob/fdcf1e9d688aaa02a2ee9c647774f74c7ea08005/src/primitives.rs | src/primitives.rs | // Copyright 2014 Nick Fitzgerald
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | rust | Apache-2.0 | fdcf1e9d688aaa02a2ee9c647774f74c7ea08005 | 2026-01-04T20:20:58.006505Z | false |
fitzgen/oxischeme | https://github.com/fitzgen/oxischeme/blob/fdcf1e9d688aaa02a2ee9c647774f74c7ea08005/src/eval.rs | src/eval.rs | // Copyright 2015 Nick Fitzgerald
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | rust | Apache-2.0 | fdcf1e9d688aaa02a2ee9c647774f74c7ea08005 | 2026-01-04T20:20:58.006505Z | true |
fitzgen/oxischeme | https://github.com/fitzgen/oxischeme/blob/fdcf1e9d688aaa02a2ee9c647774f74c7ea08005/src/read.rs | src/read.rs | // Copyright 2014 Nick Fitzgerald
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | rust | Apache-2.0 | fdcf1e9d688aaa02a2ee9c647774f74c7ea08005 | 2026-01-04T20:20:58.006505Z | true |
fitzgen/oxischeme | https://github.com/fitzgen/oxischeme/blob/fdcf1e9d688aaa02a2ee9c647774f74c7ea08005/src/main.rs | src/main.rs | // Copyright 2014 Nick Fitzgerald
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | rust | Apache-2.0 | fdcf1e9d688aaa02a2ee9c647774f74c7ea08005 | 2026-01-04T20:20:58.006505Z | false |
fitzgen/oxischeme | https://github.com/fitzgen/oxischeme/blob/fdcf1e9d688aaa02a2ee9c647774f74c7ea08005/src/heap.rs | src/heap.rs | // Copyright 2014 Nick Fitzgerald
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | rust | Apache-2.0 | fdcf1e9d688aaa02a2ee9c647774f74c7ea08005 | 2026-01-04T20:20:58.006505Z | false |
rust-cli/climake | https://github.com/rust-cli/climake/blob/07a87ab9e8721d01ce6e37c3107c69b835e83ee7/src/prelude.rs | src/prelude.rs | //! Prelude for climake to allow easy importing of data structures
//!
//! # Contents
//!
//! This prelude is small as climake itself isn't a woefully complex library,
//! here's what this prelude includes:
//!
//! - Base-level
//! - [climake::Argument](Argument)
//! - [climake::CliMake](CliMake)
//! - [climake::... | rust | Apache-2.0 | 07a87ab9e8721d01ce6e37c3107c69b835e83ee7 | 2026-01-04T20:21:15.127100Z | false |
rust-cli/climake | https://github.com/rust-cli/climake/blob/07a87ab9e8721d01ce6e37c3107c69b835e83ee7/src/lib.rs | src/lib.rs | //! The simplistic, dependency-free cli library ✨
//!
//! - **[Documentation](https://docs.rs/climake)**
//! - [Crates.io](https://crates.io/crates/climake)
//!
//! # Example 📚
//!
//! Demo of a simple package manager:
//!
//! ```rust
//! use climake::prelude::*;
//!
//! fn main() {
//! let package = Argument::new... | rust | Apache-2.0 | 07a87ab9e8721d01ce6e37c3107c69b835e83ee7 | 2026-01-04T20:21:15.127100Z | false |
rust-cli/climake | https://github.com/rust-cli/climake/blob/07a87ab9e8721d01ce6e37c3107c69b835e83ee7/src/io.rs | src/io.rs | //! Input and output structures for climake which allow inputs for args along
//! with outputs passed back
//!
//! # Importing
//!
//! This module is included in [crate::prelude] by default so no extra importing
//! steps are required (unless you are importing explicit items).
use std::fmt;
use std::path::PathBuf;
//... | rust | Apache-2.0 | 07a87ab9e8721d01ce6e37c3107c69b835e83ee7 | 2026-01-04T20:21:15.127100Z | false |
rust-cli/climake | https://github.com/rust-cli/climake/blob/07a87ab9e8721d01ce6e37c3107c69b835e83ee7/src/parsed.rs | src/parsed.rs | //! Structures that allow the containing of completed parsing from the cli
//!
//! # Importing
//!
//! This module is included in [crate::prelude] by default so no extra importing
//! steps are required (unless you are importing explicit items).
use crate::io::Data;
use crate::{Argument, Subcommand};
/// Used argumen... | rust | Apache-2.0 | 07a87ab9e8721d01ce6e37c3107c69b835e83ee7 | 2026-01-04T20:21:15.127100Z | false |
rust-cli/climake | https://github.com/rust-cli/climake/blob/07a87ab9e8721d01ce6e37c3107c69b835e83ee7/src/core/argument.rs | src/core/argument.rs | //! Contains [Argument]-related items, see specific documentation for more information
use super::utils::writeln_term;
use crate::io::Input;
use crate::HELP_DEFAULT;
use std::fmt;
use std::io::Write;
/// An argument attached to the cli, allowing passing of user data to the top-level
/// cli or subcommands
#[derive(D... | rust | Apache-2.0 | 07a87ab9e8721d01ce6e37c3107c69b835e83ee7 | 2026-01-04T20:21:15.127100Z | false |
rust-cli/climake | https://github.com/rust-cli/climake/blob/07a87ab9e8721d01ce6e37c3107c69b835e83ee7/src/core/subcommand.rs | src/core/subcommand.rs | //! Contains [Subcommand]-related items, see specific documentation for more
//! information
use super::utils::writeln_term;
use super::{Argument, CliMake};
use crate::HELP_DEFAULT;
use std::io::Write;
/// A subcommand attached to the cli, allowing commands and sections of the cli
/// to form
#[derive(Debug, Partial... | rust | Apache-2.0 | 07a87ab9e8721d01ce6e37c3107c69b835e83ee7 | 2026-01-04T20:21:15.127100Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.