Skip to content

issues Search Results · repo:kdl-org/kdl-rs language:Rust

Filter by

69 results
 (70 ms)

69 results

inkdl-org/kdl-rs (press backspace or delete to remove)

Here s some test code: use kdl::{KdlDocument, KdlNode}; #[test] fn keywords() - miette::Result () { let mut node = KdlNode::new( null ); node.insert( inf , -inf ); node.push( nan ); ...
  • sodiboo
  • Opened 
    yesterday
  • #132

Here s some test code: use kdl::KdlDocument; use miette::Context; #[test] fn long_int_v1() - miette::Result () { let mut str = String::from( - ); for i in 1..1000 { str += 1 ; ...
  • sodiboo
  • Opened 
    yesterday
  • #131

I want to create a numeric KDL entry with arbitrary precision (converting to KDL), like so: let mut entry = KdlEntry::new(KdlValue::Float(0.0)); entry.set_format(KdlEntryFormat { value_repr: some_potentially_really_long_numeric_string, ...
  • sodiboo
  • Opened 
    yesterday
  • #130

From what I can tell, I think we can put all miette support behind a feature flag, allowing the crate to be used with 1 less required dependency. I m happy to send a PR when I have more time if this idea ...
  • QnnOkabayashi
  • Opened 
    on Jun 10
  • #128

When constructing a KdlEntry with a string value (regardless of whether or not that string contains a new-line), it is unclear to me as the caller how to tell the entry s format to use a single line vs ...
  • temportalflux
  • 4
  • Opened 
    on Mar 8
  • #121

I have this piece of code: let mut doc: KdlDocument = bytes.parse()?; doc.ensure_v2(); for node: KdlNode in doc.nodes() { info!( Node span: {:?} , node.name().span()); } This prints out 0, 0 as span ...
  • TheNeikos
  • 3
  • Opened 
    on Jan 29
  • #118

Compiling kdl v6.3.2 error[E0432]: unresolved import `winnow::LocatingSlice` -- /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kdl-6.3.2/src/v2_parser.rs:19:5 | 19 | LocatingSlice, ...
  • ck3mp3r
  • 6
  • Opened 
    on Jan 21
  • #117

I m still working on #83, but it s occurred to me that, whilst having serde support for simple config and data files is ideal, I m actually using kdl to write more complex configuration files with logic ...
enhancement
  • TheLostLambda
  • 3
  • Opened 
    on Jan 19
  • #116

n{bar} succeeds with v2 (no v1 features enabled) even though it should fail due to a lack of space
  • eugenesvk
  • Opened 
    on Jan 12
  • #114

We should ship an LSP server (as a separate binary crate, shipped with cargo-dist). For now, just having syntactic diagnostics is enough, but we ll eventually want to have KDL Schema support for additional ...
  • zkat
  • 1
  • Opened 
    on Jan 9
  • #113
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub