Skip to content

Commit

Permalink
feat(dev): Add config parse and generate support (#5454)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xuanwo authored Dec 25, 2024
1 parent 5ad7e0b commit 22d2cef
Show file tree
Hide file tree
Showing 7 changed files with 983 additions and 2 deletions.
342 changes: 342 additions & 0 deletions dev/Cargo.lock

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

10 changes: 10 additions & 0 deletions dev/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,13 @@ license = "Apache-2.0"
repository = "https://github.com/apache/opendal"
rust-version = "1.75"
version = "0.0.1"

[dependencies]
anyhow = "1.0.95"
clap = { version = "4.5.23", features = ["derive"] }
env_logger = "0.11.6"
log = "0.4.22"
syn = { version = "2.0.91", features = ["visit","full","extra-traits"] }

[dev-dependencies]
pretty_assertions = "1.4.1"
19 changes: 19 additions & 0 deletions dev/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Apache OpenDAL™ Dev

This project is designed to provide dev tools for the entire opendal project.

## Usage

```bash
cargo o help
```

## Features

### Generate

Generate code for OpenDAL services.

```bash
cargo o generate -l python
```
Loading

0 comments on commit 22d2cef

Please sign in to comment.