heroforge-core 0.2.2

Pure Rust core library for reading and writing Fossil SCM repositories
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Server builders for hosting repositories.

#[cfg(feature = "sync-quic")]
mod quic;

#[cfg(feature = "sync-quic")]
pub use self::quic::QuicServerBuilder;

/// Entry point for creating sync servers.
pub struct Server;

impl Server {
    /// Create a QUIC server.
    #[cfg(feature = "sync-quic")]
    pub fn quic() -> QuicServerBuilder {
        QuicServerBuilder::new()
    }
}