Skip to content

Commit

Permalink
feat: create models package
Browse files Browse the repository at this point in the history
  • Loading branch information
abhiaagarwal committed Jun 18, 2024
1 parent 6981bc0 commit 6938055
Show file tree
Hide file tree
Showing 46 changed files with 3,062 additions and 3 deletions.
17 changes: 15 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
[workspace]
members = ["server"]
members = [
"server",
"models",
]
resolver = "2"

[workspace.package]
edition = "2021"
license = "Apache-2.0"
version = "0.0.1"
version = "0.0.1"

[workspace.dependencies]
chrono = { version = "0.4.38", features = ["serde"] }
reqwest = { version = "0.12.4", default-features = false, features = ["rustls-tls"] }
tokio = { version = "1.38.0", features = ["full"] }
serde = { version = "^1.0", features = ["derive"] }
serde_json = "^1.0"
tracing = { version = "^0.1.40" }
tracing-subscriber = { version = "^0.3.18", features = ["env-filter"] }
uuid = { version = "^1.8", features = ["serde", "v4"] }
17 changes: 17 additions & 0 deletions models/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[package]
name = "unitycatalog-models"
version = "0.1.0"
description = "Generated structs for Unity Catalog models"

edition.workspace = true
license.workspace = true

publish = false

[dependencies]
strum = { version = "0.26", features = ["derive"] }

serde = { workspace = true }
serde_json = { workspace = true }
uuid = { workspace = true }
chrono = { workspace = true }
12 changes: 12 additions & 0 deletions models/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Rust=generated structs for Unity Catalog

## Overview

These models were generated by the [OpenAPI Generator](https://openapi-generator.tech) project.

- API version: 0.1
- Package version: 0.1
- Generator version: 7.6.0
- Build package: `org.openapitools.codegen.languages.RustClientCodegen`

From there, they have been manually tuned and fixed.
Loading

0 comments on commit 6938055

Please sign in to comment.