Home
last modified time | relevance | path

Searched refs:toml (Results 1 – 25 of 40) sorted by relevance

12

/DADK/dadk-config/src/boot/
H A Dgrub.rs41 let toml = r#" in test_all_architectures() localVariable
53 let config: GrubConfig = toml::from_str(toml).unwrap(); in test_all_architectures()
62 let toml = r#" in test_default_timeout() localVariable
67 let config: GrubConfig = toml::from_str(toml).unwrap(); in test_default_timeout()
73 let toml = r#" in test_custom_timeout() localVariable
79 let config: GrubConfig = toml::from_str(toml).unwrap(); in test_custom_timeout()
85 let toml = r#" in test_no_architectures() localVariable
88 let config: GrubConfig = toml::from_str(toml).unwrap(); in test_no_architectures()
H A Dmod.rs43 let config: BootConfigFile = toml::from_str(content)?; in load_from_str()
H A Dmetadata.rs63 fn parse_boot_metadata(toml_str: &str) -> Result<BootMetadata, toml::de::Error> { in parse_boot_metadata()
64 toml::from_str(toml_str) in parse_boot_metadata()
/DADK/dadk-config/templates/
H A Ddadk-manifest.toml2 # Named `dadk-manifest.toml`
9 hypervisor-config = "config/hypervisor.toml"
12 rootfs-config = "config/rootfs.toml"
15 boot-config = "config/boot.toml"
H A Ddadk-manifest.toml2 # Named `dadk-manifest.toml`
9 hypervisor-config = "config/hypervisor.toml"
12 rootfs-config = "config/rootfs.toml"
15 boot-config = "config/boot.toml"
H A Ddadk-manifest.toml2 # Named `dadk-manifest.toml`
9 hypervisor-config = "config/hypervisor.toml"
12 rootfs-config = "config/rootfs.toml"
15 boot-config = "config/boot.toml"
H A Ddadk-manifest.toml2 # Named `dadk-manifest.toml`
9 hypervisor-config = "config/hypervisor.toml"
12 rootfs-config = "config/rootfs.toml"
15 boot-config = "config/boot.toml"
/DADK/dadk-user/src/parser/
H A Dconfig.rs
H A Dconfig.rs
/DADK/tests/data/
H A Ddadk-manifest.toml2 # Named `dadk-manifest.toml`
9 hypervisor-config = "config/hypervisor.toml"
12 rootfs-config = "config/rootfs.toml"
15 boot-config = "config/boot.toml"
/DADK/docs/user-manual/
H A Dquickstart.md102 最后,在DragonOS仓库的`user/dadk/config`目录下创建一个`myapp.toml`文件:
106 touch myapp.toml
109 在`myapp.toml`文件中写入以下内容,用于描述你的应用的构建方式:
111 ```toml
154 …整的模版请见:[userapp_config.toml](https://github.com/DragonOS-Community/DADK/blob/main/dadk-config/temp…
/DADK/dadk-config/src/rootfs/utils/
H A Dsize.rs33 toml::Value::Integer(num) => { in deserialize_size()
37 toml::Value::String(s) => { in deserialize_size()
H A Dsize.rs33 toml::Value::Integer(num) => { in deserialize_size()
37 toml::Value::String(s) => { in deserialize_size()
/DADK/dadk-config/
H A DCargo.toml20 toml = "0.8.12"
H A DCargo.toml20 toml = "0.8.12"
H A DCargo.toml20 toml = "0.8.12"
/DADK/dadk-user/
H A DCargo.toml18 toml = "0.8.12"
H A DCargo.toml18 toml = "0.8.12"
H A DCargo.toml18 toml = "0.8.12"
H A DCargo.toml18 toml = "0.8.12"
/DADK/dadk-config/src/
H A Dmanifest.rs9 use toml;
31 let mut manifest_toml: DadkManifestFile = toml::from_str(content)?; in do_load()
94 "config/rootfs.toml".into() in test_load_invalid_arch_toml()
100 "config/hypervisor.toml".into() in test_load_invalid_arch_toml()
106 "config/boot.toml".into()
138 rootfs-config = "config/rootfs-x86_64.toml"
139 hypervisor-config = "config/hypervisor-x86_64.toml"
140 boot-config = "config/boot-x86_64.toml"
155 PathBuf::from("config/rootfs-x86_64.toml")
159 PathBuf::from("config/hypervisor-x86_64.toml")
[all...]
H A Dmanifest.rs9 use toml;
31 let mut manifest_toml: DadkManifestFile = toml::from_str(content)?; in load_from_str()
94 "config/rootfs.toml".into() in default_boot_config_path()
100 "config/hypervisor.toml".into() in default_sysroot_dir()
106 "config/boot.toml".into()
138 rootfs-config = "config/rootfs-x86_64.toml" in test_full_load_success()
139 hypervisor-config = "config/hypervisor-x86_64.toml" in test_full_load_success()
140 boot-config = "config/boot-x86_64.toml" in test_full_load_success()
155 PathBuf::from("config/rootfs-x86_64.toml")
159 PathBuf::from("config/hypervisor-x86_64.toml") in test_load_invalid_toml()
[all...]
/DADK/
H A D.gitignore6 # More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
/DADK/dadk-config/src/rootfs/
H A Dpartition.rs44 let partition_config: PartitionConfig = toml::from_str(config_content).unwrap(); in test_parse_partition_type()
H A Dpartition.rs44 let partition_config: PartitionConfig = toml::from_str(config_content).unwrap(); in test_parse_partition_type()

12