[next]: Rendered initial english version
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
# ANCHOR: All
|
||||
[package]
|
||||
# ANCHOR: Name
|
||||
name = "element_call_hello"
|
||||
# ANCHOR_END: Name
|
||||
version = "0.0.1"
|
||||
authors = [
|
||||
"Ralf Zerres <ralf.zerres.de@gmail.com>",
|
||||
]
|
||||
description = "The Element-Call - Training project"
|
||||
documentation = "https://docs.rs/orbtk"
|
||||
repository = "https://github.com/redox-os/orbtk"
|
||||
readme = "README.md"
|
||||
license = "MIT"
|
||||
keywords = [
|
||||
"element-call",
|
||||
"matrix",
|
||||
"matrixrtc",
|
||||
]
|
||||
edition = "2021"
|
||||
|
||||
[profile.dev]
|
||||
opt-level = 1
|
||||
|
||||
[dependencies]
|
||||
#element-call = { git = "https://gitea.networkx.de/rzerres/element-call-book.git", branch = "develop" }
|
||||
|
||||
[[bin]]
|
||||
# ANCHOR: Name
|
||||
name = "element_call_hello"
|
||||
# ANCHOR_END: Name
|
||||
path = "src/main.rs"
|
||||
# ANCHOR_END: All
|
||||
@@ -0,0 +1,17 @@
|
||||
// ANCHOR: All
|
||||
// ANCHOR: Use
|
||||
use element-call::prelude::*;
|
||||
// ANCHOR_END: Use
|
||||
|
||||
// ANCHOR: Main
|
||||
fn main() {
|
||||
// ANCHOR_END: Main
|
||||
// ANCHOR: Initialize
|
||||
element-call::initialize();
|
||||
// ANCHOR_END: Initialize
|
||||
|
||||
// ANCHOR: Run
|
||||
.run();
|
||||
// ANCHOR_END: Run
|
||||
}
|
||||
// ANCHOR_END: All
|
||||
@@ -0,0 +1,9 @@
|
||||
[package]
|
||||
name = "element_call_hello_example"
|
||||
version = "0.1.0"
|
||||
authors = ["Your Name <you@example.com>"]
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
@@ -0,0 +1,3 @@
|
||||
fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
||||
Reference in New Issue
Block a user