hello world
This commit is contained in:
commit
577b7b0084
|
@ -0,0 +1 @@
|
|||
target
|
|
@ -0,0 +1,19 @@
|
|||
# This file is automatically @generated by Cargo.
|
||||
# It is not intended for manual editing.
|
||||
[[package]]
|
||||
name = "hptp"
|
||||
version = "0.1.0"
|
||||
|
||||
[[package]]
|
||||
name = "hptp-recv"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"hptp",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "hptp-send"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"hptp",
|
||||
]
|
|
@ -0,0 +1,7 @@
|
|||
[workspace]
|
||||
|
||||
members = [
|
||||
"hptp",
|
||||
"hptp-send",
|
||||
"hptp-recv",
|
||||
]
|
|
@ -0,0 +1,15 @@
|
|||
|
||||
all:
|
||||
cargo build
|
||||
|
||||
clean:
|
||||
cargo clean
|
||||
|
||||
test:
|
||||
cargo test
|
||||
|
||||
c: clean
|
||||
|
||||
t: test
|
||||
|
||||
.PHONY: all clean test c t
|
|
@ -0,0 +1,11 @@
|
|||
[package]
|
||||
name = "hptp-recv"
|
||||
description = "Head Pat Transport Protocol, Receiving Program"
|
||||
version = "0.1.0"
|
||||
authors = ["iitalics", "haskal"]
|
||||
edition = "2018"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
hptp = { path = "../hptp" }
|
|
@ -0,0 +1,5 @@
|
|||
extern crate hptp;
|
||||
|
||||
fn main() {
|
||||
println!("{}", hptp::RECV_GREETING);
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
[package]
|
||||
name = "hptp-send"
|
||||
description = "Head Pat Transport Protocol, Sending Program"
|
||||
version = "0.1.0"
|
||||
authors = ["iitalics", "haskal"]
|
||||
edition = "2018"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
hptp = { path = "../hptp" }
|
|
@ -0,0 +1,5 @@
|
|||
extern crate hptp;
|
||||
|
||||
fn main() {
|
||||
println!("{}", hptp::SEND_GREETING);
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
[package]
|
||||
name = "hptp"
|
||||
description = "Head Pat Transport Protocol, Core Library"
|
||||
version = "0.1.0"
|
||||
authors = ["iitalics", "haskal"]
|
||||
edition = "2018"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
|
@ -0,0 +1,2 @@
|
|||
pub const SEND_GREETING: &'static str = "*pat*";
|
||||
pub const RECV_GREETING: &'static str = "owo";
|
Loading…
Reference in New Issue