Skip to content

Commit

Permalink
Merge pull request #4 from github/shared_lib
Browse files Browse the repository at this point in the history
Add library package for shared code
  • Loading branch information
aibaars authored Oct 23, 2020
2 parents 305fd56 + 849e109 commit f6292e4
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 12 deletions.
23 changes: 15 additions & 8 deletions Cargo.lock

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

6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
[workspace]
members = ["extractor", "generator"]
members = [
"extractor",
"generator",
"node-types",
]
3 changes: 1 addition & 2 deletions generator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
node-types = { path = "../node-types" }
1 change: 0 additions & 1 deletion generator/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
mod dbscheme;
mod language;
mod node_types;

use language::Language;
use node_types::{FieldInfo, NodeInfo};
Expand Down
11 changes: 11 additions & 0 deletions node-types/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[package]
name = "node-types"
version = "0.1.0"
authors = ["GitHub"]
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
File renamed without changes.

0 comments on commit f6292e4

Please sign in to comment.