Skip to content
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
1 change: 1 addition & 0 deletions const-oid/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ hex-literal = "0.3"

[features]
std = []
db = []

[package.metadata.docs.rs]
all-features = true
Expand Down
87 changes: 87 additions & 0 deletions const-oid/oiddbgen/Cargo.lock

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

14 changes: 14 additions & 0 deletions const-oid/oiddbgen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[package]
name = "oiddbgen"
version = "0.1.0"
edition = "2021"

[dependencies]
convert_case = "0.5.0"
proc-macro2 = "1.0.36"
quote = "1.0.15"
regex = "1.5.4"
syn = "1.0.86"

[workspace]
members = ["."]
11 changes: 11 additions & 0 deletions const-oid/oiddbgen/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Welcome to oiddbgen!

This program is internal-only and is used to generate the OID database tree.

# How to Run

If you want to generate the database yourself, from the `const-oid` directory you can just run:

```
$ cargo run --manifest-path=oiddbgen/Cargo.toml | rustfmt > src/db/gen.rs
```
Loading