lib

Core libraries for Radroots
git clone https://radroots.dev/git/lib.git
Log | Files | Refs | README

lib.rs (1853B)


      1 #![doc = include_str!("../README")]
      2 #![forbid(unsafe_code)]
      3 
      4 mod context;
      5 mod conventions;
      6 mod error;
      7 mod identifier;
      8 mod platform;
      9 mod provision;
     10 mod roots;
     11 mod service;
     12 
     13 pub use context::{
     14     RuntimeContext, RuntimeContextBootstrap, RuntimeContextError, RuntimeContextSource,
     15     RuntimeContextSources,
     16 };
     17 pub use conventions::{
     18     DEFAULT_CONFIG_FILE_NAME, DEFAULT_SHARED_GEONAMES_NAMESPACE,
     19     DEFAULT_SHARED_GEONAMES_NAMESPACE_KIND, DEFAULT_SHARED_GEONAMES_NAMESPACE_VALUE,
     20     DEFAULT_SHARED_RUNTIME_STORE_DB_FILE_NAME, DEFAULT_SHARED_RUNTIME_STORE_NAMESPACE,
     21     DEFAULT_SHARED_RUNTIME_STORE_NAMESPACE_KIND, DEFAULT_SHARED_RUNTIME_STORE_NAMESPACE_VALUE,
     22     RadrootsServiceInstanceArtifacts, SERVICE_ADMIN_SOCKET_FILE_NAME,
     23     SERVICE_CREDENTIAL_ARTIFACT_NAME_MAX_BYTES, SERVICE_STATE_DATABASE_FILE_NAME,
     24     SERVICE_STATE_LOCK_FILE_NAME, ServiceCredentialArtifactName,
     25     ServiceCredentialArtifactNameError, default_service_instance_artifacts,
     26     default_shared_geonames_database_file_name,
     27     default_shared_geonames_database_path_from_cache_root,
     28     default_shared_geonames_root_from_cache_root,
     29     default_shared_runtime_store_database_path_from_data_root,
     30     default_shared_runtime_store_database_path_from_shared_accounts_data_root,
     31     default_shared_runtime_store_root_from_data_root,
     32     default_shared_runtime_store_root_from_shared_accounts_data_root,
     33     service_credential_artifact_path,
     34 };
     35 pub use error::RadrootsRuntimePathsError;
     36 pub use identifier::{
     37     INSTANCE_ID_MAX_BYTES, InstanceId, SERVICE_ID_MAX_BYTES, ServiceId, ServiceIdentityError,
     38     ServiceIdentityKind,
     39 };
     40 pub use platform::{RadrootsHostEnvironment, RadrootsPathProfile, RadrootsPlatform};
     41 pub use provision::{RuntimeStateDirectoryPlan, StateDirectoryProvisionError};
     42 pub use roots::RadrootsPathResolver;
     43 pub use service::RadrootsServiceInstancePaths;