Samuel Dai 40d9375b6b
ready for merge in master (#964)
uevent should be format

Enum of smoltcp socket should be optimized.

need to add interface for routing subsys

actix is still not abled to run.

clean some casual added code to other places
2024-10-10 17:53:39 +08:00

786 B
Raw Blame History

DragonOS Rust-Application Template

您可以使用此模板来创建DragonOS应用程序。

使用方法

  1. 使用DragonOS的tools目录下的bootstrap.sh脚本初始化环境
  2. 在终端输入cargo install cargo-generate
  3. 在终端输入cargo generate --git https://github.com/DragonOS-Community/Rust-App-Template即可创建项目 如果您的网络较慢,请使用镜像站cargo generate --git https://git.mirrors.dragonos.org/DragonOS-Community/Rust-App-Template
  4. 使用cargo run来运行项目
  5. 在DragonOS的user/dadk/config目录下,使用dadk new命令,创建编译配置,安装到DragonOS的/目录下。 (在dadk的编译命令选项处请使用Makefile里面的make install配置进行编译、安装)
  6. 编译DragonOS即可安装