pub struct CsprojParser;Expand description
Parser for SDK-style *.csproj files (NuGet PackageReference).
Handles:
<PackageReference Include="Name" Version="1.0" /><PackageReference Include="Name"><Version>1.0</Version></PackageReference>
Implementations§
Source§impl CsprojParser
impl CsprojParser
Sourcepub fn parse_content(content: &str) -> Result<ParsedManifest, ManifestError>
pub fn parse_content(content: &str) -> Result<ParsedManifest, ManifestError>
Parse a .csproj file content directly (for extension-based dispatch).
Trait Implementations§
Source§impl ManifestParser for CsprojParser
impl ManifestParser for CsprojParser
Auto Trait Implementations§
impl Freeze for CsprojParser
impl RefUnwindSafe for CsprojParser
impl Send for CsprojParser
impl Sync for CsprojParser
impl Unpin for CsprojParser
impl UnsafeUnpin for CsprojParser
impl UnwindSafe for CsprojParser
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more