rskit-server 0.2.0-alpha.1

Service-facing server abstractions and lifecycle-managed transports for rskit
Documentation
1
2
3
4
5
6
7
8
9
10
11
/// Integration tests for rskit-server.
/// Full gRPC server integration tests require a live listener and are
/// marked `#[ignore]`. Run with `cargo test -- --ignored` when a
/// test gRPC server is available.
use rskit_server::config::GrpcServerConfig;

#[test]
fn default_config_is_valid() {
    let cfg = GrpcServerConfig::default();
    assert_eq!(cfg.port, 50051);
}