-
| I'd like to e.g., list all structs that implement a certain trait within a crate programmatically for new tooling I'm developing, separate from an IDE. Ideally I'd use the LSP, but I can use the Rust API. Where to start? | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            lnicola
          
      
      
        May 10, 2023 
      
    
    Replies: 1 comment 8 replies
-
| Before trying that, you should also make sure that the JSON output of rustdoc and our LSIF index don't provide enough information. | 
Beta Was this translation helpful? Give feedback.
                  
                    8 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Don't think so, but try
cargo +nightly rustdoc --package=$package -- -Z unstable-options --output-format=jsonandrust-analyzer lsif .in a project.