Skip to content

Commit

Permalink
chore: API restructuring.
Browse files Browse the repository at this point in the history
  • Loading branch information
irfanghat committed Nov 13, 2024
1 parent 8ca02c4 commit f73a7ad
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
1 change: 0 additions & 1 deletion examples/cpp/list_all_services/list_all_services.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// #include "librender_cdk"
#include <iostream>

int main() { std::cout << "[Compilation] successful!" << std::endl; }
1 change: 0 additions & 1 deletion llvm_ir/.gitkeep

This file was deleted.

4 changes: 0 additions & 4 deletions render_cdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ tokio = { version = "1.37.0", features = ["full"] }
toml = "0.8.14"
url = "2.5.0"

[lib]
name = "render_cdk"
path = "src/lib.rs"

[profile.release]
debug = false

Expand Down
5 changes: 5 additions & 0 deletions render_cdk/include/mylib.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#include <cstdarg>
#include <cstdint>
#include <cstdlib>
#include <ostream>
#include <new>
3 changes: 2 additions & 1 deletion render_cdk/src/state_management/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pub struct Owner {
pub id: String,
pub name: String,
pub email: String,
pub twoFactorAuthEnabled: bool,
pub twoFactorAuthEnabled: Option<bool>,
#[serde(rename = "type")]
pub type_: String,
}
Expand Down Expand Up @@ -125,6 +125,7 @@ mod state_tests {
let owner_credentials = EnvironmentManager::retrieve_env_config().OWNER_CREDENTIALS;
let result = Owner::list_authorized_users(&owner_credentials, "100").await;

println!("{:?}", result);
// The result should be Ok().
assert!(result.is_ok());
}
Expand Down

0 comments on commit f73a7ad

Please sign in to comment.