Skip to content
hebra
Sign in
sxyyztonqnzqfba3234ffd37

Initial import of the acme app

Provenance

ana

person

When

26s ago

Task

—

Session

—

A.hb/checks.toml+9−0
@@ -0,0 +1,9 @@
1+[[check]]
2+name = "build"
3+run = "echo building acme"
4+on = ["review", "push:main"]
5+
6+[[check]]
7+name = "test"
8+run = "echo 12 tests passed"
9+on = ["review", "push:main"]
AREADME.md+3−0
@@ -0,0 +1,3 @@
1+# acme
2+
3+The acme app.
Asrc/auth.rs+5−0
@@ -0,0 +1,5 @@
1+pub fn login(email: &str, password: &str) -> Result<Session> {
2+ let user = find_user(email)?;
3+ verify_password(&user, password)?;
4+ Ok(Session::new(user))
5+}
Asrc/main.rs+3−0
@@ -0,0 +1,3 @@
1+fn main() {
2+ println!("acme");
3+}