Skip to content

Commit efb97aa

Browse files
committed
Improved the information about the crate in Cargo.toml
1 parent 42a0937 commit efb97aa

File tree

2 files changed

+18
-6
lines changed

2 files changed

+18
-6
lines changed

Cargo.toml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,20 @@
11
[package]
22
name = "flatc-rust"
3-
version = "0.1.1-alpha.0"
3+
version = "0.1.1"
44
authors = ["Vlad Frolov <frolvlad@gmail.com>"]
5+
edition = "2018"
56
license = "MIT/Apache-2.0"
67
homepage = "https://github.com/frol/flatc-rust"
78
repository = "https://github.com/frol/flatc-rust"
8-
description = """
9-
FlatBuffers flatc command as API
10-
"""
11-
edition = "2018"
9+
description = "FlatBuffers flatc command as API"
10+
documentation = "https://docs.rs/flatc-rust/*/flatc-rust"
11+
readme = "README.md"
12+
keywords = ["flatbuffers", "flatc", "compiler", "code-generation"]
13+
categories = ["development-tools::build-utils", "development-tools", "api-bindings", "parser-implementations"]
14+
include = ["/src/**/*", "/Cargo.toml", "/LICENSE-MIT", "/LICENSE-APACHE", "/README.md"]
15+
16+
[badges]
17+
travis-ci = { repository = "frol/flatc-rust" }
1218

1319
[dependencies]
1420
log = "0.*"

src/lib.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
//! # try_main().ok();
3535
//! ```
3636
//!
37-
//! ## Build scripts (`build.rs`) integration example
37+
//! ## Build scripts (`build.rs`) integration
3838
//!
3939
//! It is common to have FlatBuffers specifications as a single source of truth, and thus, it is
4040
//! wise to build up-to-date helpers when you build your project. There is a built-in support for
@@ -82,6 +82,12 @@
8282
//!
8383
//! [build scripts in Cargo]: https://doc.rust-lang.org/cargo/reference/build-scripts.html
8484
//! [example projects]: https://github.com/frol/flatc-rust/tree/master/examples
85+
//!
86+
//! ## Usage in external projects
87+
//!
88+
//! There is [a benchmark of FlatBuffers vs other serialization
89+
//! frameworks](https://github.com/erickt/rust-serialization-benchmarks/pull/7), which is based on
90+
//! `flatc-rust` integration.
8591
8692
#![deny(missing_docs)]
8793
#![deny(unsafe_code)]

0 commit comments

Comments
 (0)