Skip to content

Commit

Permalink
Release v0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
evestera committed Mar 14, 2021
1 parent 36691c4 commit e9f846d
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 15 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ fn main() {
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
json_typegen = "0.5"
json_typegen = "0.6"
```

The sample json can also come from local or remote files:
Expand Down
4 changes: 2 additions & 2 deletions json_typegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "json_typegen"
version = "0.5.0"
version = "0.6.0"
authors = ["Erik Vesteraas <erik@vestera.as>"]
license = "MIT/Apache-2.0"
description = "Procedural macro that generates Rust types from JSON samples"
Expand All @@ -16,7 +16,7 @@ edition = "2018"
travis-ci = { repository = "evestera/json_typegen" }

[dependencies]
json_typegen_shared = { path = "../json_typegen_shared", version = "0.5" }
json_typegen_shared = { path = "../json_typegen_shared", version = "0.6" }

[dev-dependencies]
serde = "1.0"
Expand Down
4 changes: 2 additions & 2 deletions json_typegen/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
//! serde = "1.0"
//! serde_derive = "1.0"
//! serde_json = "1.0"
//! json_typegen = "0.5"
//! json_typegen = "0.6"
//! ```
//!
//! The sample json can also come from local or remote files, like so:
Expand Down Expand Up @@ -68,4 +68,4 @@ use json_typegen_shared::{codegen_from_macro_input};
#[proc_macro]
pub fn json_typegen(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
codegen_from_macro_input(&input.to_string()).unwrap().parse().unwrap()
}
}
4 changes: 2 additions & 2 deletions json_typegen_cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "json_typegen_cli"
version = "0.5.0"
version = "0.6.0"
authors = ["Erik Vesteraas <erik@vestera.as>"]
license = "MIT/Apache-2.0"
description = "Command line utility for generating Rust types from JSON samples"
Expand All @@ -14,7 +14,7 @@ edition = "2018"

[dependencies]
clap = "2.33.3"
json_typegen_shared = { path = "../json_typegen_shared", version = "0.5" }
json_typegen_shared = { path = "../json_typegen_shared", version = "0.6" }

[[bin]]
name = "json_typegen"
Expand Down
3 changes: 2 additions & 1 deletion json_typegen_cli/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# CLI for generation of type definitions for Rust, Kotlin, TypeScript and JSON Schema from JSON

**Note**: For Rust types there is also a procedural macro interface to this code, which uses
**Note**: There is also a web interface, and for Rust types there is also a
procedural macro interface to this code, which uses
the same underlying algorithm and code generation. See
[the repository](https://github.com/evestera/json_typegen) for details.

Expand Down
6 changes: 3 additions & 3 deletions json_typegen_demo/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "json_typegen_demo"
version = "0.5.0"
version = "0.6.0"
authors = ["Erik Vesteraas <erik@vestera.as>"]
license = "MIT/Apache-2.0"
publish = false
Expand All @@ -10,5 +10,5 @@ edition = "2018"
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
# json_typegen = "0.5"
json_typegen = { path = "../json_typegen", version = "0.5" }
# json_typegen = "0.6"
json_typegen = { path = "../json_typegen", version = "0.6" }
2 changes: 1 addition & 1 deletion json_typegen_shared/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "json_typegen_shared"
version = "0.5.0"
version = "0.6.0"
authors = ["Erik Vesteraas <erik@vestera.as>"]
license = "MIT/Apache-2.0"
description = "Codegen from JSON samples. Not intended to be used directly. See repository for the intended crates."
Expand Down
2 changes: 1 addition & 1 deletion json_typegen_wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "json_typegen_wasm"
version = "0.5.0"
version = "0.6.0"
authors = ["Erik Vesteraas <erik@vestera.as>"]
edition = "2018"
publish = false
Expand Down
2 changes: 1 addition & 1 deletion json_typegen_web/package-lock.json

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

2 changes: 1 addition & 1 deletion json_typegen_web/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"author": "Erik Vesteraas <erik@vestera.as>",
"name": "json_typegen_web",
"version": "0.4.1",
"version": "0.6.0",
"repository": "https://github.com/evestera/json_typegen",
"license": "MIT",
"scripts": {
Expand Down

0 comments on commit e9f846d

Please sign in to comment.