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

Rewrite struct and path generation #22

Merged
merged 10 commits into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/target
/output
/thanix_client

# IDE files
.vs/
.vscode/
.idea/
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This will ensure that you have all the necessary tools and libraries to build an
4. **Install and set up pre-commit for code quality checks**. This tool will automatically execute the `hooks` we implemented
which will check your code for formatting or styling issue before each commit.

Note: If `pre-commit` fails on execution, be sure to run `cargo format` and `cargo clippy` on your code and fix any issues
Note: If `pre-commit` fails on execution, be sure to run `cargo fmt` and `cargo clippy` on your code and fix any issues
raised by these tools.

# Making changes
Expand Down
33 changes: 32 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "thanix"
authors = ["Christopher Hock <[email protected]>"]
version = "0.1.0-alpha.9"
version = "0.1.0-alpha.10"
publish = true
edition = "2021"
description = "A yaml-to-rust code generator for generating Rust code from yaml config files e.g. as found in openAPI."
Expand All @@ -12,7 +12,9 @@ license = "GPL-3.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
check_keyword = "0.2.0"
clap = {version = "4.4.2", features = ["derive"]}
convert_case = "0.6.0"
openapiv3 = "2.0.0"
serde = { version = "1.0.195", features = ["derive"] }
serde_yaml = "0.9.30"
2 changes: 1 addition & 1 deletion Thanix.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: Thanix
Version: 0.1.0_alpha.9
Version: 0.1.0_alpha.10
Release: 0.1
Summary: Rust to yaml code generator.
# FIXME: Select a correct license from https://github.com/openSUSE/spec-cleaner#spdx-licenses
Expand Down
Loading
Loading