Skip to content

Conversation

@chmp
Copy link
Owner

@chmp chmp commented Apr 2, 2025

Todo:

  • Improve error handling for derive macro (in particular for parsing the attributes)
  • Implement equivalent to TracingOptions::enums_without_data_as_strings
  • Verify all TracingOptions can be mapped
  • Add impls for common crates (chrono, decimals, jiff, uuid, ...)
  • Add docs (in particular how to implement for custom types)
  • Add impls for std lib types following Serde
    • primitive
      • ()
      • bool
      • i8, i16, i32, i64,
      • i128, isize
      • u8, u16, u32, u64
      • u128, usize
      • f16, f32, f64
      • char
      • str
      • &T and &mut T
    • compound
      • [T]
      • [T; 0] through [T; 32]
      • tuples up to size 16
    • common:
      • String
      • Option
      • Result<T, E>
    • wrapper:
      • PhantomData
      • Box
      • Cow<’a, T>
      • Cell
      • RefCell
      • Mutex
      • RwLock
      • Rc (if features = [“rc”] is enabled)
      • Arc (if features = [“rc”] is enabled)
    • collections:
      • BTreeMap<K, V>
      • BTreeSet
      • BinaryHeap
      • HashMap<K, V, H>
      • HashSet<T, H>
      • LinkedList
      • VecDeque
      • Vec
      • Duration
      • SystemTime
      • Path
      • PathBuf
      • Range
      • RangeInclusive
      • Bound
      • num::NonZero*
      • Atomic*
      • IpAddr
      • Ipv4Addr
      • Ipv6Addr
      • SocketAddr
      • SocketAddrV4
      • SocketAddrV6
      • ! (unstable)
    • FFI:
      • CStr
      • CString
      • OsStr
      • OsString

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants