diff --git a/Cargo.toml b/Cargo.toml index 19ec8d6fd..d71956881 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 "] license = "Apache-2.0" repository = "https://github.com/danburkert/prost" @@ -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" diff --git a/README.md b/README.md index 6d00435bc..83dba31c4 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/benchmarks/Cargo.toml b/benchmarks/Cargo.toml index cf23740eb..c4b4d0d09 100644 --- a/benchmarks/Cargo.toml +++ b/benchmarks/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "benchmarks" -version = "0.1.0" +version = "0.0.0" authors = ["Dan Burkert "] publish = false diff --git a/conformance/Cargo.toml b/conformance/Cargo.toml index ab4127f48..23919546c 100644 --- a/conformance/Cargo.toml +++ b/conformance/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "conformance" -version = "0.1.1" +version = "0.0.0" authors = ["Dan Burkert "] publish = false diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index 6dbf805f8..1e921df5c 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fuzz" -version = "0.1.1" +version = "0.0.0" authors = ["Dan Burkert "] publish = false diff --git a/prost-build/Cargo.toml b/prost-build/Cargo.toml index be3eafdae..7b1a65f2d 100644 --- a/prost-build/Cargo.toml +++ b/prost-build/Cargo.toml @@ -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 "] license = "Apache-2.0" repository = "https://github.com/danburkert/prost" @@ -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] diff --git a/prost-build/README.md b/prost-build/README.md index 93d8208c2..e16957c8e 100644 --- a/prost-build/README.md +++ b/prost-build/README.md @@ -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 diff --git a/prost-build/src/lib.rs b/prost-build/src/lib.rs index 5ffab3340..e92efb97f 100644 --- a/prost-build/src/lib.rs +++ b/prost-build/src/lib.rs @@ -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. //! @@ -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 { diff --git a/prost-derive/Cargo.toml b/prost-derive/Cargo.toml index 638e07a10..a394a4e48 100644 --- a/prost-derive/Cargo.toml +++ b/prost-derive/Cargo.toml @@ -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 "] license = "Apache-2.0" repository = "https://github.com/danburkert/prost" diff --git a/prost-derive/README.md b/prost-derive/README.md index 5a65946ad..a51050e7e 100644 --- a/prost-derive/README.md +++ b/prost-derive/README.md @@ -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 diff --git a/prost-derive/src/lib.rs b/prost-derive/src/lib.rs index 18403329d..50ddd550f 100644 --- a/prost-derive/src/lib.rs +++ b/prost-derive/src/lib.rs @@ -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"] diff --git a/prost-types/Cargo.toml b/prost-types/Cargo.toml index daccdf1af..0a875d561 100644 --- a/prost-types/Cargo.toml +++ b/prost-types/Cargo.toml @@ -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 "] license = "Apache-2.0" repository = "https://github.com/danburkert/prost" @@ -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" } diff --git a/prost-types/README.md b/prost-types/README.md index b907594e1..8724577b7 100644 --- a/prost-types/README.md +++ b/prost-types/README.md @@ -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 diff --git a/prost-types/src/lib.rs b/prost-types/src/lib.rs index e010ae027..884ac8391 100644 --- a/prost-types/src/lib.rs +++ b/prost-types/src/lib.rs @@ -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. //! diff --git a/protobuf/Cargo.toml b/protobuf/Cargo.toml index e635614b6..7fbca906d 100644 --- a/protobuf/Cargo.toml +++ b/protobuf/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "protobuf" -version = "0.1.0" +version = "0.0.0" authors = ["Dan Burkert "] publish = false diff --git a/src/lib.rs b/src/lib.rs index 57ec786d6..e63c87500 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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; diff --git a/tests/Cargo.toml b/tests/Cargo.toml index f3129a01c..cca8c0c09 100644 --- a/tests/Cargo.toml +++ b/tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tests" -version = "0.1.1" +version = "0.0.0" authors = ["Dan Burkert "] publish = false