ITADN

Compiler Error with proxy feature

#2991Closedmsrd0 创建于 2026-03-06
M
msrd0commented
<!-- Welcome! Thank you for reporting bugs! First of all, please star our repo. Your support is vital to the continued maintenance of SeaORM. Want to ask a question? You can reach us via: - Discord: https://discord.com/invite/uCPdDXzbdv - GitHub Discussions: https://github.com/SeaQL/sea-orm/discussions/new Please make sure that you are not asking for a missing feature; a bug is incorrect behavior - either in the feature specification or implementation. Feature requests should be first raised in discussions. Please also make sure your description is clear and precise - maintainers don't have access to your code and can't see what you have seen. Please avoid vague descriptions like "they are different" or "the program crashes" - in either case, provide exact information. If you are certain there is a bug, please provide a reproducible example, which helps the investigator to pin-point the bug and the implementor to verify that a solution is satisfactory. Bug reports without reproducible example may be closed or dangle forever. Finally, please search for existing issues and discussions before submission. Feel free to revive old threads if you have new information to add, but please don't ask for ETA or "+1". --> ## Description ``` $ git checkout 1.1.19 $ cargo build --no-default-features --features proxy Compiling serde_json v1.0.149 error: serde_json requires that either `std` (default) or `alloc` feature is enabled --> /usr/local/share/rust/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.149/src/lib.rs:373:1 | 373 | / compile_error! { 374 | | "serde_json requires that either `std` (default) or `alloc` feature is enabled" 375 | | } | |_^ error: could not compile `serde_json` (lib) due to 1 previous error ``` ## Steps to Reproduce sea above ### Expected Behavior no error ### Actual Behavior error ### Reproduces How Often turns out, compilers are actually deterministic ### Workarounds add serde-json dependency manually and enable their std feature ## Versions git tag 1.1.19 of this very repository
关闭于 2026-03-08 0 条评论