Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release 0.3.0 #12

Closed
wants to merge 24 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
6fedc61
remove improper categories
jifalops Aug 12, 2023
854d727
make the generated builder infallible, but lose new/default.
jifalops Aug 17, 2023
4d8c32a
remove use/import of traits.
jifalops Aug 17, 2023
a57d7b0
absorb QueryFields into Entity (fewer use statements for users)
jifalops Aug 17, 2023
f221bd0
remove node/relation shorthand attributes
jifalops Aug 17, 2023
2a5ebc4
rename attr: stamps -> timestamps
jifalops Aug 17, 2023
2968e41
update examples, test, clippy
jifalops Aug 17, 2023
01aa390
build and test the workspace
jifalops Aug 20, 2023
d053fd9
rename ci action so its more descriptive in the badge
jifalops Aug 20, 2023
f506535
rename Entity to FieldSet, so it's more clear it is more abstract
jifalops Aug 20, 2023
57fc7a9
wip changing readme
jifalops Aug 20, 2023
ca1274e
add/move scripts
jifalops Aug 21, 2023
f8228cf
rename as_query* to to_query* because it's not free
jifalops Aug 21, 2023
d2712da
add as_query_fields and as_query_obj, static query string that ignore…
jifalops Aug 24, 2023
70b424a
rename fn
jifalops Aug 24, 2023
7addcef
write a bunch of test fragments as includes
jifalops Aug 24, 2023
363a6f5
fix var used
jifalops Aug 24, 2023
c55ae3f
upgrade and sort deps
jifalops Feb 29, 2024
aa3c068
update devcontainer to use my prebuilt rust image
jifalops Feb 29, 2024
0cb7aa5
update scripts
jifalops Feb 29, 2024
7306862
fix neo4rs usage (breaking in 0.7), run ./fix.sh
jifalops Feb 29, 2024
2b3f99b
run ./fix.sh
jifalops Feb 29, 2024
a5f1797
prevent clippy from removing pub use that is actually used in the tests.
jifalops Feb 29, 2024
cc1e871
need to add the 1.0 tag to dockerfile (no latest)
jifalops Mar 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FROM mcr.microsoft.com/devcontainers/rust:bookworm
FROM jifalops/rust:1.0
7 changes: 2 additions & 5 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,13 @@
"dockerComposeFile": "./docker-compose.yml",
"service": "app",
"workspaceFolder": "/cypher-dto",
"remoteUser": "developer",
"postCreateCommand": ".devcontainer/post-create.sh",
"features": {
"ghcr.io/devcontainers/features/github-cli:1": {},
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
},
"customizations": {
"vscode": {
"extensions": [
"rust-lang.rust-analyzer",
"JScearcy.rust-doc-viewer",
"serayuzgur.crates",
"tamasfe.even-better-toml"
]
}
Expand Down
5 changes: 5 additions & 0 deletions .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ services:
volumes:
- ..:/cypher-dto:cached
environment:
PROJECT_ROOT: /cypher-dto
GITHUB_TOKEN: ${GITHUB_TOKEN}
TZ: ${TZ}
NEO4J_TEST_URI: "bolt://db:7687"
NEO4J_TEST_USER: "neo4j"
NEO4J_TEST_PASS: "developer"

db:
image: neo4j:5
Expand Down
10 changes: 2 additions & 8 deletions .devcontainer/post-create.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
# Ensure devcontainer user owns the project directory
sudo chown -R vscode:vscode /cypher-dto
sudo chown -R developer:developer $PROJECT_ROOT

# Remember history on the local machine
ln -s /cypher-dto/.devcontainer/.bash_history ~/.bash_history
ln -s $PROJECT_ROOT/.devcontainer/.bash_history ~/.bash_history

# Install dotfiles
gh repo clone dotfiles ~/dotfiles && ~/dotfiles/install.sh

# rustup and cargo bash completion.
sudo apt-get update -qq && sudo apt-get install -y -qq --no-install-recommends bash-completion \
&& mkdir -p ~/.local/share/bash-completion/completions \
&& rustup completions bash > ~/.local/share/bash-completion/completions/rustup \
&& rustup completions bash cargo > ~/.local/share/bash-completion/completions/cargo
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Rust

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]

env:
CARGO_TERM_COLOR: always

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
26 changes: 0 additions & 26 deletions .github/workflows/rust.yml

This file was deleted.

Loading
Loading