Martin André
Martin André
We might want to switch to https://docs.rs/serde_qs/0.8.1/serde_qs/ ? Which does return the correct value from the string. Exemple: ```rust #[derive(Debug, serde::Deserialize)] struct FormData { text: Option, number: Option, } fn...
I think your solution is pretty neat but do you think this kind of problem should be handled by the user/developer using actix-web instead of having actix-web handle it for...
@monajafi Hi, do you have any link/project where I can see how you replaced LDS by Room? I'm having some issue with LDS and his speed for a project. Thanks...
> The list of `pub mod`s should be kept sorted alphabetically, the new Done :)
_note: this PR will fail until socket2 make a new release with the new Protocol::MPTCP, but the content can still be reviewed_ (see https://github.com/rust-lang/socket2/commit/4c436818cddec880c26c4e79aca7106ba88827ff)
Hey @mrmonday , sorry for the very very late reply and update on this. Just came back to this and still think this can be helpful to have in the...
Here you go: (I'll make a PR to add an example) ```rs let ipv4_packet: Ipv4Packet = Ipv4Packet::new(ethernet.payload()).unwrap(); let udp_packet: UdpPacket = UdpPacket::new(ipv4_packet.payload()).unwrap(); let dhcp_packet: DhcpPacket = DhcpPacket::new(udp_packet.payload()).unwrap() ```
Afaik, you can't create a socket with `eth_p_all` if you're non-root. Solution would be to give your app root access or to switch to using a VPN-like API from Android...
The goal of this (I suppose you use datalink), is to get all packets. And afaik there's not other way (at least, not without root permission). Raw sockets provide unrestricted...
Unfortunately, the `socket2` version needed is the `0.5`. I see there was a comment `# TODO(MSRV 1.64) update to 0.5`. What is the status on that? (cc @robjtede) This is...