toml Questions

2

I'm writing a scanner in python that will gather various information about a target such as open ports, version info and so on. Also using a toml file that holds configuration settings for individu...
Americano asked 2/7, 2020 at 6:52

1

The scenario is the following: my crate has a dependency on num-bigint, and an optional dependency on rand: [dependencies] num-bigint = { version = "0.2" } rand = { version = "0.7", optional...
Bloodthirsty asked 7/4, 2020 at 22:18

1

Solved

I write dependencies of Cargo.toml : [dependencies ] opencv = {version = "0.26", default-features = false, features = ["opencv-41"]} Above one line can pass compilation. I want to seperate line...
Ovida asked 8/12, 2019 at 4:58

1

Solved

MVCE: use std::collections::HashMap; use std::fmt; use std::marker::PhantomData; use std::str::FromStr; use serde; // 1.0.85 use serde::de::{self, MapAccess, Visitor}; // 1.0.85 use serde_derive:...
Outfit asked 19/2, 2019 at 8:30

1

Solved

I'm trying to read a TOML file to create a struct that contains a vector of enums with associated values. Here's the sample code: extern crate serde; #[macro_use] extern crate serde_derive; extern...
Soni asked 6/2, 2018 at 11:6

2

Solved

How to define a map in TOML? For example, I want to define something like: [FOO] Usernames_Passwords='{"user1":"pass1","user2":"pass2"}' and then in go con...
Bridwell asked 20/12, 2016 at 12:52

1

Solved

I have collected all my data into a vector and I need to create a TOML file with that data. I have managed to create and open a file: let mut file = try!(File::create("servers.toml")); My vector...
Bennettbenni asked 15/7, 2016 at 22:5

© 2022 - 2024 — McMap. All rights reserved.