Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
build/
dist/
docs/_build/
rust/run-task/target

# Python
__pycache__/
Expand Down
9 changes: 9 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
[build-system]
requires = ["maturin"]
build-backend = "maturin"

[tool.maturin]
bindings = "bin"
manifest-path = "rust/run-task/Cargo.toml"
strip = true

[tool.black]
line-length = 88
extend-exclude = """(\
Expand Down
7 changes: 7 additions & 0 deletions rust/run-task/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions rust/run-task/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[package]
name = "run-task"
version = "0.1.0"
edition = "2021"

[[bin]]
name = "run-task"
path = "src/run_task/main.rs"

[[bin]]
name = "fetch-content"
path = "src/fetch_content/main.rs"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
3 changes: 3 additions & 0 deletions rust/run-task/src/fetch_content/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fn main() {
println!("Hello, world! Fetch Content!");
}
3 changes: 3 additions & 0 deletions rust/run-task/src/run_task/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fn main() {
println!("Hello, world! run-task");
}