blob: c44152a8148ea2f02936cf48f996eb6065c99fa9 [file] [log] [blame]
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//! A networking stack.
#![deny(missing_docs)]
#![deny(unreachable_patterns)]
#![recursion_limit = "256"]
mod bindings;
use bindings::NetstackSeed;
#[fuchsia::main(logging_minimum_severity = "debug")]
fn main() -> Result<(), anyhow::Error> {
let mut executor = fuchsia_async::LocalExecutor::new()?;
let seed = NetstackSeed::default();
executor.run_singlethreaded(seed.serve())
}