[next]: Rendered initial english version

This commit is contained in:
Ralf Zerres
2024-10-17 17:40:17 +02:00
parent 8529021733
commit 21db004362
80 changed files with 32026 additions and 0 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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]

View File

@@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}