oceanpkg 0.0.11

Client library for the Ocean package manager.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::drop::Metadata;

/// A package for a library of a given language.
#[derive(Clone, Debug)]
pub struct Lib {
    metadata: Metadata,
}

impl Lib {
    /// Returns basic metadata for the drop.
    #[inline]
    pub const fn metadata(&self) -> &Metadata {
        &self.metadata
    }
}