Skip to content

Commit 189591a

Browse files
committed
Marginally more useful proj
1 parent e2a3a98 commit 189591a

File tree

4 files changed

+17
-7
lines changed

4 files changed

+17
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ Intecture's APIs (_cough_ and a binary) are the heart and soul of Intecture. Che
88

99
- [core](core/) - The core API that does all the heavy lifting
1010
- [bindings](bindings/) - Rust FFI and language bindings
11-
- [proj](proj/) - Helpers and boilerplate to use in your Intecture projects
11+
- [proj](proj/) - Helpers and boilerplate for building Intecture projects
1212
- [agent](agent/) - Tiny daemon that exposes the core API as a service (for your hosts!)

proj/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "intecture_proj"
33
version = "0.0.1"
44
authors = [ "Pete Hayes <pete@intecture.io>" ]
55
license = "MPL-2.0"
6-
description = "Project helper functions"
6+
description = "Helpers and boilerplate for building Intecture projects"
77
homepage = "https://intecture.io"
88
repository = "https://github.com/intecture/api"
99
documentation = "https://intecture.io/rust/inapi/"

proj/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Project
2+
3+
The project API contains helpers and boilerplate for creating Intecture projects, as well as reexporting the core API. Usually you'll use this API, however for applications that do not require a formal structure, the core API ([core/](../core/)) may be used instead.

proj/src/lib.rs

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
1-
#[cfg(test)]
2-
mod tests {
3-
#[test]
4-
fn it_works() {
5-
}
1+
// Copyright 2015-2017 Intecture Developers.
2+
//
3+
// Licensed under the Mozilla Public License 2.0 <LICENSE or
4+
// https://www.tldrlegal.com/l/mpl-2.0>. This file may not be copied,
5+
// modified, or distributed except according to those terms.
6+
7+
extern crate intecture_api;
8+
9+
pub mod prelude {
10+
pub use intecture_api::prelude::*;
611
}
12+
13+
pub use intecture_api::*;

0 commit comments

Comments
 (0)