mirror of
https://github.com/xqtc161/meowlog.git
synced 2024-11-21 17:30:34 +01:00
Server
This commit is contained in:
parent
3871fe206c
commit
8960c3b1df
7
server/Cargo.toml
Normal file
7
server/Cargo.toml
Normal file
|
@ -0,0 +1,7 @@
|
|||
[package]
|
||||
name = "meowlog-server"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
tonic = "0.4.0"
|
6
server/src/main.rs
Normal file
6
server/src/main.rs
Normal file
|
@ -0,0 +1,6 @@
|
|||
use tonic;
|
||||
|
||||
fn main() {
|
||||
let addr = "[::1]:50051".parse();
|
||||
println!("Hello, world!");
|
||||
}
|
Loading…
Reference in a new issue