Skip to content

Commit e6d767f

Browse files
committed
Init
1 parent 283810d commit e6d767f

File tree

4 files changed

+50
-2
lines changed

4 files changed

+50
-2
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,9 @@ Cargo.lock
88

99
# These are backup files generated by rustfmt
1010
**/*.rs.bk
11+
12+
13+
# Added by cargo
14+
15+
/target
16+
/Cargo.lock

Cargo.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[package]
2+
name = "supertokens-rust"
3+
version = "0.1.0"
4+
edition = "2021"
5+
6+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7+
8+
[dependencies]

README.md

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,28 @@
1-
# supertokens-rust
2-
SuperTokens library to call core API for Rust
1+
![SuperTokens banner](https://raw.githubusercontent.com/supertokens/supertokens-logo/master/images/Artboard%20%E2%80%93%2027%402x.png)
2+
3+
# SuperTokens Rust sdk
4+
5+
<a href="https://supertokens.io/discord">
6+
<img src="https://img.shields.io/discord/603466164219281420.svg?logo=discord"
7+
alt="chat on Discord"></a>
8+
9+
## About
10+
This is a Rust library that is used to interface between a Rust API process and the SuperTokens http service.
11+
12+
Learn more at https://supertokens.io
13+
14+
## Documentation
15+
16+
To see documentation, please click [here](https://supertokens.io/docs/community/introduction).
17+
18+
## Contributing
19+
20+
Please see the [CONTRIBUTING.md](https://github.com/supertokens/supertokens-golang/blob/master/CONTRIBUTING.md) file for instructions.
21+
22+
## Contact us
23+
24+
For any queries, or support requests, please email us at [email protected], or join our [Discord](supertokens.io/discord) server.
25+
26+
## Authors
27+
28+
Created with :heart: by the folks at SuperTokens.io.

src/lib.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#[cfg(test)]
2+
mod tests {
3+
#[test]
4+
fn it_works() {
5+
let result = 2 + 2;
6+
assert_eq!(result, 4);
7+
}
8+
}

0 commit comments

Comments
 (0)