Searched refs:toml (Results 1 – 25 of 40) sorted by relevance
12
41 let toml = r#" in test_all_architectures() localVariable53 let config: GrubConfig = toml::from_str(toml).unwrap(); in test_all_architectures()62 let toml = r#" in test_default_timeout() localVariable67 let config: GrubConfig = toml::from_str(toml).unwrap(); in test_default_timeout()73 let toml = r#" in test_custom_timeout() localVariable79 let config: GrubConfig = toml::from_str(toml).unwrap(); in test_custom_timeout()85 let toml = r#" in test_no_architectures() localVariable88 let config: GrubConfig = toml::from_str(toml).unwrap(); in test_no_architectures()
43 let config: BootConfigFile = toml::from_str(content)?; in load_from_str()
63 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()
2 # Named `dadk-manifest.toml`9 hypervisor-config = "config/hypervisor.toml"12 rootfs-config = "config/rootfs.toml"15 boot-config = "config/boot.toml"
102 最后,在DragonOS仓库的`user/dadk/config`目录下创建一个`myapp.toml`文件:106 touch myapp.toml109 在`myapp.toml`文件中写入以下内容,用于描述你的应用的构建方式:111 ```toml154 …整的模版请见:[userapp_config.toml](https://github.com/DragonOS-Community/DADK/blob/main/dadk-config/temp…
33 toml::Value::Integer(num) => { in deserialize_size() 37 toml::Value::String(s) => { in deserialize_size()
33 toml::Value::Integer(num) => { in deserialize_size()37 toml::Value::String(s) => { in deserialize_size()
20 toml = "0.8.12"
18 toml = "0.8.12"
9 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...]
9 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...]
6 # More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
44 let partition_config: PartitionConfig = toml::from_str(config_content).unwrap(); in test_parse_partition_type()