Skip to content

Commit

Permalink
chore: thanks austin
Browse files Browse the repository at this point in the history
  • Loading branch information
Fyko committed Sep 10, 2024
1 parent 919b0bb commit b3155e1
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
packages: write
contents: read
env:
slug: ghcr.io/trufflehq/scyllax-cli
slug: ghcr.io/fyko/scyllax-cli
dockerfile: ./scyllax-cli/Dockerfile
steps:
- name: Checkout Repository
Expand Down
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ resolver = "2"
[workspace.package]
license = "MIT OR Apache-2.0"
edition = "2021"
repository = "https://github.com/trufflehq/scyllax"
repository = "https://github.com/fyko/scyllax"
keywords = ["scylla", "cassandra", "orm", "sqlx", "truffle"]
categories = ["database", "concurrency"]
authors = [
"Carter Himmel <[email protected]>"
"Carter Himmel <[email protected]>"
]
homepage = "https://github.com/trufflehq/scyllax#readme"
homepage = "https://github.com/fyko/scyllax#readme"
readme = "README.md"

[workspace.dependencies]
Expand Down
1 change: 1 addition & 0 deletions LICENSE-APACHE
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2024 Carter Himmel
Copyright 2023 Spore, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
1 change: 1 addition & 0 deletions LICENSE-MIT
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
MIT License

Copyright (c) 2024 Carter Himmel
Copyright (c) 2023 Spore, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# scyllax (sɪl-æks)
A SQLx and Discord inspired query system for Scylla.

[![discord](https://img.shields.io/discord/1080316613968011335?color=5865F2&logo=discord&logoColor=white)](https://discord.gg/FahQSBMMGg)
[![codecov](https://codecov.io/gh/trufflehq/scyllax/graph/badge.svg?token=OGH77YR0TA)](https://codecov.io/gh/trufflehq/scyllax)
[![CI](https://github.com/trufflehq/scyllax/actions/workflows/ci.yml/badge.svg)](https://github.com/trufflehq/scyllax/actions/workflows/ci.yml)
[![discord](https://img.shields.io/discord/1041931589631881257?color=5865F2&logo=discord&logoColor=white)](https://discord.gg/HnyYTnQzJW)
[![codecov](https://codecov.io/gh/fyko/scyllax/graph/badge.svg?token=OGH77YR0TA)](https://codecov.io/gh/fyko/scyllax)
[![CI](https://github.com/fyko/scyllax/actions/workflows/ci.yml/badge.svg)](https://github.com/fyko/scyllax/actions/workflows/ci.yml)

## Example
### 1. Model definition
Expand Down Expand Up @@ -61,23 +61,23 @@ create_query_collection!(
let executor = Executor::<PersonQueries>::new(Arc::new(session)).await;
let user = executor.execute_read(GetPersonByEmail {
email: "user@truffle.vip".to_string(),
email: "user@fyko.net".to_string(),
}).await?;
println!("{user:#?}");
```

## Features
- [x] Read Queries
- [x] Write Queries (https://github.com/trufflehq/scyllax/pull/1)
- [ ] Request Coalescing
- [x] Write Queries (https://github.com/fyko/scyllax/pull/1)
- [x] Request Coalescing
- [x] Compile-time Select Query Validation
- ensure the where constraints exist on the struct
- ensure the where constraints are the same type as the struct
- [ ] Runtime Query Validation (structure matches schema)

### Todo
- [ ] Eject `anyhow`, more refined errors
- [x] Eject `anyhow`, more refined errors

## Usage
See the [example](example) for more details.
Expand Down
6 changes: 3 additions & 3 deletions book/book.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[book]
src = "src"
title = "scyllax Documentation"
authors = ["Carter Himmel <[email protected]>"]
authors = ["Carter Himmel <[email protected]>"]
language = "en"

[output.html]
site-url = "/scyllax/"
git-repository-url = "https://github.com/trufflehq/scyllax/tree/main/book"
edit-url-template = "https://github.com/trufflehq/scyllax/edit/main/book/{path}"
git-repository-url = "https://github.com/fyko/scyllax/tree/main/book"
edit-url-template = "https://github.com/fyko/scyllax/edit/main/book/{path}"
additional-css = ["./mdbook-admonish.css"]

[output.html.playground]
Expand Down
2 changes: 1 addition & 1 deletion book/src/example/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Example
Are you looking for a real-life example of scyllax? You're in luck! The `example` directory in our GitHub repository contains a full example of scyllax in action -- it's actually used to run tests!

[https://github.com/trufflehq/scyllax/tree/main/example](https://github.com/trufflehq/scyllax/tree/main/example)
[https://github.com/fyko/scyllax/tree/main/example](https://github.com/fyko/scyllax/tree/main/example)
2 changes: 1 addition & 1 deletion cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ conventional_commits = true
filter_unconventional = true
commit_preprocessors = [
# replace issues with issue links
{ pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](https://github.com/trufflehq/scyllax/issues/${2}))" },
{ pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](https://github.com/fyko/scyllax/issues/${2}))" },
]
commit_parsers = [
{ message = "^build", group = "Build" },
Expand Down
6 changes: 3 additions & 3 deletions scyllax-parser/crates.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# scyllax-parser (sɪl-æks)
A parser for CQL queries.

[![discord](https://img.shields.io/discord/1080316613968011335?color=5865F2&logo=discord&logoColor=white)](https://discord.gg/FahQSBMMGg)
[![codecov](https://codecov.io/gh/trufflehq/scyllax/graph/badge.svg?token=OGH77YR0TA)](https://codecov.io/gh/trufflehq/scyllax)
[![CI](https://github.com/trufflehq/scyllax/actions/workflows/ci.yml/badge.svg)](https://github.com/trufflehq/scyllax/actions/workflows/ci.yml)
[![discord](https://img.shields.io/discord/1041931589631881257?color=5865F2&logo=discord&logoColor=white)](https://discord.gg/HnyYTnQzJW)
[![codecov](https://codecov.io/gh/fyko/scyllax/graph/badge.svg?token=OGH77YR0TA)](https://codecov.io/gh/fyko/scyllax)
[![CI](https://github.com/fyko/scyllax/actions/workflows/ci.yml/badge.svg)](https://github.com/fyko/scyllax/actions/workflows/ci.yml)

## Usage
```rust
Expand Down

0 comments on commit b3155e1

Please sign in to comment.