Skip to content

Commit

Permalink
v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
danburkert committed Sep 10, 2017
1 parent 5051e66 commit 7ea989d
Show file tree
Hide file tree
Showing 17 changed files with 49 additions and 27 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "prost"
# NB: When modifying, also modify html_root_url in lib.rs
version = "0.1.1"
version = "0.2.0"
authors = ["Dan Burkert <dan@danburkert.com>"]
license = "Apache-2.0"
repository = "https://github.com/danburkert/prost"
Expand Down Expand Up @@ -38,5 +38,5 @@ bytes = "0.4"
[dev-dependencies]
env_logger = "0.4"
log = "0.3"
prost-derive = { path = "prost-derive" }
prost-derive = { version = "0.2", path = "prost-derive" }
quickcheck = "0.4"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,6 @@ generated code examples above.

`prost` is distributed under the terms of the Apache License (Version 2.0).

See [LICENSE](LICENSE), for details.
See [LICENSE](LICENSE) for details.

Copyright 2017 Dan Burkert
2 changes: 1 addition & 1 deletion benchmarks/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "benchmarks"
version = "0.1.0"
version = "0.0.0"
authors = ["Dan Burkert <dan@danburkert.com>"]
publish = false

Expand Down
2 changes: 1 addition & 1 deletion conformance/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "conformance"
version = "0.1.1"
version = "0.0.0"
authors = ["Dan Burkert <dan@danburkert.com>"]
publish = false

Expand Down
2 changes: 1 addition & 1 deletion fuzz/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fuzz"
version = "0.1.1"
version = "0.0.0"
authors = ["Dan Burkert <dan@danburkert.com>"]
publish = false

Expand Down
6 changes: 3 additions & 3 deletions prost-build/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "prost-build"
# NB: When modifying, also modify html_root_url in lib.rs
version = "0.1.1"
version = "0.2.0"
authors = ["Dan Burkert <dan@danburkert.com>"]
license = "Apache-2.0"
repository = "https://github.com/danburkert/prost"
Expand All @@ -17,8 +17,8 @@ itertools = "0.6"
log = "0.3"
multimap = { version = "0.4", default-features = false }
petgraph = "0.4"
prost = { path = ".." }
prost-types = { path = "../prost-types" }
prost = { version = "0.2", path = ".." }
prost-types = { version = "0.2", path = "../prost-types" }
tempdir = "0.3"

[build-dependencies]
Expand Down
12 changes: 9 additions & 3 deletions prost-build/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@
# `prost-build`

`prost-build` makes it easy to generate Rust code from `.proto` files as part of
a Cargo build.
a Cargo build. See the crate [documentation](https://docs.rs/prost-build/) for examples
of how to integrate `prost-build` into a Cargo project.

See the Crate [documentation](https://crates.io/crates/prost-build) for examples
of how to integrate `prost` into a Cargo project.
## License

`prost-build` is distributed under the terms of the Apache License (Version 2.0).

See [LICENSE](../LICENSE) for details.

Copyright 2017 Dan Burkert
4 changes: 2 additions & 2 deletions prost-build/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![doc(html_root_url = "https://docs.rs/prost-build/0.1.1")]
#![doc(html_root_url = "https://docs.rs/prost-build/0.2.0")]

//! `prost-build` compiles `.proto` files into Rust.
//!
Expand Down Expand Up @@ -68,7 +68,7 @@
//!
//! // Include the `items` module, which is generated from items.proto.
//! pub mod items {
//! include!(concat!(env!("OUT_DIR"), "/items.rs"));
//! include!(concat!(env!("OUT_DIR"), "/snazzy.items.rs"));
//! }
//!
//! pub fn create_large_shirt(color: String) -> items::Shirt {
Expand Down
2 changes: 1 addition & 1 deletion prost-derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "prost-derive"
# NB: When modifying, also modify html_root_url in lib.rs
version = "0.1.1"
version = "0.2.0"
authors = ["Dan Burkert <dan@danburkert.com>"]
license = "Apache-2.0"
repository = "https://github.com/danburkert/prost"
Expand Down
8 changes: 8 additions & 0 deletions prost-derive/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,11 @@
`prost-derive` handles generating encoding and decoding implementations for Rust
types annotated with `prost` annotation. For the most part, users of `prost`
shouldn't need to interact with `prost-derive` directly.

## License

`prost-derive` is distributed under the terms of the Apache License (Version 2.0).

See [LICENSE](../LICENSE) for details.

Copyright 2017 Dan Burkert
2 changes: 1 addition & 1 deletion prost-derive/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![doc(html_root_url = "https://docs.rs/prost-derive/0.1.1")]
#![doc(html_root_url = "https://docs.rs/prost-derive/0.2.0")]
// The `quote!` macro requires deep recursion.
#![recursion_limit = "4096"]

Expand Down
10 changes: 3 additions & 7 deletions prost-types/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "prost-types"
# NB: When modifying, also modify html_root_url in lib.rs
version = "0.1.1"
version = "0.2.0"
authors = ["Dan Burkert <dan@danburkert.com>"]
license = "Apache-2.0"
repository = "https://github.com/danburkert/prost"
Expand All @@ -15,9 +15,5 @@ test = false

[dependencies]
bytes = "0.4"
prost = { path = ".." }
prost-derive = { path = "../prost-derive" }

[dev-dependencies]
prost-build = { path = "../prost-build" }
tempdir = "0.3"
prost = { version = "0.2", path = ".." }
prost-derive = { version = "0.2", path = "../prost-derive" }
12 changes: 12 additions & 0 deletions prost-types/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,15 @@ Prost definitions of Protocol Buffers well known types. See the [Protobuf refere
information about well known types.

[1]: https://developers.google.com/protocol-buffers/docs/reference/google.protobuf

## License

`prost-types` is distributed under the terms of the Apache License (Version 2.0).
`prost-types` includes code imported from the Protocol Buffers projet, which is
included under its original ([BSD][2]) license.

[2]: https://github.com/google/protobuf/blob/master/LICENSE

See [LICENSE](..LICENSE) for details.

Copyright 2017 Dan Burkert
2 changes: 1 addition & 1 deletion prost-types/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![doc(html_root_url = "https://docs.rs/prost-codegen/0.1.1")]
#![doc(html_root_url = "https://docs.rs/prost-codegen/0.2.0")]

//! Protocol Buffers well-known types.
//!
Expand Down
2 changes: 1 addition & 1 deletion protobuf/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "protobuf"
version = "0.1.0"
version = "0.0.0"
authors = ["Dan Burkert <dan@danburkert.com>"]
publish = false

Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![doc(html_root_url = "https://docs.rs/prost/0.1.1")]
#![doc(html_root_url = "https://docs.rs/prost/0.2.0")]

extern crate bytes;

Expand Down
2 changes: 1 addition & 1 deletion tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tests"
version = "0.1.1"
version = "0.0.0"
authors = ["Dan Burkert <dan@danburkert.com>"]
publish = false

Expand Down

0 comments on commit 7ea989d

Please sign in to comment.