Skip to content

Commit

Permalink
Merge pull request #7 from sevki/dev
Browse files Browse the repository at this point in the history
remove dupe file
  • Loading branch information
sevki committed Mar 13, 2024
2 parents a3790f5 + 54d69c7 commit d47cc89
Show file tree
Hide file tree
Showing 19 changed files with 5 additions and 3,116 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
# JetStream [![crates.io](https://img.shields.io/crates/v/jetstream.svg)](https://crates.io/crates/jetstream) [![docs.rs](https://docs.rs/jetstream/badge.svg)](https://docs.rs/jetstream) <!--gh actions--> ![Build Status](https://github.com/sevki/jetstream/actions/workflows/rust.yml/badge.svg) ![Build Status](https://github.com/sevki/jetstream/actions/workflows/release.yml/badge.svg)


JetStream is an RPC framework built on top of s2n-quic and p9.
JetStream is an RPC framework built on top of [s2n-quic](https://crates.io/crates/s2n-quic) and [p9](https://crates.io/crates/p9). It's designed to be a high performance, low latency, secure, and reliable RPC framework.

Features:

- Bidirectional streaming
- 0-RTT
- mTLS
- [mTLS](https://github.com/aws/s2n-quic/tree/main/examples/s2n-mtls)
- binary encoding

## Motivation
Expand Down
4 changes: 2 additions & 2 deletions src/log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ fn get_module_colour(module: &str) -> Color {
color
}

pub fn setup_logging() -> Logger {
pub(crate) fn setup_logging() -> Logger {
let x = drain();

slog::Logger::root(x, slog_o!())
}

pub fn drain() -> slog::Fuse<
pub(crate) fn drain() -> slog::Fuse<
slog_term::FullFormat<slog_term::PlainSyncDecorator<std::io::Stdout>>,
> {
let plain = slog_term::PlainSyncDecorator::new(std::io::stdout());
Expand Down
1 change: 1 addition & 0 deletions src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ use tower::Service;

pub use jetstream_p9_wire_format_derive::P9WireFormat;

/// Message trait for JetStream messages, which need to implement the `WireFormat` trait.
pub trait Message: WireFormat + Send + Sync {}

/// A trait for implementing a 9P service.
Expand Down
199 changes: 0 additions & 199 deletions src/src/async_wire_format.rs

This file was deleted.

9 changes: 0 additions & 9 deletions src/src/client/client_tests.rs

This file was deleted.

Loading

0 comments on commit d47cc89

Please sign in to comment.